X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcrypto%2Fqat%2Fqat_sym_pmd.h;h=7ddaf453e937f09d4f07b079455a0101e3af13b6;hb=7632da0b875f0e2ca9b5c1bc03e8a43bc25c9f9e;hp=1e2344cf016cb6548e852da6099739f12b29fcb8;hpb=4a147730df7ef8cfc619dd3c6db68d1b09227a15;p=dpdk.git diff --git a/drivers/crypto/qat/qat_sym_pmd.h b/drivers/crypto/qat/qat_sym_pmd.h index 1e2344cf01..7ddaf453e9 100644 --- a/drivers/crypto/qat/qat_sym_pmd.h +++ b/drivers/crypto/qat/qat_sym_pmd.h @@ -5,21 +5,21 @@ #ifndef _QAT_SYM_PMD_H_ #define _QAT_SYM_PMD_H_ +#ifdef BUILD_QAT_SYM + #include #include "qat_sym_capabilities.h" #include "qat_device.h" -/**< Intel(R) QAT Symmetric Crypto PMD device name */ +/** Intel(R) QAT Symmetric Crypto PMD driver name */ #define CRYPTODEV_NAME_QAT_SYM_PMD crypto_qat -#define QAT_SYM_PMD_MAX_NB_SESSIONS 2048 extern uint8_t cryptodev_qat_driver_id; /** private data structure for a QAT device. * This QAT device is a device offering only symmetric crypto service, - * there can be one of these on each qat_pci_device (VF), - * in future there may also be private data structures for other services. + * there can be one of these on each qat_pci_device (VF). */ struct qat_sym_dev_private { struct qat_pci_device *qat_dev; @@ -36,4 +36,5 @@ qat_sym_dev_create(struct qat_pci_device *qat_pci_dev); int qat_sym_dev_destroy(struct qat_pci_device *qat_pci_dev); +#endif #endif /* _QAT_SYM_PMD_H_ */