From: Stanislaw Gruszka Date: Thu, 1 Jul 2010 13:58:25 +0000 (+0000) Subject: ixgbe: use NETIF_F_LRO X-Git-Tag: v2.6.36-rc1~571^2~375 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a17d8c744e44617a3c22e7af68b4c5c9c1c5dba;p=platform%2Fkernel%2Flinux-exynos.git 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 Acked-by: Don Skidmore Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b/drivers/net/ixgbe/ixgbe_ethtool.c index b50b5ea..5275e9c 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) 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");