eth: bnxt: handle invalid Tx completions more gracefully
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyApplied 3/3
- v13 patches 15 repliesSuperseded
Changes in v2 from the cover letter
- factor out the reset scheduling
- also add a check on the XDP path
v1: https://lore.kernel.org/all/[email protected]/
Patches in v2 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | eth: bnxt: move and rename reset helpersdrivers/ | +36 | 0 replies | Applied |
| 2/3 | eth: bnxt: take the bit to set as argument of bnxt_queue_sp_work()drivers/ | +26 | 0 replies | Applied |
| 3/3 | eth: bnxt: handle invalid Tx completions more gracefullydrivers/ drivers/ drivers/ | +31 | 0 replies | Applied |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Michael Chan |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/3] eth: bnxt: handle invalid Tx completions more gracefully
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.
v2:
- factor out the reset scheduling
- also add a check on the XDP path
v1: https://lore.kernel.org/all/[email protected]/
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 | 154 ++++++++++-------- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 3 + drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c | 4 + 3 files changed, 91 insertions(+), 70 deletions(-)
Signature · 1 line
2.41.0