Searched refs:mpwqe (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 415 struct mlx5_wq_ll *wq = &rq->mpwqe.wq; in mlx5e_post_rx_mpwqe() 418 rq->mpwqe.umr_in_progress = false; in mlx5e_post_rx_mpwqe() 450 struct mlx5e_mpw_info *wi = &rq->mpwqe.info[ix]; in mlx5e_alloc_rx_mpwqe() 469 memcpy(umr_wqe, &rq->mpwqe.umr_wqe, in mlx5e_alloc_rx_mpwqe() 482 rq->mpwqe.umr_in_progress = true; in mlx5e_alloc_rx_mpwqe() 507 struct mlx5e_mpw_info *wi = &rq->mpwqe.info[ix]; in mlx5e_dealloc_rx_mpwqe() 593 struct mlx5_wq_ll *wq = &rq->mpwqe.wq; in mlx5e_post_rx_mpwqes() 603 if (!rq->mpwqe.umr_in_progress) in mlx5e_post_rx_mpwqes() 1064 ALIGN(pg_consumed_bytes, BIT(rq->mpwqe.log_stride_sz)); in mlx5e_skb_from_cqe_mpwrq_nonlinear() 1126 struct mlx5e_mpw_info *wi = &rq->mpwqe.info[wqe_id]; in mlx5e_handle_rx_cqe_mpwrq() [all …]
|
D | en_main.c | 338 return mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_rqwq_get_size() 348 return rq->mpwqe.wq.cur_sz; in mlx5e_rqwq_get_cur_sz() 357 int wq_sz = mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_rq_alloc_mpwqe_info() 359 rq->mpwqe.info = kvzalloc_node(array_size(wq_sz, in mlx5e_rq_alloc_mpwqe_info() 360 sizeof(*rq->mpwqe.info)), in mlx5e_rq_alloc_mpwqe_info() 362 if (!rq->mpwqe.info) in mlx5e_rq_alloc_mpwqe_info() 365 mlx5e_build_umr_wqe(rq, &c->icosq, &rq->mpwqe.umr_wqe); in mlx5e_rq_alloc_mpwqe_info() 406 u64 num_mtts = MLX5E_REQUIRED_MTTS(mlx5_wq_ll_get_size(&rq->mpwqe.wq)); in mlx5e_create_rq_umr_mkey() 514 err = mlx5_wq_ll_create(mdev, &rqp->wq, rqc_wq, &rq->mpwqe.wq, in mlx5e_alloc_rq() 519 rq->mpwqe.wq.db = &rq->mpwqe.wq.db[MLX5_RCV_DBR]; in mlx5e_alloc_rq() [all …]
|
D | en.h | 547 } mpwqe; member
|