These lines limit the number of entries in the Stats() call to 100 entries. I am currently working with Solarflare cards that will return 129 entries and the Stats() call will panic.
Is it safe to raise the limit or will the code fail in other ways when I raise it?
I did a quick test with a value of 192 and got a result from my network card, but there is some bad feeling.
Hello,
less an issue than more a question: https://github.com/safchain/ethtool/blob/master/ethtool.go#L54-L58
These lines limit the number of entries in the Stats() call to 100 entries. I am currently working with Solarflare cards that will return 129 entries and the Stats() call will panic.
Is it safe to raise the limit or will the code fail in other ways when I raise it? I did a quick test with a value of 192 and got a result from my network card, but there is some bad feeling.
Kind regards, Marcus