ice: Remove boolean vlan_promisc flag from function
authorBrett Creeley <brett.creeley@intel.com>
Thu, 6 May 2021 15:40:02 +0000 (08:40 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 29 Oct 2021 17:48:16 +0000 (10:48 -0700)
commit29e71f41e7d2f7069c12c686ca4d222e8be2a2ee
treeb6e1202c2edde2cc2972b51812e4d1b389a7b5d8
parent28131d896d6d316bc1f6f305d1a9ed6d96c3f2a1
ice: Remove boolean vlan_promisc flag from function

Currently, the vlan_promisc flag is used exclusively by VF VSI to
determine whether or not to toggle VLAN pruning along with
trusted/true-promiscuous mode. This is not needed for a couple of
reasons. First, trusted/true-promiscuous mode is only supposed to allow
all MAC filters within VLANs that a VF has added filters for, so VLAN
pruning should not be disabled. Second, the boolean argument makes the
function confusing and unintuitive. Remove this flag.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Tony Brelinski <tony.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_lib.h
drivers/net/ethernet/intel/ice/ice_main.c
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c