i40e/base: skip some hardware init for VF
authorHelin Zhang <helin.zhang@intel.com>
Thu, 30 Apr 2015 15:03:23 +0000 (23:03 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 15 May 2015 14:33:15 +0000 (16:33 +0200)
commitc0273b42705c358ace52eee2935179a7193e1052
tree58db0a283749222a33a1a4e7ae8effa19b8d05da
parentd6f5cac19197bc264eb9c3b0ab440d791e6a7480
i40e/base: skip some hardware init for VF

This patch is useful for future expansion when new VF MAC types get
added. It also helps with cleaning up VF driver flow.

Test report: http://www.dpdk.org/ml/archives/dev/2015-May/017384.html

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
Tested-by: Min Cao <min.cao@intel.com>
lib/librte_pmd_i40e/i40e/i40e_adminq.c
lib/librte_pmd_i40e/i40e/i40e_type.h