diff options
| author | Brett Creeley <[email protected]> | 2021-05-06 15:40:02 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-10-29 17:48:16 +0000 |
| commit | 29e71f41e7d2f7069c12c686ca4d222e8be2a2ee (patch) | |
| tree | b6e1202c2edde2cc2972b51812e4d1b389a7b5d8 /drivers/net/ethernet/intel/ice/ice_lib.h | |
| parent | Merge tag 'wireless-drivers-next-2021-10-29' of git://git.kernel.org/pub/scm/... (diff) | |
| download | kernel-29e71f41e7d2f7069c12c686ca4d222e8be2a2ee.tar.gz kernel-29e71f41e7d2f7069c12c686ca4d222e8be2a2ee.zip | |
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 <[email protected]>
Tested-by: Tony Brelinski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.h')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_lib.h b/drivers/net/ethernet/intel/ice/ice_lib.h index e7f4ecbb8549..6c803407b67d 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.h +++ b/drivers/net/ethernet/intel/ice/ice_lib.h @@ -45,7 +45,7 @@ int ice_vsi_stop_xdp_tx_rings(struct ice_vsi *vsi); bool ice_vsi_is_vlan_pruning_ena(struct ice_vsi *vsi); -int ice_cfg_vlan_pruning(struct ice_vsi *vsi, bool ena, bool vlan_promisc); +int ice_cfg_vlan_pruning(struct ice_vsi *vsi, bool ena); void ice_cfg_sw_lldp(struct ice_vsi *vsi, bool tx, bool create); |
