Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c640 u32 sum_frag_strides = 0; in mlx5e_rx_compute_wqe_bulk_params() local
647 sum_frag_strides += info->arr[i].frag_stride; in mlx5e_rx_compute_wqe_bulk_params()
652 if (sum_frag_strides > PAGE_SIZE) in mlx5e_rx_compute_wqe_bulk_params()
653 sum_frag_strides = ALIGN(sum_frag_strides, PAGE_SIZE); in mlx5e_rx_compute_wqe_bulk_params()
655 bulk_bound_rq_size_in_bytes = bulk_bound_rq_size * sum_frag_strides; in mlx5e_rx_compute_wqe_bulk_params()
665 wqe_bulk = DIV_ROUND_UP(wqe_bulk_in_bytes, sum_frag_strides); in mlx5e_rx_compute_wqe_bulk_params()