Closed Stephenxf closed 2 years ago
@Stephenxf I don't see any problem for bumping to 32768.
@Stephenxf I don't see any problem for bumping to 32768.
Thanks for prompt feedback. I'll raise a PR once I get chance to run some tests with the change.
@safchain I've raised PR #48 for this issue with test result. Please have a look. Thanks.
Hi @safchain We're hitting the
MAX_GSTRINGS
limit (current value 16384) on some of our hosts where this ethtool package is deployed.Depending on the NIC driver and some settings, the number of entries "ethtool -S" exposes can be quite different, e.g., with this mellanox NIC and driver, the number of entries goes beyond the limit.
Do you see any risk bumping up the
MAX_GSTRINGS
limit to 20480 or even 32768? If it's okay, I can run some tests and create a PR for the change. Thanks. Appreciate your effort on open-source this package.