aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/Makefile
diff options
context:
space:
mode:
authorCraig Gallek <kraig@google.com>2016-02-10 11:50:41 -0500
committerDavid S. Miller <davem@davemloft.net>2016-02-11 03:54:15 -0500
commit4b2a6aed2115cd72faaffc92e03d6516e8113904 (patch)
tree2764c897bbba3f7604ce942dbe62d17352036d58 /tools/testing/selftests/net/Makefile
parentsoreuseport: fast reuseport TCP socket selection (diff)
downloadlinux-dev-4b2a6aed2115cd72faaffc92e03d6516e8113904.tar.xz
linux-dev-4b2a6aed2115cd72faaffc92e03d6516e8113904.zip
soreuseport: BPF selection functional test for TCP
Unfortunately the existing test relied on packet payload in order to map incoming packets to sockets. In order to get this to work with TCP, TCP_FASTOPEN needed to be used. Since the fast open path is slightly different than the standard TCP path, I created a second test which sends to reuseport group members based on receiving cpu core id. This will probably serve as a better real-world example use as well. Signed-off-by: Craig Gallek <kraig@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/Makefile')
-rw-r--r--tools/testing/selftests/net/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile
index 41449b5ad0a9..c658792d47b4 100644
--- a/tools/testing/selftests/net/Makefile
+++ b/tools/testing/selftests/net/Makefile
@@ -4,7 +4,7 @@ CFLAGS = -Wall -O2 -g
CFLAGS += -I../../../../usr/include/
-NET_PROGS = socket psock_fanout psock_tpacket reuseport_bpf
+NET_PROGS = socket psock_fanout psock_tpacket reuseport_bpf reuseport_bpf_cpu
all: $(NET_PROGS)
%: %.c