netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/2] bnxt: add rx discards stats for oom and netpool
@ 2021-08-27 15:27 Jakub Kicinski
  2021-08-27 15:27 ` [PATCH net-next v4 1/2] bnxt: count packets discarded because of netpoll Jakub Kicinski
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jakub Kicinski @ 2021-08-27 15:27 UTC (permalink / raw)
  To: davem, michael.chan; +Cc: netdev, edwin.peer, Jakub Kicinski

Drivers should avoid silently dropping frames. This set adds two
stats for previously unaccounted events to bnxt - packets dropped
due to allocation failures and packets dropped during emergency
ring polling.

v4: drop patch 1, not needed after simplifications

Jakub Kicinski (2):
  bnxt: count packets discarded because of netpoll
  bnxt: count discards due to memory allocation errors

 drivers/net/ethernet/broadcom/bnxt/bnxt.c      | 18 +++++++++++++++++-
 drivers/net/ethernet/broadcom/bnxt/bnxt.h      |  2 ++
 .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c  |  4 ++++
 3 files changed, 23 insertions(+), 1 deletion(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-08-28  0:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-27 15:27 [PATCH net-next v4 0/2] bnxt: add rx discards stats for oom and netpool Jakub Kicinski
2021-08-27 15:27 ` [PATCH net-next v4 1/2] bnxt: count packets discarded because of netpoll Jakub Kicinski
2021-08-27 15:27 ` [PATCH net-next v4 2/2] bnxt: count discards due to memory allocation errors Jakub Kicinski
2021-08-27 18:23 ` [PATCH net-next v4 0/2] bnxt: add rx discards stats for oom and netpool Michael Chan
2021-08-28  0:16   ` Jakub Kicinski
2021-08-27 19:00 ` Edwin Peer

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).