eventdev: fix probe and remove for secondary process
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Mon, 27 Apr 2020 18:10:38 +0000 (23:40 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sat, 2 May 2020 10:31:57 +0000 (12:31 +0200)
commita5f30c925b88bb3613535fb27eb3459d19226cd0
tree9628c91cff1daa9629381de35ab83ac098600334
parent534d1d4b65468deed18723fb45818275887c8ecd
eventdev: fix probe and remove for secondary process

When probing event device in secondary process skip reinitializing
the device data structure as it is already done in primary process.

When removing event device in secondary process skip closing the
event device as it should be done by primary process.

Fixes: 322d0345c2bc ("eventdev: implement PMD registration functions")
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
lib/librte_eventdev/rte_eventdev.c
lib/librte_eventdev/rte_eventdev_pmd_pci.h