mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
ixgbe: remove ntuple display support
This change removes the ntuple display support from ixgbe. The reason for this change is to resolve a number of issues in the way display filtering is handled. I plan to add support for displaying these filters via the network flow classifier interface. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Evan Swanson <evan.swanson@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
98508c9300
commit
11b1d38e70
@ -1030,9 +1030,6 @@ static int ixgbe_get_sset_count(struct net_device *netdev, int sset)
|
|||||||
return IXGBE_TEST_LEN;
|
return IXGBE_TEST_LEN;
|
||||||
case ETH_SS_STATS:
|
case ETH_SS_STATS:
|
||||||
return IXGBE_STATS_LEN;
|
return IXGBE_STATS_LEN;
|
||||||
case ETH_SS_NTUPLE_FILTERS:
|
|
||||||
return ETHTOOL_MAX_NTUPLE_LIST_ENTRY *
|
|
||||||
ETHTOOL_MAX_NTUPLE_STRING_PER_ENTRY;
|
|
||||||
default:
|
default:
|
||||||
return -EOPNOTSUPP;
|
return -EOPNOTSUPP;
|
||||||
}
|
}
|
||||||
|
@ -4203,9 +4203,6 @@ void ixgbe_down(struct ixgbe_adapter *adapter)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* clear n-tuple filters that are cached */
|
|
||||||
ethtool_ntuple_flush(netdev);
|
|
||||||
|
|
||||||
if (!pci_channel_offline(adapter->pdev))
|
if (!pci_channel_offline(adapter->pdev))
|
||||||
ixgbe_reset(adapter);
|
ixgbe_reset(adapter);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user