summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorMatteo Croce <mcroce@microsoft.com>2020-07-02 16:12:43 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-03 14:46:24 -0700
commitc2d6fe6163de80d7f7cf400ee351f56d6cdb7a5a (patch)
treeffce82631cf0501efe24dabe7462bf4f52509a5b /tools/testing/selftests/bpf/prog_tests/autoload.c
parent07dd0a7aae7f72af7cec18909581c2bb570edddc (diff)
mvpp2: XDP TX support
Add the transmit part of XDP support, which includes: - support for XDP_TX in mvpp2_xdp() - .ndo_xdp_xmit hook for AF_XDP and XDP_REDIRECT with mvpp2 as destination mvpp2_xdp_submit_frame() is a generic function which is called by mvpp2_xdp_xmit_back() when doing XDP_TX, and by mvpp2_xdp_xmit when doing AF_XDP or XDP_REDIRECT target. The buffer allocation has been reworked to be able to map the buffers as DMA_FROM_DEVICE or DMA_BIDIRECTIONAL depending if native XDP is in use or not. Co-developed-by: Sven Auhagen <sven.auhagen@voleatech.de> Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de> Signed-off-by: Matteo Croce <mcroce@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions