*/
if (adapter->flags2 & IXGBE_FLAG2_RSC_ENABLED) {
adapter->flags2 &= ~IXGBE_FLAG2_RSC_ENABLED;
- netdev->features &= ~NETIF_F_LRO;
- e_info("rx-usecs set to 0, disabling RSC\n");
-
+ if (netdev->features & NETIF_F_LRO) {
+ netdev->features &= ~NETIF_F_LRO;
- DPRINTK(PROBE, INFO, "rx-usecs set to 0, "
- "disabling LRO/RSC\n");
++ e_info("rx-usecs set to 0, disabling RSC\n");
+ }
need_reset = true;
}
}
}
} else if (!adapter->rx_itr_setting) {
netdev->features &= ~ETH_FLAG_LRO;
- DPRINTK(PROBE, INFO, "rx-usecs set to 0, "
+ if (data & ETH_FLAG_LRO)
++ e_info("rx-usecs set to 0, "
+ "LRO/RSC cannot be enabled.\n");
}
}