Searched refs:mpwqe (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 455 struct mlx5_wq_ll *wq = &rq->mpwqe.wq; in mlx5e_post_rx_mpwqe() 486 struct mlx5e_mpw_info *wi = &rq->mpwqe.info[ix]; in mlx5e_alloc_rx_mpwqe() 510 memcpy(umr_wqe, &rq->mpwqe.umr_wqe, offsetof(struct mlx5e_umr_wqe, inline_mtts)); in mlx5e_alloc_rx_mpwqe() 549 struct mlx5e_mpw_info *wi = &rq->mpwqe.info[ix]; in mlx5e_dealloc_rx_mpwqe() 634 wi->umr.rq->mpwqe.umr_completed++; in mlx5e_poll_ico_cq() 655 struct mlx5_wq_ll *wq = &rq->mpwqe.wq; in mlx5e_post_rx_mpwqes() 656 u8 umr_completed = rq->mpwqe.umr_completed; in mlx5e_post_rx_mpwqes() 666 rq->mpwqe.umr_in_progress -= umr_completed; in mlx5e_post_rx_mpwqes() 667 rq->mpwqe.umr_completed = 0; in mlx5e_post_rx_mpwqes() 670 missing = mlx5_wq_ll_missing(wq) - rq->mpwqe.umr_in_progress; in mlx5e_post_rx_mpwqes() [all …]
|
D | en_main.c | 254 int wq_sz = mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_rq_alloc_mpwqe_info() 256 rq->mpwqe.info = kvzalloc_node(array_size(wq_sz, in mlx5e_rq_alloc_mpwqe_info() 257 sizeof(*rq->mpwqe.info)), in mlx5e_rq_alloc_mpwqe_info() 259 if (!rq->mpwqe.info) in mlx5e_rq_alloc_mpwqe_info() 262 mlx5e_build_umr_wqe(rq, &c->icosq, &rq->mpwqe.umr_wqe); in mlx5e_rq_alloc_mpwqe_info() 303 u64 num_mtts = MLX5E_REQUIRED_MTTS(mlx5_wq_ll_get_size(&rq->mpwqe.wq)); in mlx5e_create_rq_umr_mkey() 432 err = mlx5_wq_ll_create(mdev, &rqp->wq, rqc_wq, &rq->mpwqe.wq, in mlx5e_alloc_rq() 437 rq->mpwqe.wq.db = &rq->mpwqe.wq.db[MLX5_RCV_DBR]; in mlx5e_alloc_rq() 439 wq_sz = mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_alloc_rq() 465 rq->mpwqe.skb_from_cqe_mpwrq = xsk ? in mlx5e_alloc_rq() [all …]
|
D | en.h | 516 struct mlx5e_xdp_mpwqe mpwqe; member 648 } mpwqe; member 923 return mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_rqwq_get_size() 933 return rq->mpwqe.wq.cur_sz; in mlx5e_rqwq_get_cur_sz()
|
D | en_stats.c | 205 s->rx_xdp_tx_mpwqe += xdpsq_stats->mpwqe; in mlx5e_grp_sw_update_stats() 234 s->tx_xdp_mpwqe += xdpsq_red_stats->mpwqe; in mlx5e_grp_sw_update_stats() 261 s->tx_xsk_mpwqe += xsksq_stats->mpwqe; in mlx5e_grp_sw_update_stats() 1496 { MLX5E_DECLARE_RQ_XDPSQ_STAT(struct mlx5e_xdpsq_stats, mpwqe) }, 1506 { MLX5E_DECLARE_XDPSQ_STAT(struct mlx5e_xdpsq_stats, mpwqe) }, 1538 { MLX5E_DECLARE_XSKSQ_STAT(struct mlx5e_xdpsq_stats, mpwqe) },
|
D | en_stats.h | 297 u64 mpwqe; member
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 183 struct mlx5e_xdp_mpwqe *session = &sq->mpwqe; in mlx5e_xdp_mpwqe_session_start() 202 stats->mpwqe++; in mlx5e_xdp_mpwqe_session_start() 208 struct mlx5e_xdp_mpwqe *session = &sq->mpwqe; in mlx5e_xdp_mpwqe_complete() 235 if (unlikely(!sq->mpwqe.wqe)) { in mlx5e_xmit_xdp_frame_check_mpwqe() 255 struct mlx5e_xdp_mpwqe *session = &sq->mpwqe; in mlx5e_xmit_xdp_frame_mpwqe() 523 if (sq->mpwqe.wqe) in mlx5e_xdp_xmit() 535 if (xdpsq->mpwqe.wqe) in mlx5e_xdp_rx_poll_complete()
|
D | xdp.h | 121 struct mlx5e_xdp_mpwqe *session = &sq->mpwqe; in mlx5e_xdp_update_inline_state() 166 struct mlx5e_xdp_mpwqe *session = &sq->mpwqe; in mlx5e_xdp_mpwqe_add_dseg()
|
D | reporter_rx.c | 258 rq->mpwqe.wq.head : mlx5_wq_cyc_get_head(&rq->wqe.wq); in mlx5e_rx_reporter_build_diagnose_output()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | tx.c | 100 if (sq->mpwqe.wqe) in mlx5e_xsk_tx() 110 if (sq->mpwqe.wqe) in mlx5e_xsk_tx()
|