aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_ethtool.c
diff options
context:
space:
mode:
authorGravatar Vinicius Costa Gomes <vinicius.gomes@intel.com> 2021-06-28 21:43:30 -0700
committerGravatar Tony Nguyen <anthony.l.nguyen@intel.com> 2021-07-16 14:07:55 -0700
commit7991487ecb2d27f2293376411d576867a3d9640b (patch)
tree8c49b1d033d3fa3b3a7c92343eb6bb11fb0bbbf4 /drivers/net/ethernet/intel/igc/igc_ethtool.c
parentigc: Integrate flex filter into ethtool ops (diff)
downloadlinux-7991487ecb2d27f2293376411d576867a3d9640b.tar.gz
linux-7991487ecb2d27f2293376411d576867a3d9640b.tar.bz2
linux-7991487ecb2d27f2293376411d576867a3d9640b.zip
igc: Allow for Flex Filters to be installed
Allows Flex Filters to be installed. The previous restriction to the types of filters that can be installed can now be lifted. Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com> Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_ethtool.c')
-rw-r--r--drivers/net/ethernet/intel/igc/igc_ethtool.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_ethtool.c b/drivers/net/ethernet/intel/igc/igc_ethtool.c
index 3d46eff87638..5a7b27b2a95c 100644
--- a/drivers/net/ethernet/intel/igc/igc_ethtool.c
+++ b/drivers/net/ethernet/intel/igc/igc_ethtool.c
@@ -1300,12 +1300,6 @@ static int igc_ethtool_add_nfc_rule(struct igc_adapter *adapter,
return -EOPNOTSUPP;
}
- if ((fsp->flow_type & FLOW_EXT) &&
- fsp->m_ext.vlan_tci != htons(VLAN_PRIO_MASK)) {
- netdev_dbg(netdev, "VLAN mask not supported\n");
- return -EOPNOTSUPP;
- }
-
if (fsp->ring_cookie >= adapter->num_rx_queues) {
netdev_dbg(netdev, "Invalid action\n");
return -EINVAL;