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:
parent
946853736a
commit
593cb5b302
@ -52,8 +52,7 @@
|
|||||||
* sure to use the exact names.
|
* sure to use the exact names.
|
||||||
*/
|
*/
|
||||||
#define MAX_NUM_DRV_TYPES 2
|
#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
|
/* The VF spread is the number of queue pairs between virtual functions, we use this to
|
||||||
* load balance the QAT device.
|
* load balance the QAT device.
|
||||||
*/
|
*/
|
||||||
|
@ -41,6 +41,9 @@
|
|||||||
|
|
||||||
#include "spdk/bdev.h"
|
#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);
|
typedef void (*spdk_delete_crypto_complete)(void *cb_arg, int bdeverrno);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user