]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
igbvf: remove redundant counter rx_long_byte_count from ethtool statistics
authorKohei Enju <enjuk@amazon.com>
Mon, 18 Aug 2025 15:18:27 +0000 (00:18 +0900)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 3 Sep 2025 17:07:27 +0000 (10:07 -0700)
commitd07176252a4312b8010339e6e1b042ac93788ce5
tree22e12a7a5a5d88b13a955fe8eeeb244c32a49561
parent86526aa57f3f24fbac3f9887af60848f6950e3f9
igbvf: remove redundant counter rx_long_byte_count from ethtool statistics

rx_long_byte_count shows the value of the GORC (Good Octets Received
Count) register. However, the register value is already shown as
rx_bytes and they always show the same value.

Remove rx_long_byte_count as the Intel ethernet driver e1000e did in
commit 0a939912cf9c ("e1000e: cleanup redundant statistics counter").

Tested on Intel Corporation I350 Gigabit Network Connection.

Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Kohei Enju <enjuk@amazon.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igbvf/ethtool.c