From cb964897a043132d6dc3d4b7f3b08fb86b373bc3 Mon Sep 17 00:00:00 2001 From: Yevgeniy Kuksenko <2882631+ykuksenko@users.noreply.github.com> Date: Tue, 18 Feb 2020 10:16:38 -0600 Subject: [PATCH] Increase max_gstrings value to 8192 Bumping value to 8192. 4096 was still not enough. --- ethtool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethtool.go b/ethtool.go index 9229c57..925b451 100644 --- a/ethtool.go +++ b/ethtool.go @@ -75,7 +75,7 @@ const ( // MAX_GSTRINGS maximum number of stats entries that ethtool can // retrieve currently. const ( - MAX_GSTRINGS = 4096 + MAX_GSTRINGS = 8192 MAX_FEATURE_BLOCKS = (MAX_GSTRINGS + 32 - 1) / 32 EEPROM_LEN = 640 PERMADDR_LEN = 32