[PATCH net-next v2 0/3] selftests/net: packetdrill: netns and two imports

Willem de Bruijn
2024-09-12T00:53:22Z

From: Willem de Bruijn <willemb@google.com>

1/3: run in nets, as discussed, and add missing CONFIGs
2/3: import tcp/zerocopy
3/3: import tcp/slow_start

Willem de Bruijn (3):
selftests/net: packetdrill: run in netns and expand config
selftests/net: packetdrill: import tcp/zerocopy
selftests/net: packetdrill: import tcp/slow_start

.../selftests/net/packetdrill/Makefile | 1 +
.../testing/selftests/net/packetdrill/config | 6 +
.../selftests/net/packetdrill/ksft_runner.sh | 4 +-
.../selftests/net/packetdrill/set_sysctls.py | 38 ++++++
...tcp_slow_start_slow-start-ack-per-1pkt.pkt | 56 +++++++++
...tart_slow-start-ack-per-2pkt-send-5pkt.pkt | 33 +++++
...tart_slow-start-ack-per-2pkt-send-6pkt.pkt | 34 +++++
...tcp_slow_start_slow-start-ack-per-2pkt.pkt | 42 +++++++
...tcp_slow_start_slow-start-ack-per-4pkt.pkt | 35 ++++++
.../tcp_slow_start_slow-start-after-idle.pkt | 39 ++++++
...slow_start_slow-start-after-win-update.pkt | 50 ++++++++
...t_slow-start-app-limited-9-packets-out.pkt | 38 ++++++
.../tcp_slow_start_slow-start-app-limited.pkt | 36 ++++++
..._slow_start_slow-start-fq-ack-per-2pkt.pkt | 63 ++++++++++
.../net/packetdrill/tcp_zerocopy_basic.pkt | 55 ++++++++
.../net/packetdrill/tcp_zerocopy_batch.pkt | 41 ++++++
.../net/packetdrill/tcp_zerocopy_client.pkt | 30 +++++
.../net/packetdrill/tcp_zerocopy_closed.pkt | 44 +++++++
.../packetdrill/tcp_zerocopy_epoll_edge.pkt | 61 +++++++++
.../tcp_zerocopy_epoll_exclusive.pkt | 63 ++++++++++
.../tcp_zerocopy_epoll_oneshot.pkt | 66 ++++++++++
.../tcp_zerocopy_fastopen-client.pkt | 56 +++++++++
.../tcp_zerocopy_fastopen-server.pkt | 44 +++++++
.../net/packetdrill/tcp_zerocopy_maxfrags.pkt | 118 ++++++++++++++++++
.../net/packetdrill/tcp_zerocopy_small.pkt | 57 +++++++++
25 files changed, 1108 insertions(+), 2 deletions(-)
create mode 100755 tools/testing/selftests/net/packetdrill/set_sysctls.py
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_slow_start_slow-start-ack-per-1pkt.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_slow_start_slow-start-ack-per-2pkt-send-5pkt.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_slow_start_slow-start-ack-per-2pkt-send-6pkt.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_slow_start_slow-start-ack-per-2pkt.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_slow_start_slow-start-ack-per-4pkt.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_slow_start_slow-start-after-idle.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_slow_start_slow-start-after-win-update.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_slow_start_slow-start-app-limited-9-packets-out.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_slow_start_slow-start-app-limited.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_slow_start_slow-start-fq-ack-per-2pkt.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_zerocopy_basic.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_zerocopy_batch.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_zerocopy_client.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_zerocopy_closed.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_zerocopy_epoll_edge.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_zerocopy_epoll_exclusive.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_zerocopy_epoll_oneshot.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_zerocopy_fastopen-client.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_zerocopy_fastopen-server.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_zerocopy_maxfrags.pkt
create mode 100644 tools/testing/selftests/net/packetdrill/tcp_zerocopy_small.pkt

--
2.46.0.598.g6f2099f65c-goog