examples/vmdq: fix Tx queue id
authorOuyang Changchun <changchun.ouyang@intel.com>
Thu, 12 Jun 2014 07:10:05 +0000 (15:10 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 17 Jun 2014 09:51:42 +0000 (11:51 +0200)
commitc2bebe5f5a6dacb1e82047032835276002c5a793
tree933f1ccffface8fd5e30b0cb09c9e5b6ae3d9dc3
parent60a70d4e042350ca0f9200334b341063438be89b
examples/vmdq: fix Tx queue id

This patch fixes a core id issue in sample vmdq, in case core mask
doesn't start with lcore_id 0 but 20, for instance,
queue id should use core_id instead of lcore_id.

Signed-off-by: Ouyang Changchun <changchun.ouyang@intel.com>
Tested-by: Waterman Cao <waterman.cao@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
examples/vmdq/main.c