]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ice: remove unnecessary virtchnl_ether_addr struct use
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 19 Jan 2023 01:16:53 +0000 (17:16 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 6 Feb 2023 17:47:48 +0000 (09:47 -0800)
commite0645311e1abc6120d2cf18e7611e1c272fdcc88
tree5727c71fe1a3a796735e6e7fb49777936f651086
parent537dfe06accad68123fe780ce4f883549a73db37
ice: remove unnecessary virtchnl_ether_addr struct use

The dev_lan_addr and hw_lan_addr members of ice_vf are used only to store
the MAC address for the VF. They are defined using virtchnl_ether_addr, but
only the .addr sub-member is actually used. Drop the use of
virtchnl_ether_addr and just use a u8 array of length [ETH_ALEN].

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Marek Szlosek <marek.szlosek@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_sriov.c
drivers/net/ethernet/intel/ice/ice_vf_lib.c
drivers/net/ethernet/intel/ice/ice_vf_lib.h
drivers/net/ethernet/intel/ice/ice_virtchnl.c