From: Jakub Kicinski <kuba@kernel•org>
To: davem@davemloft•net, michael.chan@broadcom•com
Cc: netdev@vger•kernel.org, edwin.peer@broadcom•com,
Jakub Kicinski <kuba@kernel•org>
Subject: [PATCH net-next v4 0/2] bnxt: add rx discards stats for oom and netpool
Date: Fri, 27 Aug 2021 08:27:43 -0700 [thread overview]
Message-ID: <20210827152745.68812-1-kuba@kernel.org> (raw)
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
next reply other threads:[~2021-08-27 15:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-27 15:27 Jakub Kicinski [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210827152745.68812-1-kuba@kernel.org \
--to=kuba@kernel$(echo .)org \
--cc=davem@davemloft$(echo .)net \
--cc=edwin.peer@broadcom$(echo .)com \
--cc=michael.chan@broadcom$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox