diff options
author | 2019-06-26 17:35:34 +0300 | |
---|---|---|
committer | 2019-06-27 22:53:27 +0200 | |
commit | 84a0a2310d6de247335574649726cb000c7c0074 (patch) | |
tree | f9e491f07725ec48bd03d8fbf595296f5871e757 /tools/perf/scripts/python/syscall-counts.py | |
parent | net/mlx5e: Share the XDP SQ for XDP_TX between RQs (diff) | |
download | linux-dev-84a0a2310d6de247335574649726cb000c7c0074.tar.xz linux-dev-84a0a2310d6de247335574649726cb000c7c0074.zip |
net/mlx5e: XDP_TX from UMEM support
When an XDP program returns XDP_TX, and the RQ is XSK-enabled, it
requires careful handling, because convert_to_xdp_frame creates a new
page and copies the data there, while our driver expects the xdp_frame
to point to the same memory as the xdp_buff. Handle this case
separately: map the page, and in the end unmap it and call
xdp_return_frame.
Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions