diff --git a/module/bdev/crypto/vbdev_crypto.c b/module/bdev/crypto/vbdev_crypto.c index 06f3ac3c70..7b333a0ea8 100644 --- a/module/bdev/crypto/vbdev_crypto.c +++ b/module/bdev/crypto/vbdev_crypto.c @@ -260,6 +260,12 @@ create_vbdev_dev(uint8_t index, uint16_t num_lcores) cdrv_id = device->cdev_info.driver_id; cdev_id = device->cdev_id = index; + /* QAT_ASYM devices are not supported at this time. */ + if (strcmp(device->cdev_info.driver_name, QAT_ASYM) == 0) { + free(device); + return 0; + } + /* Before going any further, make sure we have enough resources for this * device type to function. We need a unique queue pair per core accross each * device type to remain lockless.... diff --git a/module/bdev/crypto/vbdev_crypto.h b/module/bdev/crypto/vbdev_crypto.h index 98ca50d81e..d079d13abf 100644 --- a/module/bdev/crypto/vbdev_crypto.h +++ b/module/bdev/crypto/vbdev_crypto.h @@ -43,6 +43,7 @@ #define AESNI_MB "crypto_aesni_mb" #define QAT "crypto_qat" +#define QAT_ASYM "crypto_qat_asym" /* Supported ciphers */ #define AES_CBC "AES_CBC" /* QAT and AESNI_MB */