From 96c297cb3742767b1a5c45d40f28563762ca816c Mon Sep 17 00:00:00 2001 From: ChengyuZhu6 Date: Sun, 18 Feb 2024 22:21:27 +0800 Subject: [PATCH] runtime: fix checksum mismatch error in `make vendor` Fix checksum mismatch error in `make vendor`. Fixes: #9111 Signed-off-by: ChengyuZhu6 --- src/runtime/go.sum | 2 +- src/runtime/vendor/github.com/safchain/ethtool/ethtool.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/go.sum b/src/runtime/go.sum index 4d0a907489..3347518f3d 100644 --- a/src/runtime/go.sum +++ b/src/runtime/go.sum @@ -1523,7 +1523,7 @@ github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFo github.com/ryanuber/go-glob v1.0.0/go.mod h1:807d1WSdnB0XRJzKNil9Om6lcp/3a0v4qIHxIXzX/Yc= github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= -github.com/safchain/ethtool v0.2.0 h1:tjsEsesUSlGdnUAAiIaEvk/YEycwk0k3Q6/q77qGpBI= +github.com/safchain/ethtool v0.2.0 h1:dILxMBqDnQfX192cCAPjZr9v2IgVXeElHPy435Z/IdE= github.com/safchain/ethtool v0.2.0/go.mod h1:WkKB1DnNtvsMlDmQ50sgwowDJV/hGbJSOvJoEXs1AJQ= github.com/sagikazarmark/crypt v0.1.0/go.mod h1:B/mN0msZuINBtQ1zZLEQcegFJJf9vnYIR88KRMEuODE= github.com/sanposhiho/wastedassign/v2 v2.0.6/go.mod h1:KyZ0MWTwxxBmfwn33zh3k1dmsbF2ud9pAAGfoLfjhtI= diff --git a/src/runtime/vendor/github.com/safchain/ethtool/ethtool.go b/src/runtime/vendor/github.com/safchain/ethtool/ethtool.go index ce773ea24b..2409116780 100644 --- a/src/runtime/vendor/github.com/safchain/ethtool/ethtool.go +++ b/src/runtime/vendor/github.com/safchain/ethtool/ethtool.go @@ -76,7 +76,7 @@ const ( // MAX_GSTRINGS maximum number of stats entries that ethtool can // retrieve currently. const ( - MAX_GSTRINGS = 32768 + MAX_GSTRINGS = 16384 MAX_FEATURE_BLOCKS = (MAX_GSTRINGS + 32 - 1) / 32 EEPROM_LEN = 640 PERMADDR_LEN = 32