sfc: Remove EFX_FILTER_FLAG_RX_OVERRIDE_IP
This filter flag cannot yet be set through the ethtool command and will not be supported on future hardware. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
This commit is contained in:
@@ -961,9 +961,7 @@ static int efx_ethtool_set_class_rule(struct efx_nic *efx,
|
||||
int rc;
|
||||
|
||||
/* Check that user wants us to choose the location */
|
||||
if (rule->location != RX_CLS_LOC_ANY &&
|
||||
rule->location != RX_CLS_LOC_FIRST &&
|
||||
rule->location != RX_CLS_LOC_LAST)
|
||||
if (rule->location != RX_CLS_LOC_ANY)
|
||||
return -EINVAL;
|
||||
|
||||
/* Range-check ring_cookie */
|
||||
@@ -977,9 +975,7 @@ static int efx_ethtool_set_class_rule(struct efx_nic *efx,
|
||||
rule->m_ext.data[1]))
|
||||
return -EINVAL;
|
||||
|
||||
efx_filter_init_rx(&spec, EFX_FILTER_PRI_MANUAL,
|
||||
(rule->location == RX_CLS_LOC_FIRST) ?
|
||||
EFX_FILTER_FLAG_RX_OVERRIDE_IP : 0,
|
||||
efx_filter_init_rx(&spec, EFX_FILTER_PRI_MANUAL, 0,
|
||||
(rule->ring_cookie == RX_CLS_FLOW_DISC) ?
|
||||
0xfff : rule->ring_cookie);
|
||||
|
||||
|
Reference in New Issue
Block a user