ixgbe: use NETIF_F_LRO
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 1 Jul 2010 13:58:25 +0000 (13:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jul 2010 05:45:58 +0000 (22:45 -0700)
Both ETH_FLAG_LRO and NETIF_F_LRO have the same value, but NETIF_F_LRO
is intended to use with netdev->features.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_ethtool.c

index b50b5ea4cf83101ce7cf2be9c650ef762e3d13c6..5275e9c95039a7cedd1ead3f44175a792e4b0f5d 100644 (file)
@@ -2237,7 +2237,7 @@ static int ixgbe_set_flags(struct net_device *netdev, u32 data)
                                break;
                        }
                } else if (!adapter->rx_itr_setting) {
-                       netdev->features &= ~ETH_FLAG_LRO;
+                       netdev->features &= ~NETIF_F_LRO;
                        if (data & ETH_FLAG_LRO)
                                e_info("rx-usecs set to 0, "
                                        "LRO/RSC cannot be enabled.\n");