Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_txrx.c85 static bool mlx5e_napi_xsk_post(struct mlx5e_xdpsq *xsksq, struct mlx5e_rq *xskrq) in mlx5e_napi_xsk_post() argument
98 mlx5e_xsk_update_tx_wakeup(xsksq); in mlx5e_napi_xsk_post()
99 busy_xsk |= mlx5e_xsk_tx(xsksq, MLX5E_TX_XSK_POLL_BUDGET); in mlx5e_napi_xsk_post()
100 mlx5e_xsk_update_tx_wakeup(xsksq); in mlx5e_napi_xsk_post()
113 struct mlx5e_xdpsq *xsksq = &c->xsksq; in mlx5e_napi_poll() local
148 busy |= mlx5e_poll_xdpsq_cq(&xsksq->cq); in mlx5e_napi_poll()
149 busy_xsk |= mlx5e_napi_xsk_post(xsksq, xskrq); in mlx5e_napi_poll()
182 mlx5e_cq_arm(&xsksq->cq); in mlx5e_napi_poll()
Den.h724 struct mlx5e_xdpsq xsksq; member
756 struct mlx5e_xdpsq_stats xsksq; member
Den_stats.c184 struct mlx5e_xdpsq_stats *xsksq_stats = &channel_stats->xsksq; in mlx5e_grp_sw_update_stats()
1656 MLX5E_READ_CTR64_CPU(&priv->channel_stats[i].xsksq, in mlx5e_grp_channels_fill_stats()
Den_main.c989 &c->priv->channel_stats[c->ix].xsksq : in mlx5e_alloc_xdpsq()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dsetup.c89 err = mlx5e_open_cq(c, params->tx_cq_moderation, &cparam->tx_cq, &c->xsksq.cq); in mlx5e_open_xsk()
99 err = mlx5e_open_xdpsq(c, params, &cparam->xdp_sq, umem, &c->xsksq, true); in mlx5e_open_xsk()
126 mlx5e_close_xdpsq(&c->xsksq); in mlx5e_open_xsk()
129 mlx5e_close_cq(&c->xsksq.cq); in mlx5e_open_xsk()
152 mlx5e_close_xdpsq(&c->xsksq); in mlx5e_close_xsk()
153 mlx5e_close_cq(&c->xsksq.cq); in mlx5e_close_xsk()