i40e: fix condition to get VMDQ infos
authorJijiang Liu <jijiang.liu@intel.com>
Tue, 19 May 2015 05:55:39 +0000 (13:55 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 29 May 2015 18:27:23 +0000 (20:27 +0200)
commit7c4c66bf666b8059ed0ad2f2478ef349b3272f51
tree3735c80883db7ece4add2559fd3490b689b99d43
parent365f618238d093706dc94b471001da0cbb59914b
i40e: fix condition to get VMDQ infos

To get device VMDQ info when only i40e VMDQ feature is enabled.

Signed-off-by: Jijiang Liu <jijiang.liu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
drivers/net/i40e/i40e_ethdev.c