Searched refs:xskrq (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | setup.c | 71 rq->stats = &c->priv->channel_stats[c->ix].xskrq; in mlx5e_init_xsk_rq() 87 err = mlx5e_init_xsk_rq(c, params, pool, xsk, &c->xskrq); in mlx5e_open_xsk_rq() 91 return mlx5e_open_rq(params, rq_params, xsk, cpu_to_node(c->cpu), &c->xskrq); in mlx5e_open_xsk_rq() 114 &c->xskrq.cq); in mlx5e_open_xsk() 147 mlx5e_close_rq(&c->xskrq); in mlx5e_open_xsk() 150 mlx5e_close_cq(&c->xskrq.cq); in mlx5e_open_xsk() 163 mlx5e_close_rq(&c->xskrq); in mlx5e_close_xsk() 164 mlx5e_close_cq(&c->xskrq.cq); in mlx5e_close_xsk() 168 memset(&c->xskrq, 0, sizeof(c->xskrq)); in mlx5e_close_xsk() 178 set_bit(MLX5E_RQ_STATE_ENABLED, &c->xskrq.state); in mlx5e_activate_xsk() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_txrx.c | 87 static bool mlx5e_napi_xsk_post(struct mlx5e_xdpsq *xsksq, struct mlx5e_rq *xskrq) in mlx5e_napi_xsk_post() argument 104 xsk_rx_alloc_err = INDIRECT_CALL_2(xskrq->post_wqes, in mlx5e_napi_xsk_post() 107 xskrq); in mlx5e_napi_xsk_post() 108 busy_xsk |= mlx5e_xsk_update_rx_wakeup(xskrq, xsk_rx_alloc_err); in mlx5e_napi_xsk_post() 120 struct mlx5e_rq *xskrq = &c->xskrq; in mlx5e_napi_poll() local 163 work_done = mlx5e_poll_rx_cq(&xskrq->cq, budget); in mlx5e_napi_poll() 187 busy_xsk |= mlx5e_napi_xsk_post(xsksq, xskrq); in mlx5e_napi_poll() 231 mlx5e_handle_rx_dim(xskrq); in mlx5e_napi_poll() 233 mlx5e_cq_arm(&xskrq->cq); in mlx5e_napi_poll()
|
D | en.h | 711 struct mlx5e_rq xskrq; member 747 struct mlx5e_rq_stats xskrq; member
|
D | en_stats.c | 465 mlx5e_stats_grp_sw_update_stats_xskrq(s, &channel_stats->xskrq); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 2195 MLX5E_READ_CTR64_CPU(&priv->channel_stats[i].xskrq, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
|
D | en_main.c | 3119 struct mlx5e_rq_stats *xskrq_stats = &channel_stats->xskrq; in mlx5e_fold_sw_stats64() 4155 mlx5e_rq_replace_xdp_prog(&c->xskrq, prog); in mlx5e_xdp_set()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | reporter_rx.c | 62 struct mlx5e_rq *xskrq = NULL; in mlx5e_rx_reporter_err_icosq_cqe_recover() local 76 if (test_bit(MLX5E_RQ_STATE_ENABLED, &icosq->channel->xskrq.state)) in mlx5e_rx_reporter_err_icosq_cqe_recover() 77 xskrq = &icosq->channel->xskrq; in mlx5e_rx_reporter_err_icosq_cqe_recover() 91 if (xskrq) in mlx5e_rx_reporter_err_icosq_cqe_recover() 92 mlx5e_deactivate_rq(xskrq); in mlx5e_rx_reporter_err_icosq_cqe_recover() 109 if (xskrq) in mlx5e_rx_reporter_err_icosq_cqe_recover() 110 mlx5e_free_rx_in_progress_descs(xskrq); in mlx5e_rx_reporter_err_icosq_cqe_recover() 118 if (xskrq) { in mlx5e_rx_reporter_err_icosq_cqe_recover() 119 mlx5e_activate_rq(xskrq); in mlx5e_rx_reporter_err_icosq_cqe_recover() 120 xskrq->stats->recover++; in mlx5e_rx_reporter_err_icosq_cqe_recover()
|
D | channels.c | 33 *rqn = c->xskrq.rqn; in mlx5e_channels_get_xsk_rqn()
|