commit | f1852d64ba0af0e6916e81f16349dbf75f5dd9b0 | [log] [tgz] |
---|---|---|
author | Sameeh Jubran <sameehj@amazon.com> | Thu Sep 10 13:07:10 2020 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 10 15:12:27 2020 -0700 |
tree | f31c29cc930506e998de55d190fb0908f282f396 | |
parent | e54846581891b8cf1c8c903a4feae65a5aa27ed5 [diff] |
net: ena: ethtool: convert stat_offset to 64 bit resolution The type of all stat fields is u64, therefore when iterating over stat fields in a stats struct, it makes sense to use an offset in 64 bit resolution. Doing so allows us to drop some of the casting that is currently used when referencing stats. Signed-off-by: Sameeh Jubran <sameehj@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>