/linux-5.19.10/include/net/ |
D | xdp_sock_drv.h | 14 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 …]
|
D | xsk_buff_pool.h | 13 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 …]
|
D | xdp_sock.h | 51 struct xsk_buff_pool *pool;
|
/linux-5.19.10/net/xdp/ |
D | xsk_buff_pool.c | 11 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 …]
|
D | xsk_queue.h | 132 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()
|
D | xsk.c | 37 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 …]
|
D | Makefile | 3 obj-$(CONFIG_XDP_SOCKETS) += xsk_buff_pool.o
|
D | xsk.h | 45 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/ |
D | pool.c | 10 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()
|
D | pool.h | 9 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);
|
D | setup.c | 51 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()
|
D | setup.h | 15 struct mlx5e_xsk_param *xsk, struct xsk_buff_pool *pool,
|
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_xsk.c | 60 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()
|
D | nfp_net_xsk.h | 32 int nfp_net_xsk_setup_pool(struct net_device *netdev, struct xsk_buff_pool *pool,
|
/linux-5.19.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.h | 24 struct xsk_buff_pool; 28 int i40e_xsk_pool_setup(struct i40e_vsi *vsi, struct xsk_buff_pool *pool,
|
D | i40e_xsk.c | 42 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/ |
D | igc_xdp.c | 39 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()
|
D | igc_xdp.h | 9 int igc_xdp_setup_pool(struct igc_adapter *adapter, struct xsk_buff_pool *pool,
|
/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_xdp.c | 10 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()
|
D | stmmac_xdp.h | 10 int stmmac_xdp_setup_pool(struct stmmac_priv *priv, struct xsk_buff_pool *pool,
|
D | stmmac.h | 73 struct xsk_buff_pool *xsk_pool; 99 struct xsk_buff_pool *xsk_pool;
|
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_txrx_common.h | 33 struct xsk_buff_pool *ixgbe_xsk_pool(struct ixgbe_adapter *adapter, 36 struct xsk_buff_pool *pool,
|
D | ixgbe_xsk.c | 11 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/ |
D | ice_xsk.h | 21 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()
|
D | ice_txrx.h | 295 struct xsk_buff_pool *xsk_pool; 317 struct xsk_buff_pool *xsk_pool;
|