Commit b352e40d authored by Yi Zou's avatar Yi Zou Committed by David S. Miller
Browse files

ixgbe: Fix gso_max_size for 82599 when DCB is enabled

The 32k gso_max_size when DCB is enabled is for 82598 only, not for 82599.
Signed-off-by: default avatarYi Zou <>
Acked-by: default avatarPeter P Waskiewicz Jr <>
Signed-off-by: default avatarJeff Kirsher <>
Signed-off-by: default avatarDavid S. Miller <>
parent dcaa6a94
......@@ -2471,7 +2471,10 @@ static void ixgbe_configure(struct ixgbe_adapter *adapter)
if (adapter->flags & IXGBE_FLAG_DCB_ENABLED) {
netif_set_gso_max_size(netdev, 32768);
if (hw->mac.type == ixgbe_mac_82598EB)
netif_set_gso_max_size(netdev, 32768);
netif_set_gso_max_size(netdev, 65536);
} else {
netif_set_gso_max_size(netdev, 65536);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment