RE: [External] Re: [PATCH] eal: fix bus cleanup in secondary process

2024-12-03 Thread Ming 1. Yang (NSB)
--Original Message- From: Stephen Hemminger Sent: 2024年11月29日 1:16 To: Ming 1. Yang (NSB) Cc: Anatoly Burakov ; Bruce Richardson ; Kevin Laatz ; Morten Brørup ; dev@dpdk.org; sta...@dpdk.org Subject: [External] Re: [PATCH] eal: fix bus cleanup in secondary process Caution: This is an exte

Re: [PATCH] eal: fix bus cleanup in secondary process

2024-11-28 Thread Stephen Hemminger
On Thu, 28 Nov 2024 13:48:29 +0800 myang wrote: > eal_bus_cleanup has been added in rte_eal_cleanup. But for > secondary process, eal_bus_cleanup will trigger vdev_cleanup > which trigger rte_vdev_driver to remove. Then our crypto devices > will execute ipsec_mb_remove to rte_cryptodev_pmd_destro

[PATCH] eal: fix bus cleanup in secondary process

2024-11-27 Thread myang
eal_bus_cleanup has been added in rte_eal_cleanup. But for secondary process, eal_bus_cleanup will trigger vdev_cleanup which trigger rte_vdev_driver to remove. Then our crypto devices will execute ipsec_mb_remove to rte_cryptodev_pmd_destroy. Finally error logs occur as below: CRYPTODEV: rte_cryp