This patch disables asymmetric crypto PMD on GEN3 devices.
Fixes:
1f5e4053f9b4 ("common/qat: support GEN3 devices")
Cc: stable@dpdk.org
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
QAT_LOG(ERR, "Asymmetric crypto PMD not supported on QAT 4xxx");
return -EFAULT;
}
+ if (qat_pci_dev->qat_dev_gen == QAT_GEN3) {
+ QAT_LOG(ERR, "Asymmetric crypto PMD not supported on QAT c4xxx");
+ return -EFAULT;
+ }
snprintf(name, RTE_CRYPTODEV_NAME_MAX_LEN, "%s_%s",
qat_pci_dev->name, "asym");
QAT_LOG(DEBUG, "Creating QAT ASYM device %s\n", name);