summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorBrenden Blanco <bblanco@plumgrid.com>2016-07-19 21:16:56 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-20 06:46:33 +0200
commit4acf6c0b84c91243c705303cd9ff16421914150d (patch)
tree1fc015113abd682af506b436bb3788d1cc28a760 /samples
parentnet/mlx4_en: add xdp forwarding and data write support (diff)
downloadlinux-4acf6c0b84c91243c705303cd9ff16421914150d.tar.xz
linux-4acf6c0b84c91243c705303cd9ff16421914150d.zip
bpf: enable direct packet data write for xdp progs
For forwarding to be effective, XDP programs should be allowed to rewrite packet data. This requires that the drivers supporting XDP must all map the packet memory as TODEVICE or BIDIRECTIONAL before invoking the program. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions