Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec.c102 struct mlx5e_macsec_umr *umr; member
178 struct mlx5e_macsec_umr *umr; in mlx5e_macsec_aso_reg_mr() local
183 umr = kzalloc(sizeof(*umr), GFP_KERNEL); in mlx5e_macsec_aso_reg_mr()
184 if (!umr) { in mlx5e_macsec_aso_reg_mr()
190 dma_addr = dma_map_single(dma_device, umr->ctx, sizeof(umr->ctx), DMA_BIDIRECTIONAL); in mlx5e_macsec_aso_reg_mr()
197 err = mlx5e_create_mkey(mdev, aso->pdn, &umr->mkey); in mlx5e_macsec_aso_reg_mr()
203 umr->dma_addr = dma_addr; in mlx5e_macsec_aso_reg_mr()
205 aso->umr = umr; in mlx5e_macsec_aso_reg_mr()
210 dma_unmap_single(dma_device, dma_addr, sizeof(umr->ctx), DMA_BIDIRECTIONAL); in mlx5e_macsec_aso_reg_mr()
212 kfree(umr); in mlx5e_macsec_aso_reg_mr()
[all …]
/Linux-v6.1/drivers/infiniband/hw/mlx5/
Dwr.c161 static void set_reg_umr_seg(struct mlx5_wqe_umr_ctrl_seg *umr, in set_reg_umr_seg() argument
166 memset(umr, 0, sizeof(*umr)); in set_reg_umr_seg()
168 umr->flags = flags; in set_reg_umr_seg()
169 umr->xlt_octowords = cpu_to_be16(mlx5r_umr_get_xlt_octo(size)); in set_reg_umr_seg()
170 umr->mkey_mask = frwr_mkey_mask(atomic); in set_reg_umr_seg()
173 static void set_linv_umr_seg(struct mlx5_wqe_umr_ctrl_seg *umr) in set_linv_umr_seg() argument
175 memset(umr, 0, sizeof(*umr)); in set_linv_umr_seg()
176 umr->mkey_mask = cpu_to_be64(MLX5_MKEY_MASK_FREE); in set_linv_umr_seg()
177 umr->flags = MLX5_UMR_INLINE; in set_linv_umr_seg()
546 static void set_sig_umr_segment(struct mlx5_wqe_umr_ctrl_seg *umr, in set_sig_umr_segment() argument
[all …]
DMakefile22 umr.o \
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Drx.c124 .umr.rq = rq, in mlx5e_xsk_alloc_rx_mpwqe()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtxrx.h197 } umr; member
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c692 .umr.rq = rq, in mlx5e_alloc_rx_mpwqe()
835 static void mlx5e_handle_shampo_hd_umr(struct mlx5e_shampo_umr umr, in mlx5e_handle_shampo_hd_umr() argument
842 int end, from, len = umr.len; in mlx5e_handle_shampo_hd_umr()
854 shampo->ci = (shampo->ci + umr.len) & (shampo->hd_per_wq - 1); in mlx5e_handle_shampo_hd_umr()
909 wi->umr.rq->mpwqe.umr_completed++; in mlx5e_poll_ico_cq()