linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] eth: fbnic: Fix drop stats support
@ 2025-08-02  2:46 Mohsin Bashir
  2025-08-02  2:46 ` [PATCH net 1/2] eth: fbnic: Fix tx_dropped reporting Mohsin Bashir
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mohsin Bashir @ 2025-08-02  2:46 UTC (permalink / raw)
  To: netdev
  Cc: alexanderduyck, andrew+netdev, davem, edumazet, horms,
	kernel-team, kuba, linux-kernel, mohsin.bashr, pabeni, sdf,
	vadim.fedorenko

Fix hardware drop stats support on the TX path of fbnic by addressing two
issues: ensure that tx_dropped stats are correctly copied to the
rtnl_link_stats64 struct, and protect the copying of drop stats from
fdb->hw_stats to the local variable with the hw_stats_lock to
ensure consistency.

Mohsin Bashir (2):
  eth: fbnic: Fix tx_dropped reporting
  eth: fbnic: Lock the tx_dropped update

 drivers/net/ethernet/meta/fbnic/fbnic_netdev.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-08-05 23:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-02  2:46 [PATCH net 0/2] eth: fbnic: Fix drop stats support Mohsin Bashir
2025-08-02  2:46 ` [PATCH net 1/2] eth: fbnic: Fix tx_dropped reporting Mohsin Bashir
2025-08-04 11:14   ` Simon Horman
2025-08-02  2:46 ` [PATCH net 2/2] eth: fbnic: Lock the tx_dropped update Mohsin Bashir
2025-08-04 11:12   ` Simon Horman
2025-08-05 23:20 ` [PATCH net 0/2] eth: fbnic: Fix drop stats support patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).