Home
last modified time | relevance | path

Searched refs:xsk_buff_pool (Results 1 – 25 of 41) sorted by relevance

12

/linux-5.19.10/include/net/
Dxdp_sock_drv.h14 void xsk_tx_completed(struct xsk_buff_pool *pool, u32 nb_entries);
15 bool xsk_tx_peek_desc(struct xsk_buff_pool *pool, struct xdp_desc *desc);
16 u32 xsk_tx_peek_release_desc_batch(struct xsk_buff_pool *pool, u32 max);
17 void xsk_tx_release(struct xsk_buff_pool *pool);
18 struct xsk_buff_pool *xsk_get_pool_from_qid(struct net_device *dev,
20 void xsk_set_rx_need_wakeup(struct xsk_buff_pool *pool);
21 void xsk_set_tx_need_wakeup(struct xsk_buff_pool *pool);
22 void xsk_clear_rx_need_wakeup(struct xsk_buff_pool *pool);
23 void xsk_clear_tx_need_wakeup(struct xsk_buff_pool *pool);
24 bool xsk_uses_need_wakeup(struct xsk_buff_pool *pool);
[all …]
Dxsk_buff_pool.h13 struct xsk_buff_pool;
26 struct xsk_buff_pool *pool;
41 struct xsk_buff_pool { struct
94 struct xsk_buff_pool *xp_create_and_assign_umem(struct xdp_sock *xs, argument
96 int xp_assign_dev(struct xsk_buff_pool *pool, struct net_device *dev,
98 int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_umem *umem,
100 int xp_alloc_tx_descs(struct xsk_buff_pool *pool, struct xdp_sock *xs);
101 void xp_destroy(struct xsk_buff_pool *pool);
102 void xp_get_pool(struct xsk_buff_pool *pool);
103 bool xp_put_pool(struct xsk_buff_pool *pool);
[all …]
Dxdp_sock.h51 struct xsk_buff_pool *pool;
/linux-5.19.10/net/xdp/
Dxsk_buff_pool.c11 void xp_add_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_add_xsk()
23 void xp_del_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_del_xsk()
35 void xp_destroy(struct xsk_buff_pool *pool) in xp_destroy()
45 int xp_alloc_tx_descs(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_alloc_tx_descs()
55 struct xsk_buff_pool *xp_create_and_assign_umem(struct xdp_sock *xs, in xp_create_and_assign_umem()
59 struct xsk_buff_pool *pool; in xp_create_and_assign_umem()
115 void xp_set_rxq_info(struct xsk_buff_pool *pool, struct xdp_rxq_info *rxq) in xp_set_rxq_info()
124 static void xp_disable_drv_zc(struct xsk_buff_pool *pool) in xp_disable_drv_zc()
143 int xp_assign_dev(struct xsk_buff_pool *pool, in xp_assign_dev()
215 int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_umem *umem, in xp_assign_dev_shared()
[all …]
Dxsk_queue.h132 static inline bool xp_aligned_validate_desc(struct xsk_buff_pool *pool, in xp_aligned_validate_desc()
152 static inline bool xp_unaligned_validate_desc(struct xsk_buff_pool *pool, in xp_unaligned_validate_desc()
172 static inline bool xp_validate_desc(struct xsk_buff_pool *pool, in xp_validate_desc()
181 struct xsk_buff_pool *pool) in xskq_cons_is_valid_desc()
192 struct xsk_buff_pool *pool) in xskq_cons_read_desc()
208 static inline u32 xskq_cons_read_desc_batch(struct xsk_queue *q, struct xsk_buff_pool *pool, in xskq_cons_read_desc_batch()
278 struct xsk_buff_pool *pool) in xskq_cons_peek_desc()
Dxsk.c37 void xsk_set_rx_need_wakeup(struct xsk_buff_pool *pool) in xsk_set_rx_need_wakeup()
47 void xsk_set_tx_need_wakeup(struct xsk_buff_pool *pool) in xsk_set_tx_need_wakeup()
64 void xsk_clear_rx_need_wakeup(struct xsk_buff_pool *pool) in xsk_clear_rx_need_wakeup()
74 void xsk_clear_tx_need_wakeup(struct xsk_buff_pool *pool) in xsk_clear_tx_need_wakeup()
91 bool xsk_uses_need_wakeup(struct xsk_buff_pool *pool) in xsk_uses_need_wakeup()
97 struct xsk_buff_pool *xsk_get_pool_from_qid(struct net_device *dev, in xsk_get_pool_from_qid()
121 int xsk_reg_pool_at_qid(struct net_device *dev, struct xsk_buff_pool *pool, in xsk_reg_pool_at_qid()
296 void xsk_tx_completed(struct xsk_buff_pool *pool, u32 nb_entries) in xsk_tx_completed()
302 void xsk_tx_release(struct xsk_buff_pool *pool) in xsk_tx_release()
316 bool xsk_tx_peek_desc(struct xsk_buff_pool *pool, struct xdp_desc *desc) in xsk_tx_peek_desc()
[all …]
DMakefile3 obj-$(CONFIG_XDP_SOCKETS) += xsk_buff_pool.o
Dxsk.h45 int xsk_reg_pool_at_qid(struct net_device *dev, struct xsk_buff_pool *pool,
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dpool.c10 struct xsk_buff_pool *pool) in mlx5e_xsk_map_pool()
18 struct xsk_buff_pool *pool) in mlx5e_xsk_unmap_pool()
46 static int mlx5e_xsk_add_pool(struct mlx5e_xsk *xsk, struct xsk_buff_pool *pool, u16 ix) in mlx5e_xsk_add_pool()
65 static bool mlx5e_xsk_is_pool_sane(struct xsk_buff_pool *pool) in mlx5e_xsk_is_pool_sane()
71 void mlx5e_build_xsk_param(struct xsk_buff_pool *pool, struct mlx5e_xsk_param *xsk) in mlx5e_build_xsk_param()
78 struct xsk_buff_pool *pool, u16 ix) in mlx5e_xsk_enable_locked()
158 struct xsk_buff_pool *pool = mlx5e_xsk_get_pool(&priv->channels.params, in mlx5e_xsk_disable_locked()
184 static int mlx5e_xsk_enable_pool(struct mlx5e_priv *priv, struct xsk_buff_pool *pool, in mlx5e_xsk_enable_pool()
207 int mlx5e_xsk_setup_pool(struct net_device *dev, struct xsk_buff_pool *pool, u16 qid) in mlx5e_xsk_setup_pool()
Dpool.h9 static inline struct xsk_buff_pool *mlx5e_xsk_get_pool(struct mlx5e_params *params, in mlx5e_xsk_get_pool()
22 void mlx5e_build_xsk_param(struct xsk_buff_pool *pool, struct mlx5e_xsk_param *xsk);
25 int mlx5e_xsk_setup_pool(struct net_device *dev, struct xsk_buff_pool *pool, u16 qid);
Dsetup.c51 struct xsk_buff_pool *pool, in mlx5e_init_xsk_rq()
83 struct mlx5e_rq_param *rq_params, struct xsk_buff_pool *pool, in mlx5e_open_xsk_rq()
96 struct mlx5e_xsk_param *xsk, struct xsk_buff_pool *pool, in mlx5e_open_xsk()
Dsetup.h15 struct mlx5e_xsk_param *xsk, struct xsk_buff_pool *pool,
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_xsk.c60 struct xsk_buff_pool *pool = r_vec->xsk_pool; in nfp_net_xsk_rx_ring_fill_freelist()
96 struct xsk_buff_pool *pool) in nfp_net_xsk_pool_unmap()
101 static int nfp_net_xsk_pool_map(struct device *dev, struct xsk_buff_pool *pool) in nfp_net_xsk_pool_map()
107 struct xsk_buff_pool *pool, u16 queue_id) in nfp_net_xsk_setup_pool()
111 struct xsk_buff_pool *prev_pool; in nfp_net_xsk_setup_pool()
Dnfp_net_xsk.h32 int nfp_net_xsk_setup_pool(struct net_device *netdev, struct xsk_buff_pool *pool,
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_xsk.h24 struct xsk_buff_pool;
28 int i40e_xsk_pool_setup(struct i40e_vsi *vsi, struct xsk_buff_pool *pool,
Di40e_xsk.c42 struct xsk_buff_pool *pool, in i40e_xsk_pool_enable()
96 struct xsk_buff_pool *pool; in i40e_xsk_pool_disable()
135 int i40e_xsk_pool_setup(struct i40e_vsi *vsi, struct xsk_buff_pool *pool, in i40e_xsk_pool_setup()
535 struct xsk_buff_pool *bp = tx_ring->xsk_pool; in i40e_clean_xdp_tx_irq()
650 struct xsk_buff_pool *bp = tx_ring->xsk_pool; in i40e_xsk_clean_tx_ring()
/linux-5.19.10/drivers/net/ethernet/intel/igc/
Digc_xdp.c39 struct xsk_buff_pool *pool, u16 queue_id) in igc_xdp_enable_pool()
103 struct xsk_buff_pool *pool; in igc_xdp_disable_pool()
141 int igc_xdp_setup_pool(struct igc_adapter *adapter, struct xsk_buff_pool *pool, in igc_xdp_setup_pool()
Digc_xdp.h9 int igc_xdp_setup_pool(struct igc_adapter *adapter, struct xsk_buff_pool *pool,
/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_xdp.c10 struct xsk_buff_pool *pool, u16 queue) in stmmac_xdp_enable_pool()
61 struct xsk_buff_pool *pool; in stmmac_xdp_disable_pool()
95 int stmmac_xdp_setup_pool(struct stmmac_priv *priv, struct xsk_buff_pool *pool, in stmmac_xdp_setup_pool()
Dstmmac_xdp.h10 int stmmac_xdp_setup_pool(struct stmmac_priv *priv, struct xsk_buff_pool *pool,
Dstmmac.h73 struct xsk_buff_pool *xsk_pool;
99 struct xsk_buff_pool *xsk_pool;
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_txrx_common.h33 struct xsk_buff_pool *ixgbe_xsk_pool(struct ixgbe_adapter *adapter,
36 struct xsk_buff_pool *pool,
Dixgbe_xsk.c11 struct xsk_buff_pool *ixgbe_xsk_pool(struct ixgbe_adapter *adapter, in ixgbe_xsk_pool()
24 struct xsk_buff_pool *pool, in ixgbe_xsk_pool_enable()
67 struct xsk_buff_pool *pool; in ixgbe_xsk_pool_disable()
90 struct xsk_buff_pool *pool, in ixgbe_xsk_pool_setup()
398 struct xsk_buff_pool *pool = xdp_ring->xsk_pool; in ixgbe_xmit_zc()
466 struct xsk_buff_pool *pool = tx_ring->xsk_pool; in ixgbe_clean_xdp_tx_irq()
553 struct xsk_buff_pool *pool = tx_ring->xsk_pool; in ixgbe_xsk_clean_tx_ring()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_xsk.h21 int ice_xsk_pool_setup(struct ice_vsi *vsi, struct xsk_buff_pool *pool,
42 struct xsk_buff_pool __always_unused *pool, in ice_xsk_pool_setup()
Dice_txrx.h295 struct xsk_buff_pool *xsk_pool;
317 struct xsk_buff_pool *xsk_pool;

12