Home
last modified time | relevance | path

Searched refs:umr_wqe (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Drx.c24 struct mlx5e_umr_wqe *umr_wqe; in mlx5e_xsk_alloc_rx_mpwqe() local
51 umr_wqe = mlx5_wq_cyc_get_wqe(wq, pi); in mlx5e_xsk_alloc_rx_mpwqe()
52 memcpy(umr_wqe, &rq->mpwqe.umr_wqe, sizeof(struct mlx5e_umr_wqe)); in mlx5e_xsk_alloc_rx_mpwqe()
59 umr_wqe->inline_mtts[i] = (struct mlx5_mtt) { in mlx5e_xsk_alloc_rx_mpwqe()
69 umr_wqe->inline_ksms[i] = (struct mlx5_ksm) { in mlx5e_xsk_alloc_rx_mpwqe()
82 umr_wqe->inline_ksms[i << 2] = (struct mlx5_ksm) { in mlx5e_xsk_alloc_rx_mpwqe()
86 umr_wqe->inline_ksms[(i << 2) + 1] = (struct mlx5_ksm) { in mlx5e_xsk_alloc_rx_mpwqe()
90 umr_wqe->inline_ksms[(i << 2) + 2] = (struct mlx5_ksm) { in mlx5e_xsk_alloc_rx_mpwqe()
94 umr_wqe->inline_ksms[(i << 2) + 3] = (struct mlx5_ksm) { in mlx5e_xsk_alloc_rx_mpwqe()
109 umr_wqe->inline_klms[i << 1] = (struct mlx5_klm) { in mlx5e_xsk_alloc_rx_mpwqe()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c622 static void build_klm_umr(struct mlx5e_icosq *sq, struct mlx5e_umr_wqe *umr_wqe, in build_klm_umr() argument
625 memset(umr_wqe, 0, offsetof(struct mlx5e_umr_wqe, inline_klms)); in build_klm_umr()
626 umr_wqe->ctrl.opmod_idx_opcode = in build_klm_umr()
629 umr_wqe->ctrl.umr_mkey = key; in build_klm_umr()
630 umr_wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << MLX5_WQE_CTRL_QPN_SHIFT) in build_klm_umr()
632 umr_wqe->uctrl.flags = MLX5_UMR_TRANSLATION_OFFSET_EN | MLX5_UMR_INLINE; in build_klm_umr()
633 umr_wqe->uctrl.xlt_offset = cpu_to_be16(offset); in build_klm_umr()
634 umr_wqe->uctrl.xlt_octowords = cpu_to_be16(klm_len); in build_klm_umr()
635 umr_wqe->uctrl.mkey_mask = cpu_to_be64(MLX5_MKEY_MASK_FREE); in build_klm_umr()
649 struct mlx5e_umr_wqe *umr_wqe; in mlx5e_build_shampo_hd_umr() local
[all …]
Den.h670 struct mlx5e_umr_wqe umr_wqe; member
Den_main.c313 mlx5e_build_umr_wqe(rq, rq->icosq, &rq->mpwqe.umr_wqe); in mlx5e_rq_alloc_mpwqe_info()