Skip to content

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

xu du netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8selftest: tun: Format tun.c existing codetools/testing/selftests/net/tun.c+15 -100 replies
2/8selftest: tun: Introduce tuntap_helpers.h header for TUN/TAP testingtools/testing/selftests/net/tuntap_helpers.h+495 -00 replies
3/8selftest: tun: Refactor tun_delete to use tuntap_helperstools/testing/selftests/net/tun.c+2 -370 replies
4/8selftest: tap: Refactor tap test to use tuntap_helperstools/testing/selftests/net/tap.c+40 -2460 replies
5/8selftest: tun: Add helpers for GSO over UDP tunneltools/testing/selftests/net/tun.c+391 -00 replies
6/8selftest: tun: Add test for sending gso packet into tuntools/testing/selftests/net/tun.c+140 -90 replies
7/8selftest: tun: Add test for receiving gso packet from tuntools/testing/selftests/net/tun.c+209 -00 replies
8/8selftest: tun: Add test data for success and failure pathstools/testing/selftests/net/tun.c+113 -20 replies

Reviews trailers per patch

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

Read the v1 thread

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

This patch series increases test coverage for the tun/virtio use-case.

The primary goal is to add test validation for GSO when operating over UDP tunnels, a scenario which is not currently covered.

The design strategy is to extend the existing tun/tap 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.

*** BLURB HERE ***

xu du (8):
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: tap: Refactor tap test 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/tap.c            | 286 +-----
 tools/testing/selftests/net/tun.c            | 884 ++++++++++++++++++-
 tools/testing/selftests/net/tuntap_helpers.h | 495 +++++++++++
 3 files changed, 1383 insertions(+), 282 deletions(-)
 create mode 100644 tools/testing/selftests/net/tuntap_helpers.h

base-commit: df58ee7d8faf353ebf5d4703c35fcf3e578e9b1b

Signature · 1 line
2.49.0