]> git.droids-corp.org - dpdk.git/commit
net/cnxk: fix inline IPsec security error handling
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Tue, 22 Feb 2022 19:35:06 +0000 (01:05 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 23 Feb 2022 16:37:35 +0000 (17:37 +0100)
commitea695031a73ce0e61b9055860eb967406ef8c004
treedb67051f01e24e7c4b848b1e0fb7c8f58c8a44b4
parent167817251e56ba4b1f39394b8c92fcb68598f2f3
net/cnxk: fix inline IPsec security error handling

Use raw mbuf free on inline security error to simulate
HW NPA free instead of doing rte_pktmbuf_free(). This
is needed as the callback will not be called from
DPDK lcore.

Fixes: 69daa9e5022b ("net/cnxk: support inline security setup for cn10k")
Cc: stable@dpdk.org
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/cnxk/cn10k_ethdev_sec.c