RE: [PATCH v2] crypto/ipsec_mb: fix allocating mb_mgr in session

2023-05-25 Thread Akhil Goyal
> Acked-by: Kai Ji > > > Subject: [PATCH v2] crypto/ipsec_mb: fix allocating mb_mgr in session > > > > When configuring the session, use the queue pair mb_mgr that was already > > allocated if possible. If this doesn't exist, then allocate a new mb_mgr. >

RE: [PATCH v2] crypto/ipsec_mb: fix allocating mb_mgr in session

2023-05-17 Thread Ji, Kai
Acked-by: Kai Ji > -Original Message- > From: Power, Ciara > Sent: Wednesday, May 17, 2023 4:19 PM > To: Ji, Kai ; De Lara Guarch, Pablo > > Cc: dev@dpdk.org; Power, Ciara ; sta...@dpdk.org > Subject: [PATCH v2] crypto/ipsec_mb: fix allocating mb_mgr in session

[PATCH v2] crypto/ipsec_mb: fix allocating mb_mgr in session

2023-05-17 Thread Ciara Power
When configuring the session, use the queue pair mb_mgr that was already allocated if possible. If this doesn't exist, then allocate a new mb_mgr. This reduces unnecessary cycles creating an mb_mgr for every session configured. Fixes: c75542ae4200 ("crypto/ipsec_mb: introduce IPsec_mb framework")