module/crypto: move some defines to header file

In prep for adding QAT XTS support in upcoming patches

Signed-off-by: paul luse <paul.e.luse@intel.com>
Change-Id: I2c14101d31d19f31527423efea24c0d87079baf4
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/483531
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Alexey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
paul luse 2020-01-31 22:03:02 +00:00 committed by Tomasz Zawadzki
parent 946853736a
commit 593cb5b302
2 changed files with 4 additions and 2 deletions

View File

@ -52,8 +52,7 @@
* sure to use the exact names.
*/
#define MAX_NUM_DRV_TYPES 2
#define AESNI_MB "crypto_aesni_mb"
#define QAT "crypto_qat"
/* The VF spread is the number of queue pairs between virtual functions, we use this to
* load balance the QAT device.
*/

View File

@ -41,6 +41,9 @@
#include "spdk/bdev.h"
#define AESNI_MB "crypto_aesni_mb"
#define QAT "crypto_qat"
typedef void (*spdk_delete_crypto_complete)(void *cb_arg, int bdeverrno);
/**