app/eventdev: fix lcore parsing skipping last core
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Thu, 6 May 2021 21:03:09 +0000 (02:33 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sun, 9 May 2021 16:00:18 +0000 (18:00 +0200)
commitca90f20feaa4280cac012ebca6f2ecebd5b72b98
tree922d54681bff5a5ab853204f8ebfa1a3a2446b28
parent7a188872875e0d2c51d799fa5b814ef058bce3c5
app/eventdev: fix lcore parsing skipping last core

The last lcore declared in the list is also a valid lcore in the list.

Fixes: 32d7dbf269be ("app/eventdev: fix overflow in lcore list parsing")
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
app/test-eventdev/parser.c