Skip to content

selftest: Extend tun/virtio coverage for GSO over UDP tunnel

Xu Du linux-kselftest lkml netdev 6 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. v6 Latest7 patches 2 repliesApplied 7/7
  2. v57 patches 2 repliesSuperseded
  3. v48 patches 7 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v38 patches1 replySuperseded
v2 RFC8 patches0 repliesSuperseded
v1 RFC8 patches0 repliesSuperseded

Changes in v6 from the cover letter

- Fix the Makefile format errors.

Patches in v6 All 7 applied

#Subject and filesSizeRepliesApplied
1/7selftest: tun: Format tun.c existing codetools/testing/selftests/net/tun.c+15 -100 repliesApplied
2/7selftest: tun: Introduce tuntap_helpers.h header for TUN/TAP testingtools/testing/selftests/net/tuntap_helpers.h+390 -00 repliesApplied
3/7selftest: tun: Refactor tun_delete to use tuntap_helperstools/testing/selftests/net/Makefile tools/testing/selftests/net/tun.c+15 -400 repliesApplied
4/7selftest: tun: Add helpers for GSO over UDP tunneltools/testing/selftests/net/tun.c+425 -02 repliesApplied
5/7selftest: tun: Add test for sending gso packet into tuntools/testing/selftests/net/tun.c+135 -90 repliesApplied
6/7selftest: tun: Add test for receiving gso packet from tuntools/testing/selftests/net/tun.c+194 -00 repliesApplied
7/7selftest: tun: Add test data for success and failure pathstools/testing/selftests/net/tun.c+113 -20 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH net-next v6 0/7] selftest: Extend tun/virtio coverage for GSO over UDP tunnel

The design strategy is to extend the existing tun testing infrastructure to support this new use-case, rather than introducing a new or parallel framework. This allows for better integration and re-use of existing test logic.

---
v5 -> v6:
- Fix the Makefile format errors.

v5: https://lore.kernel.org/all/[email protected]/
- Refactor the rtnetlink utilities to use YNL.
- Use Geneve tunnel instead of VXLAN tunnel.
- Revert tap refactor as YNL lacks macvtap support.

v4: https://lore.kernel.org/netdev/[email protected]/
- Rebase onto the latest net-next tree to resolve merge conflicts.

v3: https://lore.kernel.org/netdev/[email protected]/
- Re-send the patch series becasue Patchwork don't update them.

v2: https://lore.kernel.org/netdev/[email protected]/
- Addresse sporadic failures due to too early send.
- Refactor environment address assign helper function.
- Fix incorrect argument passing in build packet functions.

v1: https://lore.kernel.org/netdev/[email protected]/

Xu Du (7):
selftest: tun: Format tun.c existing code
selftest: tun: Introduce tuntap_helpers.h header for TUN/TAP testing
selftest: tun: Refactor tun_delete to use tuntap_helpers
selftest: tun: Add helpers for GSO over UDP tunnel
selftest: tun: Add test for sending gso packet into tun
selftest: tun: Add test for receiving gso packet from tun
selftest: tun: Add test data for success and failure paths

 tools/testing/selftests/net/Makefile         |  16 +-
 tools/testing/selftests/net/tun.c            | 898 ++++++++++++++++++-
 tools/testing/selftests/net/tuntap_helpers.h | 390 ++++++++
 3 files changed, 1265 insertions(+), 39 deletions(-)
 create mode 100644 tools/testing/selftests/net/tuntap_helpers.h

base-commit: c5e7b1d1cc8a6cb8b709eef34c93a9458427ab2e

Signature · 1 line
2.52.0