ice: Refactor promiscuous functions
authorBrett Creeley <brett.creeley@intel.com>
Tue, 2 Mar 2021 18:15:34 +0000 (10:15 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 14 Dec 2021 18:18:52 +0000 (10:18 -0800)
commitfabf480bf95d71c9cfe8a8d6307e0035df963a6a
treec889eae6bec6e0e3d94963932215b3de88b343ec
parent60f44fe4cde9c239c40fb5267126229c48f50e22
ice: Refactor promiscuous functions

Some of the promiscuous mode functions take a boolean to indicate
set/clear, which affects readability. Refactor and provide an
interface for the promiscuous mode code with explicit set and clear
promiscuous mode operations.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_fltr.c
drivers/net/ethernet/intel/ice/ice_fltr.h
drivers/net/ethernet/intel/ice/ice_main.c
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c