Searched refs:frag_size_max (Results 1 – 2 of 2) sorted by relevance
686 int frag_size_max = DEFAULT_FRAG_SIZE; in mlx5e_build_rq_frags_info() local713 first_frag_size_max = SKB_WITH_OVERHEAD(frag_size_max - headroom); in mlx5e_build_rq_frags_info()715 max_mtu = mlx5e_max_nonlinear_mtu(first_frag_size_max, frag_size_max, in mlx5e_build_rq_frags_info()718 frag_size_max = PAGE_SIZE; in mlx5e_build_rq_frags_info()719 first_frag_size_max = SKB_WITH_OVERHEAD(frag_size_max - headroom); in mlx5e_build_rq_frags_info()721 max_mtu = mlx5e_max_nonlinear_mtu(first_frag_size_max, frag_size_max, in mlx5e_build_rq_frags_info()737 frag_size = min(frag_size, frag_size_max); in mlx5e_build_rq_frags_info()744 info->arr[i].frag_stride = frag_size_max; in mlx5e_build_rq_frags_info()763 if (frag_size_max == PAGE_SIZE) { in mlx5e_build_rq_frags_info()
1069 int frag_size_max = 2048, buf_size = 0; in mlx4_en_calc_rx_buf() local1073 frag_size_max = PAGE_SIZE; in mlx4_en_calc_rx_buf()1080 frag_size = min(frag_size, frag_size_max); in mlx4_en_calc_rx_buf()