58f116731d
Currently ice_clear_vsi_promisc() detects if the VLAN ID sent is not 0 and sets the recipe_id to ICE_SW_LKUP_PROMISC_VLAN in that case and ICE_SW_LKUP_PROMISC if the VLAN_ID is 0. However this doesn't allow VLAN 0 promiscuous rules to be removed, but they can be added. Fix this by checking if the promisc_mask contains ICE_PROMISC_VLAN_RX or ICE_PROMISC_VLAN_TX. This change was made to match what is being done for ice_set_vsi_promisc(). Signed-off-by: Brett Creeley <brett.creeley@intel.com> Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com> Signed-off-by: Qi Zhang <qi.z.zhang@intel.com> Acked-by: Xiaolong Ye <xiaolong.ye@intel.com> |
||
---|---|---|
.. | ||
base | ||
ice_ethdev.c | ||
ice_ethdev.h | ||
ice_generic_flow.c | ||
ice_generic_flow.h | ||
ice_logs.h | ||
ice_rxtx_vec_avx2.c | ||
ice_rxtx_vec_common.h | ||
ice_rxtx_vec_sse.c | ||
ice_rxtx.c | ||
ice_rxtx.h | ||
ice_switch_filter.c | ||
ice_switch_filter.h | ||
Makefile | ||
meson.build | ||
rte_pmd_ice_version.map |