]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: mana: Set tx_packets to post gso processing packet count
authorShradha Gupta <shradhagupta@linux.microsoft.com>
Tue, 17 Jun 2025 11:33:41 +0000 (04:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jun 2025 22:53:14 +0000 (23:53 +0100)
commit7399ef9840220ba59a884ad70f7db4e5e2d06c42
tree25ad4275e8163ec7088409d3314514e253d7ac24
parentdfec1c14aecee6813f9bafc7b560cc3a31d24079
net: mana: Set tx_packets to post gso processing packet count

Allow tx_packets and tx_bytes counter in the driver to represent
the packets transmitted post GSO processing.

Currently they are populated as bigger pre-GSO packets and bytes

Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microsoft/mana/mana_en.c