Skip to content

net: ibmveth: Make ibmveth use new reset function and new KUnit testsg

Dave Marquardt linuxppc-dev netdev 2 versions – Applied

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

  1. v4 Latest3 patches 0 repliesApplied 3/3
  2. v33 patches 6 repliesSuperseded

Changes from the cover letter

v4: Addressed Jakub Kicinski's review comment: added missing work queue cancel in ibmveth_remove
v3: Addressed Simon Horman's review comments
- Reworded commit message for ibmveth_reset and WARN_ON changes
- Fixed broken kernel-doc comments
- Fixed struct ibmveth_adapter as a separate patch before ibmveth_reset and WARN_ON changes
v2: Addressed Michal Swiatkowski's review comments
- Split into multiple patches
- Used a more descriptive label

Patches in v4 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: ibmveth: Indented struct ibmveth_adapter correctlydrivers/net/ethernet/ibm/ibmveth.h+32 -320 repliesApplied
2/3net: ibmveth: Reset the adapter when unexpected states are detecteddrivers/net/ethernet/ibm/ibmveth.c drivers/net/ethernet/ibm/ibmveth.h+100 -190 repliesApplied
3/3net: ibmveth: added KUnit tests for some buffer pool functionsdrivers/net/ethernet/ibm/Kconfig drivers/net/ethernet/ibm/ibmveth.c+142 -00 repliesApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchSimon HormanMichal Swiatkowski
1/3R-b R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] net: ibmveth: Make ibmveth use new reset function and new KUnit testsg

- Fixed struct ibmveth_adapter indentation
- Made ibmveth driver use WARN_ON with recovery rather than BUG_ON. Some recovery code schedules a reset through new function ibmveth_reset. Also removed a conflicting and unneeded forward declaration.
- Added KUnit tests for some areas changed by the WARN_ON changes.

Changes:
v4: Addressed Jakub Kicinski's review comment: added missing work queue cancel in ibmveth_remove
v3: Addressed Simon Horman's review comments
- Reworded commit message for ibmveth_reset and WARN_ON changes
- Fixed broken kernel-doc comments
- Fixed struct ibmveth_adapter as a separate patch before ibmveth_reset and WARN_ON changes
v2: Addressed Michal Swiatkowski's review comments
- Split into multiple patches
- Used a more descriptive label

Dave Marquardt (3):
net: ibmveth: Indented struct ibmveth_adapter correctly
net: ibmveth: Reset the adapter when unexpected states are detected
net: ibmveth: added KUnit tests for some buffer pool functions

 drivers/net/ethernet/ibm/Kconfig   |  13 ++
 drivers/net/ethernet/ibm/ibmveth.c | 247 ++++++++++++++++++++++++++---
 drivers/net/ethernet/ibm/ibmveth.h |  65 ++++----
 3 files changed, 274 insertions(+), 51 deletions(-)
Signature · 1 line
2.49.0