mbox series

[bpf-next,v2,0/2] export send_byte and send_recv_data

Message ID cover.1712547287.git.tanggeliang@kylinos.cn (mailing list archive)
Headers show
Series export send_byte and send_recv_data | expand

Message

Geliang Tang April 8, 2024, 3:45 a.m. UTC
From: Geliang Tang <tanggeliang@kylinos.cn>

Address Martin's comments for v1 (thanks.)
 - drop patch 1, "export send_byte helper".
 - drop "WRITE_ONCE(arg.stop, 0)".
 - rebased.

send_recv_data will be re-used in MPTCP bpf tests, but not included
in this set because it depends on other patches that have not been
in the bpf-next yet. It will be sent as another set soon.

Geliang Tang (2):
  selftests/bpf: Add struct send_recv_arg
  selftests/bpf: Export send_recv_data helper

 tools/testing/selftests/bpf/network_helpers.c | 85 +++++++++++++++++++
 tools/testing/selftests/bpf/network_helpers.h |  1 +
 .../selftests/bpf/prog_tests/bpf_tcp_ca.c     | 71 +---------------
 3 files changed, 87 insertions(+), 70 deletions(-)