Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/ipsec-secgw: fix cryptodev to SA mapping
[ upstream commit f406064ff0988a53f955c74a672d696c595dc0f0 ] There are use cases where a SA should be able to use different cryptodevs on different lcores, for example there can be cryptodevs with just 1 qp per VF. Hence, the check in create lookaside session function is relaxed. Also added a check to verify that a CQP is available for the current lcore. Fixes: a8ade12 ("examples/ipsec-secgw: create lookaside sessions at init") Signed-off-by: Radu Nicolau <radu.nicolau@intel.com> Tested-by: Ting-Kai Ku <ting-kai.ku@intel.com> Acked-by: Ciara Power <ciara.power@intel.com> Acked-by: Kai Ji <kai.ji@intel.com> Acked-by: Anoob Joseph <anoobj@marvell.com>
- Loading branch information