eth: fbnic: miscellaneous driver fixes
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 5 repliesApplied 5/5
- v14 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- Add .get_ts_stats() support to netdevsim
- v1: https://lore.kernel.org/all/[email protected]/
Patches in v2 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | eth: fbnic: wait on the correct queues in fbnic_queue_stop()drivers/ | +10 | 2 replies | Applied |
| 2/5 | eth: fbnic: skip disabled Tx rings when setting the queue NAPIdrivers/ | +6 | 1 reply | Applied |
| 3/5 | eth: fbnic: skip freed Tx rings in fbnic_get_ts_stats()drivers/ | +3 | 1 reply | Applied |
| 4/5 | netdevsim: report fake timestamping statsdrivers/ | +9 | 0 replies | Applied |
| 5/5 | selftests: drv-net: stats: query timestamping stats while downtools/ | +24 | 1 reply | Applied |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Björn Töpel |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net v2 0/5] eth: fbnic: miscellaneous driver fixes
From: Dimitri Daskalakis <[email protected]>
AI identified several bugs while I was working on unrelated parts of the driver. fbnic_queue_stop() always waits on queue 0 to idle for rx queues. fbnic_get_ts_stats() dereferences a NULL pointer when the interface is down. And fbnic_{set|reset}_netif_napi does not account for disabled rings.
All bugs were verified on HW, and a new stats selftest was added to identify other drivers with the same timestamp stats mishandling.
v2:
- Add .get_ts_stats() support to netdevsim
- v1: https://lore.kernel.org/all/[email protected]/
Dimitri Daskalakis (5):
eth: fbnic: wait on the correct queues in fbnic_queue_stop()
eth: fbnic: skip disabled Tx rings when setting the queue NAPI
eth: fbnic: skip freed Tx rings in fbnic_get_ts_stats()
netdevsim: report fake timestamping stats
selftests: drv-net: stats: query timestamping stats while down
.../net/ethernet/meta/fbnic/fbnic_ethtool.c | 3 +++ drivers/net/ethernet/meta/fbnic/fbnic_txrx.c | 20 ++++++++++++--- drivers/net/netdevsim/ethtool.c | 9 +++++++ tools/testing/selftests/drivers/net/stats.py | 25 ++++++++++++++++++- 4 files changed, 52 insertions(+), 5 deletions(-)
Signature · 1 line
2.52.1