bpf: sockmap sample, add sendfile test
authorJohn Fastabend <john.fastabend@gmail.com>
Sun, 18 Mar 2018 19:57:46 +0000 (12:57 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 19 Mar 2018 20:14:40 +0000 (21:14 +0100)
commite67463cb5d9345d762aa7325e58aaeff5bc68ee1
tree37af21fd043dde8601f541a2f20bbd67c43ee088
parent4c4c3c276c099f265c8b11e0132ce826ee718e2c
bpf: sockmap sample, add sendfile test

To exercise TX ULP sendpage implementation we need a test that does
a sendfile. Add sendfile test option here.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
samples/sockmap/sockmap_user.c