diff options
| author | Matteo Croce <mcroce@microsoft.com> | 2020-07-02 16:12:43 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-07-03 14:46:24 -0700 |
| commit | c2d6fe6163de80d7f7cf400ee351f56d6cdb7a5a (patch) | |
| tree | ffce82631cf0501efe24dabe7462bf4f52509a5b /scripts/documentation-file-ref-check | |
| parent | 07dd0a7aae7f72af7cec18909581c2bb570edddc (diff) | |
| download | linux-c2d6fe6163de80d7f7cf400ee351f56d6cdb7a5a.tar.gz linux-c2d6fe6163de80d7f7cf400ee351f56d6cdb7a5a.tar.bz2 linux-c2d6fe6163de80d7f7cf400ee351f56d6cdb7a5a.zip | |
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 'scripts/documentation-file-ref-check')
0 files changed, 0 insertions, 0 deletions
