diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2010-07-01 09:58:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-02 01:45:58 -0400 |
commit | 0a17d8c744e44617a3c22e7af68b4c5c9c1c5dba (patch) | |
tree | 6d71d44a7f9769fcdb46f11258705200fe2b0327 /drivers/net/ixgbe | |
parent | de42edde131cd09a556f0b90373569d64b92ef99 (diff) |
ixgbe: use NETIF_F_LRO
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>
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b/drivers/net/ixgbe/ixgbe_ethtool.c index b50b5ea4cf83..5275e9c95039 100644 --- a/drivers/net/ixgbe/ixgbe_ethtool.c +++ b/drivers/net/ixgbe/ixgbe_ethtool.c | |||
@@ -2237,7 +2237,7 @@ static int ixgbe_set_flags(struct net_device *netdev, u32 data) | |||
2237 | break; | 2237 | break; |
2238 | } | 2238 | } |
2239 | } else if (!adapter->rx_itr_setting) { | 2239 | } else if (!adapter->rx_itr_setting) { |
2240 | netdev->features &= ~ETH_FLAG_LRO; | 2240 | netdev->features &= ~NETIF_F_LRO; |
2241 | if (data & ETH_FLAG_LRO) | 2241 | if (data & ETH_FLAG_LRO) |
2242 | e_info("rx-usecs set to 0, " | 2242 | e_info("rx-usecs set to 0, " |
2243 | "LRO/RSC cannot be enabled.\n"); | 2243 | "LRO/RSC cannot be enabled.\n"); |