|
@@ -4869,7 +4869,7 @@ static int ixgbe_change_mtu(struct net_device *netdev, int new_mtu)
|
|
|
*/
|
|
|
if ((adapter->flags & IXGBE_FLAG_SRIOV_ENABLED) &&
|
|
|
(adapter->hw.mac.type == ixgbe_mac_82599EB) &&
|
|
|
- (max_frame > MAXIMUM_ETHERNET_VLAN_SIZE))
|
|
|
+ (max_frame > (ETH_FRAME_LEN + ETH_FCS_LEN)))
|
|
|
e_warn(probe, "Setting MTU > 1500 will disable legacy VFs\n");
|
|
|
|
|
|
e_info(probe, "changing MTU from %d to %d\n", netdev->mtu, new_mtu);
|