Home
last modified time | relevance | path

Searched defs:xsk (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dxdp_metadata.c37 struct xsk { struct
39 struct xsk_umem *umem; argument
40 struct xsk_ring_prod fill; argument
41 struct xsk_ring_cons comp; argument
42 struct xsk_ring_prod tx; argument
43 struct xsk_ring_cons rx; argument
44 struct xsk_socket *socket; argument
47 static int open_xsk(int ifindex, struct xsk *xsk) in open_xsk()
113 static void close_xsk(struct xsk *xsk) in close_xsk()
139 static int generate_packet(struct xsk *xsk, __u16 dst_port) in generate_packet()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/
Dxdp_hw_metadata.c39 struct xsk { struct
41 struct xsk_umem *umem; argument
42 struct xsk_ring_prod fill; argument
43 struct xsk_ring_cons comp; argument
44 struct xsk_ring_prod tx; argument
45 struct xsk_ring_cons rx; argument
46 struct xsk_socket *socket; argument
50 struct xsk *rx_xsk; argument
57 static int open_xsk(int ifindex, struct xsk *xsk, __u32 queue_id) in open_xsk()
118 static void close_xsk(struct xsk *xsk) in close_xsk()
[all …]
Dxskxceiver.c225 static void enable_busy_poll(struct xsk_socket_info *xsk) in enable_busy_poll()
245 static int __xsk_configure_socket(struct xsk_socket_info *xsk, struct xsk_umem_info *umem, in __xsk_configure_socket()
270 struct xsk_socket_info *xsk; in ifobj_zc_avail() local
919 static void kick_tx(struct xsk_socket_info *xsk) in kick_tx()
933 static void kick_rx(struct xsk_socket_info *xsk) in kick_rx()
942 static int complete_pkts(struct xsk_socket_info *xsk, int batch_size) in complete_pkts()
971 struct xsk_socket_info *xsk = test->ifobj_rx->xsk; in receive_pkts() local
1099 struct xsk_socket_info *xsk = ifobject->xsk; in __send_pkts() local
1210 static void wait_for_tx_completion(struct xsk_socket_info *xsk) in wait_for_tx_completion()
1240 static int get_xsk_stats(struct xsk_socket *xsk, struct xdp_statistics *stats) in get_xsk_stats()
[all …]
Dxsk.c97 int xsk_socket__fd(const struct xsk_socket *xsk) in xsk_socket__fd()
445 int xsk_update_xskmap(struct bpf_map *map, struct xsk_socket *xsk) in xsk_update_xskmap()
500 static struct xsk_ctx *xsk_create_ctx(struct xsk_socket *xsk, in xsk_create_ctx()
549 struct xsk_socket *xsk; in xsk_socket__create_shared() local
744 void xsk_socket__delete(struct xsk_socket *xsk) in xsk_socket__delete()
Dxskxceiver.h120 struct xsk_socket *xsk; member
147 struct xsk_socket_info *xsk; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dsetup.c12 struct mlx5e_xsk_param *xsk) in mlx5e_legacy_rq_validate_xsk()
28 struct mlx5e_xsk_param *xsk, in mlx5e_validate_xsk_param()
51 struct mlx5e_xsk_param *xsk, in mlx5e_build_xsk_cparam()
62 struct mlx5e_xsk_param *xsk, in mlx5e_init_xsk_rq()
94 struct mlx5e_xsk_param *xsk) in mlx5e_open_xsk_rq()
112 struct mlx5e_xsk_param *xsk, struct xsk_buff_pool *pool, in mlx5e_open_xsk()
Dpool.c23 static int mlx5e_xsk_get_pools(struct mlx5e_xsk *xsk) in mlx5e_xsk_get_pools()
38 static void mlx5e_xsk_put_pools(struct mlx5e_xsk *xsk) in mlx5e_xsk_put_pools()
46 static int mlx5e_xsk_add_pool(struct mlx5e_xsk *xsk, struct xsk_buff_pool *pool, u16 ix) in mlx5e_xsk_add_pool()
58 static void mlx5e_xsk_remove_pool(struct mlx5e_xsk *xsk, u16 ix) in mlx5e_xsk_remove_pool()
71 void mlx5e_build_xsk_param(struct xsk_buff_pool *pool, struct mlx5e_xsk_param *xsk) in mlx5e_build_xsk_param()
82 struct mlx5e_xsk_param xsk; in mlx5e_xsk_enable_locked() local
Dpool.h10 struct mlx5e_xsk *xsk, u16 ix) in mlx5e_xsk_get_pool()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c19 u8 mlx5e_mpwrq_page_shift(struct mlx5_core_dev *mdev, struct mlx5e_xsk_param *xsk) in mlx5e_mpwrq_page_shift()
32 mlx5e_mpwrq_umr_mode(struct mlx5_core_dev *mdev, struct mlx5e_xsk_param *xsk) in mlx5e_mpwrq_umr_mode()
219 struct mlx5e_xsk_param *xsk) in mlx5e_get_linear_rq_headroom()
236 struct mlx5e_xsk_param *xsk) in mlx5e_rx_get_linear_sz_xsk()
243 static u32 mlx5e_rx_get_linear_sz_skb(struct mlx5e_params *params, bool xsk) in mlx5e_rx_get_linear_sz_skb()
254 struct mlx5e_xsk_param *xsk, in mlx5e_rx_get_linear_stride_sz()
275 struct mlx5e_xsk_param *xsk) in mlx5e_mpwqe_log_pkts_per_wqe()
287 struct mlx5e_xsk_param *xsk) in mlx5e_rx_is_linear_skb()
329 struct mlx5e_xsk_param *xsk) in mlx5e_verify_params_rx_mpwqe_strides()
343 struct mlx5e_xsk_param *xsk) in mlx5e_rx_mpwqe_is_linear_skb()
[all …]
Dxdp.c40 int mlx5e_xdp_max_mtu(struct mlx5e_params *params, struct mlx5e_xsk_param *xsk) in mlx5e_xdp_max_mtu()
Drx_res.c568 unsigned int ix, bool xsk) in mlx5e_rx_res_xsk_update()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c732 struct mlx5e_xsk_param *xsk, in mlx5e_alloc_rq()
1213 struct mlx5e_xsk_param *xsk, int node, in mlx5e_open_rq()
2452 struct mlx5e_xsk_param xsk; in mlx5e_open_channel() local
4232 struct mlx5e_xsk_param xsk; in mlx5e_xsk_validate_mtu() local
4992 void mlx5e_build_nic_params(struct mlx5e_priv *priv, struct mlx5e_xsk *xsk, u16 mtu) in mlx5e_build_nic_params()
Den.h317 struct mlx5e_xsk *xsk; member
932 struct mlx5e_xsk xsk; member
Den_rx.c2683 int mlx5e_rq_set_handlers(struct mlx5e_rq *rq, struct mlx5e_params *params, bool xsk) in mlx5e_rq_set_handlers()
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h165 } xsk; member
/linux-6.6.21/include/linux/
Dnetdevice.h1021 } xsk; member