examples/l2fwd-event: fix core allocation in poll mode
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Mon, 3 Feb 2020 04:46:18 +0000 (10:16 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sat, 15 Feb 2020 08:07:34 +0000 (09:07 +0100)
commitc3a09b17db781469e7fe321e6babb1bda1dd91e6
treedba94d54020d6649090e6594d688155f69b659ff
parent0d4ba7496512b57e7e0c66d4041d1b339f132629
examples/l2fwd-event: fix core allocation in poll mode

Skip master lcore when assigning cores to rx_queues as it is only used
to print stats.

Fixes: 4ff457986f76 ("examples/l2fwd-event: add default poll mode routines")
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
examples/l2fwd-event/l2fwd_poll.c