Home
last modified time | relevance | path

Searched refs:xsksq (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_txrx.c88 static bool mlx5e_napi_xsk_post(struct mlx5e_xdpsq *xsksq, struct mlx5e_rq *xskrq) in mlx5e_napi_xsk_post() argument
97 if (need_wakeup && xsksq->pc == xsksq->cc) in mlx5e_napi_xsk_post()
98 xsk_set_tx_need_wakeup(xsksq->xsk_pool); in mlx5e_napi_xsk_post()
99 busy_xsk |= mlx5e_xsk_tx(xsksq, MLX5E_TX_XSK_POLL_BUDGET); in mlx5e_napi_xsk_post()
101 if (need_wakeup && xsksq->pc != xsksq->cc) in mlx5e_napi_xsk_post()
102 xsk_clear_tx_need_wakeup(xsksq->xsk_pool); in mlx5e_napi_xsk_post()
129 struct mlx5e_xdpsq *xsksq = &c->xsksq; in mlx5e_napi_poll() local
197 busy |= mlx5e_poll_xdpsq_cq(&xsksq->cq); in mlx5e_napi_poll()
198 busy_xsk |= mlx5e_napi_xsk_post(xsksq, xskrq); in mlx5e_napi_poll()
243 mlx5e_cq_arm(&xsksq->cq); in mlx5e_napi_poll()
Den.h768 struct mlx5e_xdpsq xsksq; member
806 struct mlx5e_xdpsq_stats xsksq; member
Den_stats.c540 mlx5e_stats_grp_sw_update_stats_xsksq(s, &channel_stats->xsksq); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
2451 MLX5E_READ_CTR64_CPU(&priv->channel_stats[i]->xsksq, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
Den_main.c1361 &c->priv->channel_stats[c->ix]->xsksq : in mlx5e_alloc_xdpsq()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dsetup.c140 &c->xsksq.cq); in mlx5e_open_xsk()
150 err = mlx5e_open_xdpsq(c, params, &cparam->xdp_sq, pool, &c->xsksq, true); in mlx5e_open_xsk()
161 mlx5e_close_cq(&c->xsksq.cq); in mlx5e_open_xsk()
182 mlx5e_close_xdpsq(&c->xsksq); in mlx5e_close_xsk()
183 mlx5e_close_cq(&c->xsksq.cq); in mlx5e_close_xsk()
186 memset(&c->xsksq, 0, sizeof(c->xsksq)); in mlx5e_close_xsk()