Spdk/test/unit/lib/bdev/crypto.c
Paul Luse 3be1436c09 bdev/crypto: optimization: use shared sessions
Initial implmentation had a 1:1 session to crypto op ratio. After
working with a similar concept in CompressDev checked to see if
this was required and apparently it is not.

Saves a decent number of API calls per crypto op and in the poller.
Also saves on mempool usage.  Performance improvement measurement
is WIP.

Change-Id: I73f2355e720a16fd46bc4a02657419f779f07cbb
Signed-off-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/433726
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Fiona Trahe <fiona.trahe@intel.com>
2018-11-26 18:27:42 +00:00
..
.gitignore bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00
crypto_ut.c bdev/crypto: optimization: use shared sessions 2018-11-26 18:27:42 +00:00
Makefile bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00
rte_crypto.h bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00
rte_cryptodev.h ut/crypto: update mocked headers for dpdk 18.08 2018-10-22 18:01:45 +00:00
rte_mbuf.h bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00
rte_mempool.h bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00