i40e/base: rework virtual address retrieval for lan queue
authorHelin Zhang <helin.zhang@intel.com>
Thu, 30 Apr 2015 15:03:14 +0000 (23:03 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 15 May 2015 14:33:15 +0000 (16:33 +0200)
commitf0684c51ec82bd24ab83889d94ad45da9965ad83
tree946ec450748cf22cc3bae1754e821dc81dc7745b
parent36e42777d5559538c7dc1d3edb6a9ac5f0cb7c3a
i40e/base: rework virtual address retrieval for lan queue

To simplify the usage of invoking 'i40e_hmc_get_object_va', input
parameters of it were reworked. In addition, minor code style fixes
were added as well.

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_lan_hmc.c