Skip to content

selftests: drv-net: ncdevmem: fix error paths

Jakub Kicinski linux-kselftest 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. v2 Latest5 patches 2 repliesApplied 5/5
  2. v14 patches 6 repliesSuperseded

Patches in v2 All 5 applied

#Subject and filesSizeRepliesApplied
1/5selftests: drv-net: ncdevmem: remove use of error()tools/testing/selftests/drivers/net/hw/ncdevmem.c+364 -1640 repliesApplied
2/5selftests: drv-net: ncdevmem: save IDs of flow rules we addedtools/testing/selftests/drivers/net/hw/ncdevmem.c+106 -350 repliesApplied
3/5selftests: drv-net: ncdevmem: restore old channel configtools/testing/selftests/drivers/net/hw/ncdevmem.c+22 -120 repliesApplied
4/5selftests: drv-net: ncdevmem: restore original HDS setting before exitingtools/testing/selftests/drivers/net/hw/ncdevmem.c+103 -91 replyApplied
5/5selftests: drv-net: ncdevmem: explicitly set HDS threshold to 0tools/testing/selftests/drivers/net/hw/ncdevmem.c+13 -81 replyApplied

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchStanislav Fomichev
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

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

Read the v2 thread

Cover letter [PATCH net-next v2 0/5] selftests: drv-net: ncdevmem: fix error paths

Make ncdevmem clean up after itself. While at it make sure it sets HDS threshold to 0 automatically.

v2: rework patch 4 into separate patches 4 and 5
v1: https://lore.kernel.org/[email protected]

Jakub Kicinski (5):
selftests: drv-net: ncdevmem: remove use of error()
selftests: drv-net: ncdevmem: save IDs of flow rules we added
selftests: drv-net: ncdevmem: restore old channel config
selftests: drv-net: ncdevmem: restore original HDS setting before
exiting
selftests: drv-net: ncdevmem: explicitly set HDS threshold to 0

 .../selftests/drivers/net/hw/ncdevmem.c       | 796 +++++++++++++-----
 1 file changed, 588 insertions(+), 208 deletions(-)
Signature · 1 line
2.51.0