mbox series

[net-next,v3,0/3] bnxt: add rx discards stats for oom and netpool

Message ID 20210826131224.2770403-1-kuba@kernel.org
Headers show
Series bnxt: add rx discards stats for oom and netpool | expand

Message

Jakub Kicinski Aug. 26, 2021, 1:12 p.m. UTC
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(-)