Lines Matching refs:max_frame
3362 int max_frame = netdev->mtu + ETH_HLEN + ETH_FCS_LEN; in ixgbe_set_rx_buffer_len() local
3370 (max_frame < IXGBE_FCOE_JUMBO_FRAME_SIZE)) in ixgbe_set_rx_buffer_len()
3371 max_frame = IXGBE_FCOE_JUMBO_FRAME_SIZE; in ixgbe_set_rx_buffer_len()
3376 if (max_frame < (ETH_FRAME_LEN + ETH_FCS_LEN)) in ixgbe_set_rx_buffer_len()
3377 max_frame = (ETH_FRAME_LEN + ETH_FCS_LEN); in ixgbe_set_rx_buffer_len()
3380 if (max_frame != (mhadd >> IXGBE_MHADD_MFS_SHIFT)) { in ixgbe_set_rx_buffer_len()
3382 mhadd |= max_frame << IXGBE_MHADD_MFS_SHIFT; in ixgbe_set_rx_buffer_len()
3774 int max_frame = adapter->netdev->mtu + ETH_HLEN + ETH_FCS_LEN; in ixgbe_configure_dcb() local
3787 max_frame = max(max_frame, IXGBE_FCOE_JUMBO_FRAME_SIZE); in ixgbe_configure_dcb()
3792 ixgbe_dcb_calculate_tc_credits(hw, &adapter->dcb_cfg, max_frame, in ixgbe_configure_dcb()
3794 ixgbe_dcb_calculate_tc_credits(hw, &adapter->dcb_cfg, max_frame, in ixgbe_configure_dcb()
3800 max_frame); in ixgbe_configure_dcb()
4956 int max_frame = new_mtu + ETH_HLEN + ETH_FCS_LEN; in ixgbe_change_mtu() local
4959 if ((new_mtu < 68) || (max_frame > IXGBE_MAX_JUMBO_FRAME_SIZE)) in ixgbe_change_mtu()
4969 (max_frame > (ETH_FRAME_LEN + ETH_FCS_LEN))) in ixgbe_change_mtu()