Searched refs:eff_mtu (Results 1 – 1 of 1) sorted by relevance
1053 int eff_mtu = MLX4_EN_EFF_MTU(dev->mtu); in mlx4_en_calc_rx_buf() local1060 priv->frag_info[0].frag_size = eff_mtu; in mlx4_en_calc_rx_buf()1072 if (eff_mtu > PAGE_SIZE + (MLX4_EN_MAX_RX_FRAGS - 1) * 2048) in mlx4_en_calc_rx_buf()1075 while (buf_size < eff_mtu) { in mlx4_en_calc_rx_buf()1076 int frag_stride, frag_size = eff_mtu - buf_size; in mlx4_en_calc_rx_buf()1100 priv->rx_skb_size = eff_mtu; in mlx4_en_calc_rx_buf()1104 eff_mtu, priv->num_frags); in mlx4_en_calc_rx_buf()