examples/vmdq: fix crash when using too many pools
authorXutao Sun <xutao.sun@intel.com>
Tue, 27 Oct 2015 08:58:33 +0000 (16:58 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Dec 2015 02:21:13 +0000 (03:21 +0100)
commite4363e814961c006be82d2b4e59e9509c2463edf
treee1f9dbf6425eaef555a52e768cd6f055046744ef
parent56faae8269eede35ec869d68f8aa1524918d7497
examples/vmdq: fix crash when using too many pools

Macro MAX_QUEUES was defined to 128, only allow 16 vmdq_pools in theory.
When running vmdq_app with more than 34 vmdq_pools, it will cause the
core_dump issue.
Change MAX_QUEUES to 1024 will solve this issue.

Signed-off-by: Xutao Sun <xutao.sun@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
examples/vmdq/main.c