Home
last modified time | relevance | path

Searched refs:mpwqe (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c484 struct mlx5_wq_ll *wq = &rq->mpwqe.wq; in mlx5e_post_rx_mpwqe()
500 struct mlx5e_mpw_info *wi = &rq->mpwqe.info[ix]; in mlx5e_alloc_rx_mpwqe()
520 memcpy(umr_wqe, &rq->mpwqe.umr_wqe, offsetof(struct mlx5e_umr_wqe, inline_mtts)); in mlx5e_alloc_rx_mpwqe()
564 struct mlx5e_mpw_info *wi = &rq->mpwqe.info[ix]; in mlx5e_dealloc_rx_mpwqe()
685 wi->umr.rq->mpwqe.umr_completed++; in mlx5e_poll_ico_cq()
716 struct mlx5_wq_ll *wq = &rq->mpwqe.wq; in mlx5e_post_rx_mpwqes()
717 u8 umr_completed = rq->mpwqe.umr_completed; in mlx5e_post_rx_mpwqes()
728 rq->mpwqe.umr_in_progress -= umr_completed; in mlx5e_post_rx_mpwqes()
729 rq->mpwqe.umr_completed = 0; in mlx5e_post_rx_mpwqes()
732 missing = mlx5_wq_ll_missing(wq) - rq->mpwqe.umr_in_progress; in mlx5e_post_rx_mpwqes()
[all …]
Den_tx.c560 struct mlx5e_tx_mpwqe *session = &sq->mpwqe; in mlx5e_tx_mpwqe_same_eseg()
569 struct mlx5e_tx_mpwqe *session = &sq->mpwqe; in mlx5e_tx_mpwqe_session_start()
592 return sq->mpwqe.wqe; in mlx5e_tx_mpwqe_session_is_active()
597 struct mlx5e_tx_mpwqe *session = &sq->mpwqe; in mlx5e_tx_mpwqe_add_dseg()
615 struct mlx5e_tx_mpwqe *session = &sq->mpwqe; in mlx5e_tx_mpwqe_session_complete()
672 if (unlikely(mlx5e_tx_mpwqe_is_full(&sq->mpwqe))) { in mlx5e_sq_xmit_mpwqe()
Den_main.c223 int wq_sz = mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_rq_alloc_mpwqe_info()
225 rq->mpwqe.info = kvzalloc_node(array_size(wq_sz, in mlx5e_rq_alloc_mpwqe_info()
226 sizeof(*rq->mpwqe.info)), in mlx5e_rq_alloc_mpwqe_info()
228 if (!rq->mpwqe.info) in mlx5e_rq_alloc_mpwqe_info()
231 mlx5e_build_umr_wqe(rq, rq->icosq, &rq->mpwqe.umr_wqe); in mlx5e_rq_alloc_mpwqe_info()
289 u64 num_mtts = MLX5E_REQUIRED_MTTS(mlx5_wq_ll_get_size(&rq->mpwqe.wq)); in mlx5e_create_rq_umr_mkey()
434 err = mlx5_wq_ll_create(mdev, &rqp->wq, rqc_wq, &rq->mpwqe.wq, in mlx5e_alloc_rq()
443 rq->mpwqe.wq.db = &rq->mpwqe.wq.db[MLX5_RCV_DBR]; in mlx5e_alloc_rq()
445 wq_sz = mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_alloc_rq()
450 rq->mpwqe.log_stride_sz = mlx5e_mpwqe_get_log_stride_size(mdev, params, xsk); in mlx5e_alloc_rq()
[all …]
Den.h381 struct mlx5e_tx_mpwqe mpwqe; member
493 struct mlx5e_tx_mpwqe mpwqe; member
632 } mpwqe; member
Den_stats.c254 s->tx_xdp_mpwqe += xdpsq_red_stats->mpwqe; in mlx5e_stats_grp_sw_update_stats_xdp_red()
266 s->rx_xdp_tx_mpwqe += xdpsq_stats->mpwqe; in mlx5e_stats_grp_sw_update_stats_xdpsq()
278 s->tx_xsk_mpwqe += xsksq_stats->mpwqe; in mlx5e_stats_grp_sw_update_stats_xsksq()
1830 { MLX5E_DECLARE_RQ_XDPSQ_STAT(struct mlx5e_xdpsq_stats, mpwqe) },
1840 { MLX5E_DECLARE_XDPSQ_STAT(struct mlx5e_xdpsq_stats, mpwqe) },
1872 { MLX5E_DECLARE_XSKSQ_STAT(struct mlx5e_xdpsq_stats, mpwqe) },
Den_stats.h398 u64 mpwqe; member
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtxrx.h316 mlx5_wq_ll_reset(&rq->mpwqe.wq); in mlx5e_rqwq_reset()
317 rq->mpwqe.actual_wq_head = 0; in mlx5e_rqwq_reset()
343 return mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_rqwq_get_size()
353 return rq->mpwqe.wq.cur_sz; in mlx5e_rqwq_get_cur_sz()
363 return mlx5_wq_ll_get_head(&rq->mpwqe.wq); in mlx5e_rqwq_get_head()
373 return mlx5_wq_ll_get_counter(&rq->mpwqe.wq); in mlx5e_rqwq_get_wqe_counter()
Dxdp.c197 struct mlx5e_tx_mpwqe *session = &sq->mpwqe; in mlx5e_xdp_mpwqe_session_start()
214 stats->mpwqe++; in mlx5e_xdp_mpwqe_session_start()
220 struct mlx5e_tx_mpwqe *session = &sq->mpwqe; in mlx5e_xdp_mpwqe_complete()
247 if (unlikely(!sq->mpwqe.wqe)) { in mlx5e_xmit_xdp_frame_check_mpwqe()
268 struct mlx5e_tx_mpwqe *session = &sq->mpwqe; in mlx5e_xmit_xdp_frame_mpwqe()
550 if (sq->mpwqe.wqe) in mlx5e_xdp_xmit()
562 if (xdpsq->mpwqe.wqe) in mlx5e_xdp_rx_poll_complete()
Dxdp.h144 struct mlx5e_tx_mpwqe *session = &sq->mpwqe; in mlx5e_xdp_mpwqe_add_dseg()
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dtx.c108 if (sq->mpwqe.wqe) in mlx5e_xsk_tx()
118 if (sq->mpwqe.wqe) in mlx5e_xsk_tx()