netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/6] TCP-BPF callback for listening sockets
@ 2018-07-12  0:33 Andrey Ignatov
  2018-07-12  0:33 ` [PATCH bpf-next 1/6] bpf: Add BPF_SOCK_OPS_TCP_LISTEN_CB Andrey Ignatov
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Andrey Ignatov @ 2018-07-12  0:33 UTC (permalink / raw)
  To: netdev; +Cc: Andrey Ignatov, ast, daniel, brakmo, kernel-team

This patchset adds TCP-BPF callback for listening sockets.

Patch 0001 provides more details and is the main patch in the set.

Patch 0006 adds selftest for the new callback.

Other patches are bug fixes and improvements in TCP-BPF selftest to make it
easier to extend in 0006.


Andrey Ignatov (6):
  bpf: Add BPF_SOCK_OPS_TCP_LISTEN_CB
  bpf: Sync bpf.h to tools/
  selftests/bpf: Fix const'ness in cgroup_helpers
  selftests/bpf: Switch test_tcpbpf_user to cgroup_helpers
  selftests/bpf: Better verification in test_tcpbpf
  selftests/bpf: Test case for BPF_SOCK_OPS_TCP_LISTEN_CB

 include/uapi/linux/bpf.h                      |   3 +
 net/ipv4/af_inet.c                            |   1 +
 tools/include/uapi/linux/bpf.h                |   3 +
 tools/testing/selftests/bpf/Makefile          |   1 +
 tools/testing/selftests/bpf/cgroup_helpers.c  |   6 +-
 tools/testing/selftests/bpf/cgroup_helpers.h  |   6 +-
 tools/testing/selftests/bpf/test_tcpbpf.h     |   1 +
 .../testing/selftests/bpf/test_tcpbpf_kern.c  |  17 ++-
 .../testing/selftests/bpf/test_tcpbpf_user.c  | 119 +++++++++---------
 9 files changed, 88 insertions(+), 69 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-07-14 22:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-12  0:33 [PATCH bpf-next 0/6] TCP-BPF callback for listening sockets Andrey Ignatov
2018-07-12  0:33 ` [PATCH bpf-next 1/6] bpf: Add BPF_SOCK_OPS_TCP_LISTEN_CB Andrey Ignatov
2018-07-12  0:33 ` [PATCH bpf-next 2/6] bpf: Sync bpf.h to tools/ Andrey Ignatov
2018-07-12  0:33 ` [PATCH bpf-next 3/6] selftests/bpf: Fix const'ness in cgroup_helpers Andrey Ignatov
2018-07-12  0:33 ` [PATCH bpf-next 4/6] selftests/bpf: Switch test_tcpbpf_user to cgroup_helpers Andrey Ignatov
2018-07-12  0:33 ` [PATCH bpf-next 5/6] selftests/bpf: Better verification in test_tcpbpf Andrey Ignatov
2018-07-12  0:33 ` [PATCH bpf-next 6/6] selftests/bpf: Test case for BPF_SOCK_OPS_TCP_LISTEN_CB Andrey Ignatov
2018-07-12 14:59 ` [PATCH bpf-next 0/6] TCP-BPF callback for listening sockets Lawrence Brakmo
2018-07-14 22:18 ` Daniel Borkmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).