net/iavf: fix primary MAC type when starting port
authorRobin Zhang <robinx.zhang@intel.com>
Wed, 28 Apr 2021 08:04:51 +0000 (08:04 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Apr 2021 08:37:00 +0000 (10:37 +0200)
commit8f156d2b1af2cb096dba0df37e1c2a187be9292f
tree2d5700f735a8eba85743e2730a88a2a54f2a88ae
parent978bb0b33f4d17f4bba38f271a8fd32cbb28d34c
net/iavf: fix primary MAC type when starting port

When start port, all MAC addresses will be set. We should set the MAC
type of default MAC address as VIRTCHNL_ETHER_ADDR_PRIMARY.

Fixes: b335e7203475 ("net/iavf: fix lack of MAC type when set MAC address")
Cc: stable@dpdk.org
Signed-off-by: Robin Zhang <robinx.zhang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_vchnl.c