diff options
| author | Maciej Fijalkowski <[email protected]> | 2024-10-07 14:24:58 +0200 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-10-14 17:23:49 +0200 |
| commit | e6c4047f5122803f2fe4ab9b1ab7038626e51ec1 (patch) | |
| tree | fdbfb793613a0c57f599e2234162971755e036c0 /tools/perf/scripts/python/bin | |
| parent | 1d10b2bed2d4b2003f174da739d8163b7f7957cf (diff) | |
xsk: Use xsk_buff_pool directly for cq functions
Currently xsk_cq_{reserve_addr,submit,cancel}_locked() take xdp_sock as
an input argument but it is only used for pulling out xsk_buff_pool
pointer from it.
Change mentioned functions to take pool pointer as an input argument to
avoid unnecessary dereferences.
Signed-off-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Magnus Karlsson <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions