Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c694 u32 sum_frag_strides = 0; in mlx5e_rx_compute_wqe_bulk_params() local
701 sum_frag_strides += info->arr[i].frag_stride; in mlx5e_rx_compute_wqe_bulk_params()
706 if (sum_frag_strides > PAGE_SIZE) in mlx5e_rx_compute_wqe_bulk_params()
707 sum_frag_strides = ALIGN(sum_frag_strides, PAGE_SIZE); in mlx5e_rx_compute_wqe_bulk_params()
709 bulk_bound_rq_size_in_bytes = bulk_bound_rq_size * sum_frag_strides; in mlx5e_rx_compute_wqe_bulk_params()
719 wqe_bulk = DIV_ROUND_UP(wqe_bulk_in_bytes, sum_frag_strides); in mlx5e_rx_compute_wqe_bulk_params()