commit | 4acf6c0b84c91243c705303cd9ff16421914150d | [log] [tgz] |
---|---|---|
author | Brenden Blanco <bblanco@plumgrid.com> | Tue Jul 19 12:16:56 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 19 21:46:33 2016 -0700 |
tree | 1fc015113abd682af506b436bb3788d1cc28a760 | |
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>