Home
last modified time | relevance | path

Searched refs:xskrq (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
102 xsk_rx_alloc_err = xskrq->post_wqes(xskrq); in mlx5e_napi_xsk_post()
103 busy_xsk |= mlx5e_xsk_update_rx_wakeup(xskrq, xsk_rx_alloc_err); in mlx5e_napi_xsk_post()
114 struct mlx5e_rq *xskrq = &c->xskrq; in mlx5e_napi_poll() local
135 work_done = mlx5e_poll_rx_cq(&xskrq->cq, budget); in mlx5e_napi_poll()
149 busy_xsk |= mlx5e_napi_xsk_post(xsksq, xskrq); in mlx5e_napi_poll()
180 mlx5e_handle_rx_dim(xskrq); in mlx5e_napi_poll()
183 mlx5e_cq_arm(&xskrq->cq); in mlx5e_napi_poll()
Den.h723 struct mlx5e_rq xskrq; member
753 struct mlx5e_rq_stats xskrq; member
Den_main.c406 rq->stats = &c->priv->channel_stats[c->ix].xskrq; in mlx5e_alloc_rq()
3533 struct mlx5e_rq_stats *xskrq_stats = &channel_stats->xskrq; in mlx5e_fold_sw_stats64()
4459 clear_bit(MLX5E_RQ_STATE_ENABLED, &c->xskrq.state); in mlx5e_xdp_set()
4468 old_prog = xchg(&c->xskrq.xdp_prog, prog); in mlx5e_xdp_set()
4475 set_bit(MLX5E_RQ_STATE_ENABLED, &c->xskrq.state); in mlx5e_xdp_set()
Den_stats.c185 struct mlx5e_rq_stats *xskrq_stats = &channel_stats->xskrq; in mlx5e_grp_sw_update_stats()
1638 MLX5E_READ_CTR64_CPU(&priv->channel_stats[i].xskrq, in mlx5e_grp_channels_fill_stats()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dsetup.c81 err = mlx5e_open_cq(c, params->rx_cq_moderation, &cparam->rx_cq, &c->xskrq.cq); in mlx5e_open_xsk()
85 err = mlx5e_open_rq(c, params, &cparam->rq, xsk, umem, &c->xskrq); in mlx5e_open_xsk()
132 mlx5e_close_rq(&c->xskrq); in mlx5e_open_xsk()
135 mlx5e_close_cq(&c->xskrq.cq); in mlx5e_open_xsk()
148 mlx5e_close_rq(&c->xskrq); in mlx5e_close_xsk()
149 mlx5e_close_cq(&c->xskrq.cq); in mlx5e_close_xsk()
159 set_bit(MLX5E_RQ_STATE_ENABLED, &c->xskrq.state); in mlx5e_activate_xsk()
169 mlx5e_deactivate_rq(&c->xskrq); in mlx5e_deactivate_xsk()
190 return mlx5e_redirect_xsk_rqt(priv, c->ix, c->xskrq.rqn); in mlx5e_xsk_redirect_rqt_to_channel()