examples/eventdev: fix 32-bit coremask
authorHarry van Haaren <harry.van.haaren@intel.com>
Tue, 16 Jun 2020 16:56:03 +0000 (17:56 +0100)
committerJerin Jacob <jerinj@marvell.com>
Mon, 29 Jun 2020 16:37:52 +0000 (18:37 +0200)
commitff0f1040b66edcbaf93fc217ea452e4a9ae424e2
tree22748089145a9ecec3f3e6aa2b7919bb75a8e943
parent50ea81d24c94203f103bd252167a645b47e0257f
examples/eventdev: fix 32-bit coremask

This commit fixes a bug in 32-bit environments when a core mask greater
than 32-bits is requested. The fix is to convert the bitmask logic to
64 bits, aligning 64 and 32 bit implementations.

Fixes: adb5d548 ("examples/eventdev_pipeline_sw_pmd: add sample app")
Cc: stable@dpdk.org
Reported-by: Jun W Zhou <junx.w.zhou@intel.com>
Suggested-by: Mao Jiang <maox.jiang@intel.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
examples/eventdev_pipeline/main.c
examples/eventdev_pipeline/pipeline_common.h