examples/vmdq: use new VMDQ API
authorHuawei Xie <huawei.xie@intel.com>
Mon, 10 Nov 2014 00:29:38 +0000 (08:29 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 11 Nov 2014 22:48:05 +0000 (23:48 +0100)
commit2a13a5a08d0d968cb8b2297cea10149c6f24266e
treed95a10091c5a343c3445335057bdb2e0f484a981
parent5bad0b917ef2c3dc36395bd6af481809b1a017a8
examples/vmdq: use new VMDQ API

This patch supports new VMDQ API in vmdq example.
Besides, it allows users to specify num_pools different with
max_nb_pools, thus the polling thread needn't to poll queues
of all pools.

Due to i40e implementation issue, there is no default mac for
VMDQ pool, so app needs to specify mac address for each pool
explicitly.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
examples/vmdq/main.c