Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Drx.h12 int mlx5e_xsk_alloc_rx_wqes_batched(struct mlx5e_rq *rq, u16 ix, int wqe_bulk);
13 int mlx5e_xsk_alloc_rx_wqes(struct mlx5e_rq *rq, u16 ix, int wqe_bulk);
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c407 static void mlx5e_xsk_free_rx_wqes(struct mlx5e_rq *rq, u16 ix, int wqe_bulk) in mlx5e_xsk_free_rx_wqes() argument
412 for (i = 0; i < wqe_bulk; i++) { in mlx5e_xsk_free_rx_wqes()
425 static void mlx5e_free_rx_wqes(struct mlx5e_rq *rq, u16 ix, int wqe_bulk) in mlx5e_free_rx_wqes() argument
430 for (i = 0; i < wqe_bulk; i++) { in mlx5e_free_rx_wqes()
439 static int mlx5e_alloc_rx_wqes(struct mlx5e_rq *rq, u16 ix, int wqe_bulk) in mlx5e_alloc_rx_wqes() argument
444 for (i = 0; i < wqe_bulk; i++) { in mlx5e_alloc_rx_wqes()
457 static int mlx5e_refill_rx_wqes(struct mlx5e_rq *rq, u16 ix, int wqe_bulk) in mlx5e_refill_rx_wqes() argument
459 int remaining = wqe_bulk; in mlx5e_refill_rx_wqes()
887 int wqe_bulk, count; in mlx5e_post_rx_wqes() local
894 if (mlx5_wq_cyc_missing(wq) < rq->wqe.info.wqe_bulk) in mlx5e_post_rx_wqes()
[all …]
H A Den.h613 u16 wqe_bulk; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c643 u32 wqe_bulk; in mlx5e_rx_compute_wqe_bulk_params() local
665 wqe_bulk = DIV_ROUND_UP(wqe_bulk_in_bytes, sum_frag_strides); in mlx5e_rx_compute_wqe_bulk_params()
670 info->wqe_bulk = max_t(u16, info->wqe_index_mask + 1, wqe_bulk); in mlx5e_rx_compute_wqe_bulk_params()
674 info->refill_unit = DIV_ROUND_UP(info->wqe_bulk, split_factor); in mlx5e_rx_compute_wqe_bulk_params()
792 __func__, info->wqe_bulk, info->refill_unit); in mlx5e_build_rq_frags_info()