eventdev/eth_tx: fix queue delete
authorNaga Harish K S V <s.v.naga.harish.k@intel.com>
Thu, 23 Jun 2022 10:05:11 +0000 (15:35 +0530)
committerJerin Jacob <jerinj@marvell.com>
Mon, 4 Jul 2022 16:04:52 +0000 (18:04 +0200)
commit881d4b4d8587419197815db57b94fc58ee487445
treed58b4fa29da59da23301d6b41b9428acb6206e58
parentad42b228c6e26e88b16504153a9338f9b387d2e7
eventdev/eth_tx: fix queue delete

Add spinlock protection in queue delete function.
This protects the data path while the queue delete operation
is in progress.

Fixes: a3bbf2e09756 ("eventdev: add eth Tx adapter implementation")
Cc: stable@dpdk.org
Signed-off-by: Naga Harish K S V <s.v.naga.harish.k@intel.com>
Acked-by: Jay Jayatheerthan <jay.jayatheerthan@intel.com>
lib/eventdev/rte_event_eth_tx_adapter.c