]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Add helper function for adding VLAN 0
authorBrett Creeley <brett.creeley@intel.com>
Thu, 2 Dec 2021 16:38:40 +0000 (08:38 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 9 Feb 2022 17:24:45 +0000 (09:24 -0800)
commit3e0b59714bd4648c395ba823ca0e56261061631a
tree35fb7826bf20fb802c9745e507ec523e824e3b0e
parentdaf4dd16438b897a44929771c85b9512c2c20412
ice: Add helper function for adding VLAN 0

There are multiple places where VLAN 0 is being added. Create a function
to be called in order to minimize changes as the implementation is expanded
to support double VLAN and avoid duplicated code.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_eswitch.c
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_lib.h
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c