diff options
author | William Tu <[email protected]> | 2024-10-31 14:58:55 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-11-03 15:37:15 -0800 |
commit | bb135e40129ddd254cfb474b58981313be79a631 (patch) | |
tree | b28dae0f8a0f28f703a8185b69e27836f760a54d /tools/perf/scripts/python/syscall-counts.py | |
parent | a2740138ec659b53f3a7670b34819737af596c59 (diff) |
net/mlx5e: move XDP_REDIRECT sq to dynamic allocation
Dynamically allocating xdpsq, used by egress side XDP_REDIRECT.
mlx5 has multiple XDP sqs. Under struct mlx5e_channel:
1. rx_xdpsq: used for XDP_TX, an XDP prog handles the rx packet and
transmits using the same queue as rx.
2. xdpsq: used by egress side XDP_REDIRECT. This is for another interface
to redirect packet to the mlx5 interface, using ndo_xdp_xmit .
3. xsksq: used by XSK. XSK has its own dedicated channel, and it also
has resources of 1 and 2.
The patch changes only the 2. xdpsq.
Signed-off-by: William Tu <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions