Commit 3ca8e402 authored by Craig Gallek's avatar Craig Gallek Committed by David S. Miller

soreuseport: BPF selection functional test

This program will build classic and extended BPF programs and
validate the socket selection logic when used with
SO_ATTACH_REUSEPORT_CBPF and SO_ATTACH_REUSEPORT_EBPF.

It also validates the re-programing flow and several edge cases.
Signed-off-by: default avatarCraig Gallek <kraig@google.com>
Acked-by: default avatarAlexei Starovoitov <ast@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 538950a1
socket socket
psock_fanout psock_fanout
psock_tpacket psock_tpacket
reuseport_bpf
...@@ -4,7 +4,7 @@ CFLAGS = -Wall -O2 -g ...@@ -4,7 +4,7 @@ CFLAGS = -Wall -O2 -g
CFLAGS += -I../../../../usr/include/ CFLAGS += -I../../../../usr/include/
NET_PROGS = socket psock_fanout psock_tpacket NET_PROGS = socket psock_fanout psock_tpacket reuseport_bpf
all: $(NET_PROGS) all: $(NET_PROGS)
%: %.c %: %.c
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment