diff options
| author | Mintz, Yuval <Yuval.Mintz@cavium.com> | 2016-11-29 16:47:10 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-11-30 14:32:05 -0500 |
| commit | cb6aeb07929453d5ae127b536b14f6bd3d4c5942 (patch) | |
| tree | 1a77314d8d97a01e5c589bb944ecf63f7f41002b /lib/string_helpers.c | |
| parent | 496e051709588f832d7a6a420f44f8642b308a87 (diff) | |
qede: Add support for XDP_TX
Add support for forwarding via XDP. Once the eBPF is attached,
driver would allocate & configure a designated transmission queue
meant solely for forwarding packets. Said queue would share the
receive-queue's interrupt line, and would have it's own Tx statistics.
Infrastructure changes required for this [spread-out through the code]:
- Determine the DMA direction of the receive buffers based on the presence
of the eBPF program.
- Turn the sw Tx ring into a union, as regular/XDP queues have different
needs for releasing resources after completion [regular requires the SKB,
XDP requires the transmitted page].
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
