13cbb05d89
In fm10k, PF driver needs to communicate with switch through mailbox if it needs to add/delete MAC address. This fix will validate if switch is ready before going forward. Then, it is necessary to acquire LPORT_MAP info after issuing MAC addr request to switch. Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com> Acked-by: Shaopeng He <shaopeng.he@intel.com> Tested-by: Michael Qiu <michael.qiu@intel.com> Acked-by: Michael Qiu <michael.qiu@intel.com>