Searched refs:umr_mode (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | params.c | 103 enum mlx5e_mpwrq_umr_mode umr_mode) in mlx5e_mpwrq_log_wqe_sz() argument 105 u8 umr_entry_size = mlx5e_mpwrq_umr_entry_size(umr_mode); in mlx5e_mpwrq_log_wqe_sz() 121 enum mlx5e_mpwrq_umr_mode umr_mode) in mlx5e_mpwrq_pages_per_wqe() argument 123 u8 log_wqe_sz = mlx5e_mpwrq_log_wqe_sz(mdev, page_shift, umr_mode); in mlx5e_mpwrq_pages_per_wqe() 132 if (WARN_ON_ONCE(pages_per_wqe < 2 && umr_mode == MLX5E_MPWRQ_UMR_MODE_ALIGNED)) in mlx5e_mpwrq_pages_per_wqe() 144 enum mlx5e_mpwrq_umr_mode umr_mode) in mlx5e_mpwrq_umr_wqe_sz() argument 146 u8 pages_per_wqe = mlx5e_mpwrq_pages_per_wqe(mdev, page_shift, umr_mode); in mlx5e_mpwrq_umr_wqe_sz() 147 u8 umr_entry_size = mlx5e_mpwrq_umr_entry_size(umr_mode); in mlx5e_mpwrq_umr_wqe_sz() 159 enum mlx5e_mpwrq_umr_mode umr_mode) in mlx5e_mpwrq_umr_wqebbs() argument 161 return DIV_ROUND_UP(mlx5e_mpwrq_umr_wqe_sz(mdev, page_shift, umr_mode), in mlx5e_mpwrq_umr_wqebbs() [all …]
|
D | params.h | 64 enum mlx5e_mpwrq_umr_mode umr_mode); 66 enum mlx5e_mpwrq_umr_mode umr_mode); 68 enum mlx5e_mpwrq_umr_mode umr_mode); 70 enum mlx5e_mpwrq_umr_mode umr_mode); 72 enum mlx5e_mpwrq_umr_mode umr_mode); 74 enum mlx5e_mpwrq_umr_mode umr_mode); 76 enum mlx5e_mpwrq_umr_mode umr_mode);
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | rx.c | 54 if (likely(rq->mpwqe.umr_mode == MLX5E_MPWRQ_UMR_MODE_ALIGNED)) { in mlx5e_xsk_alloc_rx_mpwqe() 64 } else if (unlikely(rq->mpwqe.umr_mode == MLX5E_MPWRQ_UMR_MODE_UNALIGNED)) { in mlx5e_xsk_alloc_rx_mpwqe() 75 } else if (likely(rq->mpwqe.umr_mode == MLX5E_MPWRQ_UMR_MODE_TRIPLE)) { in mlx5e_xsk_alloc_rx_mpwqe() 131 if (likely(rq->mpwqe.umr_mode == MLX5E_MPWRQ_UMR_MODE_ALIGNED)) in mlx5e_xsk_alloc_rx_mpwqe() 133 else if (unlikely(rq->mpwqe.umr_mode == MLX5E_MPWRQ_UMR_MODE_OVERSIZED)) in mlx5e_xsk_alloc_rx_mpwqe() 135 else if (unlikely(rq->mpwqe.umr_mode == MLX5E_MPWRQ_UMR_MODE_TRIPLE)) in mlx5e_xsk_alloc_rx_mpwqe()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_main.c | 100 enum mlx5e_mpwrq_umr_mode umr_mode) in mlx5e_check_fragmented_striding_rq_cap() argument 110 umr_wqebbs = mlx5e_mpwrq_umr_wqebbs(mdev, page_shift, umr_mode); in mlx5e_check_fragmented_striding_rq_cap() 300 static u16 mlx5e_mpwrq_umr_octowords(u32 entries, enum mlx5e_mpwrq_umr_mode umr_mode) in mlx5e_mpwrq_umr_octowords() argument 302 u8 umr_entry_size = mlx5e_mpwrq_umr_entry_size(umr_mode); in mlx5e_mpwrq_umr_octowords() 320 rq->mpwqe.umr_mode), in mlx5e_build_umr_wqe() 328 octowords = mlx5e_mpwrq_umr_octowords(rq->mpwqe.pages_per_wqe, rq->mpwqe.umr_mode); in mlx5e_build_umr_wqe() 407 static u8 mlx5e_mpwrq_access_mode(enum mlx5e_mpwrq_umr_mode umr_mode) in mlx5e_mpwrq_access_mode() argument 409 switch (umr_mode) { in mlx5e_mpwrq_access_mode() 419 WARN_ONCE(1, "MPWRQ UMR mode %d is not known\n", umr_mode); in mlx5e_mpwrq_access_mode() 426 enum mlx5e_mpwrq_umr_mode umr_mode, in mlx5e_create_umr_mkey() argument [all …]
|
D | en.h | 679 u8 umr_mode; member 999 enum mlx5e_mpwrq_umr_mode umr_mode);
|