i40evf: rework mailbox version check
authorHelin Zhang <helin.zhang@intel.com>
Thu, 6 Nov 2014 12:53:47 +0000 (20:53 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 6 Nov 2014 22:50:14 +0000 (23:50 +0100)
commit5e904375a4d6aa48282a7c95c55e32b538ab26ab
treedcb6fc8d6bbaf8e6f613b377dca08c687a6f289f
parent59dc0ead6bbdcbd4472f52b4e1d0b8163e1c288a
i40evf: rework mailbox version check

API version number is straightfoward enough for checking
the PF host, and no need to use 'host_is_dpdk'.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_pmd_i40e/i40e_ethdev.h
lib/librte_pmd_i40e/i40e_ethdev_vf.c