ixgbe: use NETIF_F_LRO
Subsystems (2)
PATCH 1/1 ixgbe: use NETIF_F_LRO
From: Stanislaw Gruszka <[email protected]>
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 <[email protected]>
Acked-by Don Skidmore <[email protected]>
Signed-off-by Jeff Kirsher <[email protected]>
---
drivers/net/ixgbe/ixgbe_ethtool.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/ixgbe/ixgbe_ethtool.c +1 -1
@@ -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 Ð_FLAG_LRO )e_info ("rx-usecs set to 0, " "LRO/RSC cannot be enabled.\n" );
From: Jeff Kirsher <[email protected]>
Date: Thu, 01 Jul 2010 16:58:25 -0700
Quoted 8 lines
From: Stanislaw Gruszka <[email protected]>
Both
ETH_FLAG_LROandNETIF_F_LROhave the same value, butNETIF_F_LROis intended to use withnetdev->features.Signed-off-by Stanislaw Gruszka <[email protected]>Acked-by Don Skidmore <[email protected]>Signed-off-by Jeff Kirsher <[email protected]>
Applied.