Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_txrx.c88 busy |= mlx5e_poll_xdpsq_cq(&c->xdpsq.cq); in mlx5e_napi_poll()
91 busy |= mlx5e_poll_xdpsq_cq(&c->rq.xdpsq.cq); in mlx5e_napi_poll()
122 mlx5e_cq_arm(&c->xdpsq.cq); in mlx5e_napi_poll()
Den_rx.c1174 struct mlx5e_xdpsq *xdpsq; in mlx5e_poll_rx_cq() local
1188 xdpsq = &rq->xdpsq; in mlx5e_poll_rx_cq()
1203 if (xdpsq->doorbell) { in mlx5e_poll_rx_cq()
1204 mlx5e_xmit_xdp_doorbell(xdpsq); in mlx5e_poll_rx_cq()
1205 xdpsq->doorbell = false; in mlx5e_poll_rx_cq()
1208 if (xdpsq->redirect_flush) { in mlx5e_poll_rx_cq()
1210 xdpsq->redirect_flush = false; in mlx5e_poll_rx_cq()
Den.h574 struct mlx5e_xdpsq xdpsq; member
603 struct mlx5e_xdpsq xdpsq; member
628 struct mlx5e_xdpsq_stats xdpsq; member
Den_main.c1007 &c->priv->channel_stats[c->ix].xdpsq : in mlx5e_alloc_xdpsq()
1940 err = mlx5e_open_cq(c, params->tx_cq_moderation, &cparam->tx_cq, &c->xdpsq.cq); in mlx5e_open_channel()
1950 &cparam->tx_cq, &c->rq.xdpsq.cq) : 0; in mlx5e_open_channel()
1964 err = c->xdp ? mlx5e_open_xdpsq(c, params, &cparam->xdp_sq, &c->rq.xdpsq, false) : 0; in mlx5e_open_channel()
1972 err = mlx5e_open_xdpsq(c, params, &cparam->xdp_sq, &c->xdpsq, true); in mlx5e_open_channel()
1985 mlx5e_close_xdpsq(&c->rq.xdpsq); in mlx5e_open_channel()
1996 mlx5e_close_cq(&c->rq.xdpsq.cq); in mlx5e_open_channel()
2002 mlx5e_close_cq(&c->xdpsq.cq); in mlx5e_open_channel()
2038 mlx5e_close_xdpsq(&c->xdpsq); in mlx5e_close_channel()
2041 mlx5e_close_xdpsq(&c->rq.xdpsq); in mlx5e_close_channel()
[all …]
Den_stats.c137 struct mlx5e_xdpsq_stats *xdpsq_red_stats = &channel_stats->xdpsq; in mlx5e_grp_sw_update_stats()
1291 MLX5E_READ_CTR64_CPU(&priv->channel_stats[i].xdpsq, in mlx5e_grp_channels_fill_stats()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c78 if (unlikely(!mlx5e_xmit_xdp_buff(&rq->xdpsq, di, &xdp))) in mlx5e_xdp_handle()
88 rq->xdpsq.redirect_flush = true; in mlx5e_xdp_handle()
186 rq = container_of(sq, struct mlx5e_rq, xdpsq); in mlx5e_poll_xdpsq_cq()
237 rq = is_redirect ? NULL : container_of(sq, struct mlx5e_rq, xdpsq); in mlx5e_free_xdpsq_descs()
276 sq = &priv->channels.c[sq_num]->xdpsq; in mlx5e_xdp_xmit()