diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2010-12-01 00:47:05 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2010-12-11 01:12:55 -0500 |
commit | 5136cad37b276e3e11c4f8ad0bcf9cb2eec0e5af (patch) | |
tree | 1ad6578497baa64de216d67a20ac8aedecac2b0d | |
parent | d994653db465616a7bf27703e733170c47488cdf (diff) |
ixgbe: fix ntuple support
commit f62bbb5e62c6e4a91fb222d22bc46e8d4d7e59ef
ixgbe: Update ixgbe to use new vlan accleration.
removed ETH_FLAG_NTUPLE from the supported flags.
This patch puts it back on to allow for setting ntuple via ethtool.
CC: Jesse Gross <jesse@nicira.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-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 90a740d77e5d..f2245ac75034 100644 --- a/drivers/net/ixgbe/ixgbe_ethtool.c +++ b/drivers/net/ixgbe/ixgbe_ethtool.c | |||
@@ -2202,7 +2202,7 @@ static int ixgbe_set_flags(struct net_device *netdev, u32 data) | |||
2202 | need_reset = (data & ETH_FLAG_RXVLAN) != | 2202 | need_reset = (data & ETH_FLAG_RXVLAN) != |
2203 | (netdev->features & NETIF_F_HW_VLAN_RX); | 2203 | (netdev->features & NETIF_F_HW_VLAN_RX); |
2204 | 2204 | ||
2205 | rc = ethtool_op_set_flags(netdev, data, ETH_FLAG_LRO | | 2205 | rc = ethtool_op_set_flags(netdev, data, ETH_FLAG_LRO | ETH_FLAG_NTUPLE | |
2206 | ETH_FLAG_RXVLAN | ETH_FLAG_TXVLAN); | 2206 | ETH_FLAG_RXVLAN | ETH_FLAG_TXVLAN); |
2207 | if (rc) | 2207 | if (rc) |
2208 | return rc; | 2208 | return rc; |