Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c21 u8 req_page_shift = xsk ? order_base_2(xsk->chunk_size) : PAGE_SHIFT; in mlx5e_mpwrq_page_shift() local
25 if (WARN_ON_ONCE(!xsk && req_page_shift < min_page_shift)) in mlx5e_mpwrq_page_shift()
26 min_page_shift = req_page_shift; in mlx5e_mpwrq_page_shift()
28 return max(req_page_shift, min_page_shift); in mlx5e_mpwrq_page_shift()