diff options
author | Jesper Dangaard Brouer <[email protected]> | 2018-04-17 16:45:21 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-17 10:50:27 -0400 |
commit | 5168d73201898c581d0503434ee9743cfc8f964b (patch) | |
tree | 821d8e73653841b0a75367ad2829eba733297a2b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 897ddc24835ac9e267d70f1a77e75d30a0a636e9 (diff) |
mlx5: basic XDP_REDIRECT forward support
This implements basic XDP redirect support in mlx5 driver.
Notice that the ndo_xdp_xmit() is NOT implemented, because that API
need some changes that this patchset is working towards.
The main purpose of this patch is have different drivers doing
XDP_REDIRECT to show how different memory models behave in a cross
driver world.
Update(pre-RFCv2 Tariq): Need to DMA unmap page before xdp_do_redirect,
as the return API does not exist yet to to keep this mapped.
Update(pre-RFCv3 Saeed): Don't mix XDP_TX and XDP_REDIRECT flushing,
introduce xdpsq.db.redirect_flush boolian.
V9: Adjust for commit 121e89275471 ("net/mlx5e: Refactor RQ XDP_TX indication")
Signed-off-by: Jesper Dangaard Brouer <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Acked-by: Saeed Mahameed <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions