netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] bnxt: add rx discards stats for oom and netpool
@ 2021-08-26  1:47 Jakub Kicinski
  2021-08-26  1:47 ` [PATCH net-next v2 1/3] bnxt: reorder logic in bnxt_get_stats64() Jakub Kicinski
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jakub Kicinski @ 2021-08-26  1:47 UTC (permalink / raw)
  To: davem, michael.chan; +Cc: netdev, olteanv, 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.

Jakub Kicinski (3):
  bnxt: reorder logic in bnxt_get_stats64()
  bnxt: count packets discarded because of netpoll
  bnxt: count discards due to memory allocation errors

 drivers/net/ethernet/broadcom/bnxt/bnxt.c     | 54 ++++++++++++++-----
 drivers/net/ethernet/broadcom/bnxt/bnxt.h     |  3 ++
 .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c |  6 +++
 3 files changed, 50 insertions(+), 13 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-08-26  6:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-26  1:47 [PATCH net-next v2 0/3] bnxt: add rx discards stats for oom and netpool Jakub Kicinski
2021-08-26  1:47 ` [PATCH net-next v2 1/3] bnxt: reorder logic in bnxt_get_stats64() Jakub Kicinski
2021-08-26  1:47 ` [PATCH net-next v2 2/3] bnxt: count packets discarded because of netpoll Jakub Kicinski
2021-08-26  6:58   ` Michael Chan
2021-08-26  1:47 ` [PATCH net-next v2 3/3] bnxt: count discards due to memory allocation errors Jakub Kicinski

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