net/i40e: fix primary MAC type when starting port
authorRobin Zhang <robinx.zhang@intel.com>
Wed, 28 Apr 2021 08:04:52 +0000 (08:04 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Apr 2021 08:37:22 +0000 (10:37 +0200)
commit2e468c03b0a4095988ec788a62669abf8e6f4908
tree60e4ff45d4057c7c1a00b27f4711eb5b3a7b77ef
parent8f156d2b1af2cb096dba0df37e1c2a187be9292f
net/i40e: 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: 3f604ddf33cf ("net/i40e: 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/i40e/i40e_ethdev_vf.c