Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c740 int frag_size_max = DEFAULT_FRAG_SIZE; in mlx5e_build_rq_frags_info() local
767 first_frag_size_max = SKB_WITH_OVERHEAD(frag_size_max - headroom); in mlx5e_build_rq_frags_info()
769 max_mtu = mlx5e_max_nonlinear_mtu(first_frag_size_max, frag_size_max, in mlx5e_build_rq_frags_info()
772 frag_size_max = PAGE_SIZE; in mlx5e_build_rq_frags_info()
773 first_frag_size_max = SKB_WITH_OVERHEAD(frag_size_max - headroom); in mlx5e_build_rq_frags_info()
775 max_mtu = mlx5e_max_nonlinear_mtu(first_frag_size_max, frag_size_max, in mlx5e_build_rq_frags_info()
791 frag_size = min(frag_size, frag_size_max); in mlx5e_build_rq_frags_info()
798 info->arr[i].frag_stride = frag_size_max; in mlx5e_build_rq_frags_info()
817 if (frag_size_max == PAGE_SIZE) { in mlx5e_build_rq_frags_info()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c1066 int frag_size_max = 2048, buf_size = 0; in mlx4_en_calc_rx_buf() local
1070 frag_size_max = PAGE_SIZE; in mlx4_en_calc_rx_buf()
1077 frag_size = min(frag_size, frag_size_max); in mlx4_en_calc_rx_buf()