[PATCH net-next v3 0/3] net: ibmveth: Make ibmveth use new reset function and new KUnit tests
Dave Marquardt
davemarq at linux.ibm.com
Thu Apr 17 06:57:48 AEST 2025
- 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:
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 | 241 ++++++++++++++++++++++++++---
drivers/net/ethernet/ibm/ibmveth.h | 65 ++++----
3 files changed, 268 insertions(+), 51 deletions(-)
--
2.49.0
More information about the Linuxppc-dev
mailing list