0681a1424d
The default MAC address is read from hardware and copied to Device Ethernet Link address array in the device initialization phase, which bypasses fm10k MAC address number check mechanism, and will cause an error message when adding default VLAN: "MAC address number not match" Fix it by moving default MAC address registration to device initialize phase. Fixes: f5c1a236a218 ("fm10k: fix default mac/vlan in switch") Signed-off-by: Shaopeng He <shaopeng.he@intel.com> Acked-by: Michael Qiu <michael.qiu@intel.com>