netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] eth: bnxt: handle invalid Tx completions more gracefully
@ 2023-07-10 20:56 Jakub Kicinski
  2023-07-10 20:56 ` [PATCH net-next 1/3] eth: bnxt: move and rename reset helpers Jakub Kicinski
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Jakub Kicinski @ 2023-07-10 20:56 UTC (permalink / raw)
  To: davem; +Cc: netdev, edumazet, pabeni, michael.chan, Jakub Kicinski

bnxt trusts the events generated by the device which may lead to kernel
crashes. These are extremely rare but they do happen. For a while
I thought crashing may be intentional, because device reporting invalid
completions should never happen, and having a core dump could be useful
if it does. But in practice I haven't found any clues in the core dumps,
and panic_on_warn exists.

Series was tested by forcing the recovery path manually. Because of
how rare the real crashes are I can't confirm it works for the actual
device errors until it's been widely deployed.

Jakub Kicinski (3):
  eth: bnxt: move and rename reset helpers
  eth: bnxt: take the bit to set as argument of bnxt_queue_sp_work()
  eth: bnxt: handle invalid Tx completions more gracefully

 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 143 +++++++++++-----------
 drivers/net/ethernet/broadcom/bnxt/bnxt.h |   1 +
 2 files changed, 74 insertions(+), 70 deletions(-)

-- 
2.41.0


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

end of thread, other threads:[~2023-07-12 20:50 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-10 20:56 [PATCH net-next 0/3] eth: bnxt: handle invalid Tx completions more gracefully Jakub Kicinski
2023-07-10 20:56 ` [PATCH net-next 1/3] eth: bnxt: move and rename reset helpers Jakub Kicinski
2023-07-10 20:56 ` [PATCH net-next 2/3] eth: bnxt: take the bit to set as argument of bnxt_queue_sp_work() Jakub Kicinski
2023-07-10 20:56 ` [PATCH net-next 3/3] eth: bnxt: handle invalid Tx completions more gracefully Jakub Kicinski
2023-07-11  8:00   ` Michael Chan
2023-07-12  0:01     ` Michael Chan
2023-07-12  1:09       ` Jakub Kicinski
2023-07-12  4:11         ` Michael Chan
2023-07-12  4:24           ` Jakub Kicinski
2023-07-12  4:50             ` Michael Chan
2023-07-12 16:35               ` Jakub Kicinski
2023-07-11 10:10   ` Paolo Abeni
2023-07-12  1:19     ` Jakub Kicinski
2023-07-12  6:50       ` Paolo Abeni
2023-07-12 16:34         ` Jakub Kicinski
2023-07-12 20:31           ` Paolo Abeni
2023-07-12 20:50             ` Jakub Kicinski
2023-07-10 21:44 ` [PATCH net-next 0/3] " Michael Chan
2023-07-11  0:38   ` 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).