Commit 593cb5b3 authored by paul luse's avatar paul luse Committed by Tomasz Zawadzki
Browse files

module/crypto: move some defines to header file



In prep for adding QAT XTS support in upcoming patches

Signed-off-by: default avatarpaul luse <paul.e.luse@intel.com>
Change-Id: I2c14101d31d19f31527423efea24c0d87079baf4
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/483531


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarAlexey Marchuk <alexeymar@mellanox.com>
parent 94685373
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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.
 */
+3 −0
Original line number Diff line number Diff line
@@ -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);

/**