Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto/ipsec_mb: optimize allocation in session
[ upstream commit db7dc9070bf42593e3fca5f2f47ac0344e1b5cb6 ] 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: c75542a ("crypto/ipsec_mb: introduce IPsec_mb framework") Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Signed-off-by: Ciara Power <ciara.power@intel.com> Acked-by: Kai Ji <kai.ji@intel.com>
- Loading branch information