]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
eth: fbnic: Fix tx_dropped reporting
authorMohsin Bashir <mohsin.bashr@gmail.com>
Sat, 2 Aug 2025 02:46:35 +0000 (19:46 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 5 Aug 2025 23:01:45 +0000 (16:01 -0700)
commit2972395d8fad7f4efc8555348f2f988d4941d797
treec3dba1f2f7839b0db8f21f276d91de95afd5c5ca
parente407fceeaf1b2959892b4fc9b584843d3f2bfc05
eth: fbnic: Fix tx_dropped reporting

Correctly copy the tx_dropped stats from the fbd->hw_stats to the
rtnl_link_stats64 struct.

Fixes: 5f8bd2ce8269 ("eth: fbnic: add support for TMI stats")
Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250802024636.679317-2-mohsin.bashr@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/meta/fbnic/fbnic_netdev.c