diff options
author | Brenden Blanco <bblanco@plumgrid.com> | 2016-07-19 12:16:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-19 21:46:33 -0700 |
commit | 4acf6c0b84c91243c705303cd9ff16421914150d (patch) | |
tree | 1fc015113abd682af506b436bb3788d1cc28a760 /samples | |
parent | 9ecc2d86171adf23796133c89610987a14624875 (diff) |
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