Home
last modified time | relevance | path

Searched refs:xskrq (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Dsetup.c83 rq->stats = &c->priv->channel_stats[c->ix]->xskrq; in mlx5e_init_xsk_rq()
98 struct mlx5e_rq *xskrq = &c->xskrq; in mlx5e_open_xsk_rq() local
101 err = mlx5e_init_xsk_rq(c, params, pool, xsk, xskrq); in mlx5e_open_xsk_rq()
105 err = mlx5e_open_rq(params, rq_params, xsk, cpu_to_node(c->cpu), q_counter, xskrq); in mlx5e_open_xsk_rq()
109 __set_bit(MLX5E_RQ_STATE_XSK, &xskrq->state); in mlx5e_open_xsk_rq()
133 &c->xskrq.cq); in mlx5e_open_xsk()
166 mlx5e_close_rq(&c->xskrq); in mlx5e_open_xsk()
169 mlx5e_close_cq(&c->xskrq.cq); in mlx5e_open_xsk()
182 mlx5e_close_rq(&c->xskrq); in mlx5e_close_xsk()
183 mlx5e_close_cq(&c->xskrq.cq); in mlx5e_close_xsk()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_rx.c78 struct mlx5e_rq *xskrq = NULL; in mlx5e_rx_reporter_err_icosq_cqe_recover() local
92 if (test_bit(MLX5E_RQ_STATE_ENABLED, &icosq->channel->xskrq.state)) in mlx5e_rx_reporter_err_icosq_cqe_recover()
93 xskrq = &icosq->channel->xskrq; in mlx5e_rx_reporter_err_icosq_cqe_recover()
107 if (xskrq) in mlx5e_rx_reporter_err_icosq_cqe_recover()
108 mlx5e_deactivate_rq(xskrq); in mlx5e_rx_reporter_err_icosq_cqe_recover()
125 if (xskrq) in mlx5e_rx_reporter_err_icosq_cqe_recover()
126 mlx5e_free_rx_missing_descs(xskrq); in mlx5e_rx_reporter_err_icosq_cqe_recover()
134 if (xskrq) { in mlx5e_rx_reporter_err_icosq_cqe_recover()
135 mlx5e_activate_rq(xskrq); in mlx5e_rx_reporter_err_icosq_cqe_recover()
136 xskrq->stats->recover++; in mlx5e_rx_reporter_err_icosq_cqe_recover()
[all …]
H A Dchannels.c44 *rqn = c->xskrq.rqn; in mlx5e_channels_get_xsk_rqn()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den.h760 struct mlx5e_rq xskrq; member
802 struct mlx5e_rq_stats xskrq; member
H A Den_stats.c550 mlx5e_stats_grp_sw_update_stats_xskrq(s, &channel_stats->xskrq); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
2507 &priv->channel_stats[i]->xskrq, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
H A Den_main.c3879 struct mlx5e_rq_stats *xskrq_stats = &channel_stats->xskrq; in mlx5e_fold_sw_stats64()
5099 mlx5e_rq_replace_xdp_prog(&c->xskrq, prog); in mlx5e_xdp_set()
5350 xskrq_stats = &channel_stats->xskrq; in mlx5e_get_queue_stats_rx()