]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc2d2dfcbe78fe644313b88c661086c5d3b0d30a9
tree37af21fd043dde8601f541a2f20bbd67c43ee088
parent237c7ec740122dffd5cdc95c13f55d2aa5182b03
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