summaryrefslogtreecommitdiff
path: root/include/net/xdp_sock_drv.h
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2024-10-07 14:24:58 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2024-10-14 17:23:49 +0200
commite6c4047f5122803f2fe4ab9b1ab7038626e51ec1 (patch)
treefdbfb793613a0c57f599e2234162971755e036c0 /include/net/xdp_sock_drv.h
parent1d10b2bed2d4b2003f174da739d8163b7f7957cf (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 <maciej.fijalkowski@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Magnus Karlsson <magnus.karlsson@intel.com> Link: https://lore.kernel.org/bpf/20241007122458.282590-7-maciej.fijalkowski@intel.com
Diffstat (limited to 'include/net/xdp_sock_drv.h')
0 files changed, 0 insertions, 0 deletions