diff options
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_ethtool.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_ethtool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b/drivers/net/ixgbe/ixgbe_ethtool.c index 003b6e51cf93..ce9cf7edefb1 100644 --- a/drivers/net/ixgbe/ixgbe_ethtool.c +++ b/drivers/net/ixgbe/ixgbe_ethtool.c | |||
@@ -1997,13 +1997,13 @@ static int ixgbe_set_flags(struct net_device *netdev, u32 data) | |||
1997 | 1997 | ||
1998 | ethtool_op_set_flags(netdev, data); | 1998 | ethtool_op_set_flags(netdev, data); |
1999 | 1999 | ||
2000 | if (!(adapter->flags & IXGBE_FLAG_RSC_CAPABLE)) | 2000 | if (!(adapter->flags & IXGBE_FLAG2_RSC_CAPABLE)) |
2001 | return 0; | 2001 | return 0; |
2002 | 2002 | ||
2003 | /* if state changes we need to update adapter->flags and reset */ | 2003 | /* if state changes we need to update adapter->flags and reset */ |
2004 | if ((!!(data & ETH_FLAG_LRO)) != | 2004 | if ((!!(data & ETH_FLAG_LRO)) != |
2005 | (!!(adapter->flags & IXGBE_FLAG_RSC_ENABLED))) { | 2005 | (!!(adapter->flags & IXGBE_FLAG2_RSC_ENABLED))) { |
2006 | adapter->flags ^= IXGBE_FLAG_RSC_ENABLED; | 2006 | adapter->flags ^= IXGBE_FLAG2_RSC_ENABLED; |
2007 | if (netif_running(netdev)) | 2007 | if (netif_running(netdev)) |
2008 | ixgbe_reinit_locked(adapter); | 2008 | ixgbe_reinit_locked(adapter); |
2009 | else | 2009 | else |