fm10k: fix default mac/vlan in switch
authorChen Jing D(Mark) <jing.d.chen@intel.com>
Fri, 29 May 2015 08:10:44 +0000 (16:10 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 22 Jun 2015 15:27:59 +0000 (17:27 +0200)
commitf5c1a236a21867fb7cd419c0c4a0d6a7d4b90f93
treec47e317597af57fc1e015106d9d68a4f61e6ded9
parenta66ce098e8707aee38374926843e0d3db6f9590d
fm10k: fix default mac/vlan in switch

Since the communication between PF/Switch Manager, VF/PF is
asynchronous through mailbox, it's hard to determine when Switch
Manager/PF host will send the default vlan to PF/VF. So, it's
necessary to set default vlan until the device is started.

Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>
Acked-by: Shaopeng He <shaopeng.he@intel.com>
Acked-by: Michael Qiu <michael.qiu@intel.com>
drivers/net/fm10k/fm10k_ethdev.c