]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/qat/qat_device.h
crypto/qat: add asymmetric crypto PMD
[dpdk.git] / drivers / common / qat / qat_device.h
index eb81c78f9c2720112edf092f48df5591e9f19ea0..131375e838426c5bc67e650e2b0a99fda1137c9d 100644 (file)
@@ -31,6 +31,7 @@ enum qat_comp_num_im_buffers {
  *  - runtime data
  */
 struct qat_sym_dev_private;
+struct qat_asym_dev_private;
 struct qat_comp_dev_private;
 
 struct qat_pci_device {
@@ -57,7 +58,16 @@ struct qat_pci_device {
        struct qat_sym_dev_private *sym_dev;
        /**< link back to cryptodev private data */
        struct rte_device sym_rte_dev;
-       /**< This represents the crypto subset of this pci device.
+       /**< This represents the crypto sym subset of this pci device.
+        * Register with this rather than with the one in
+        * pci_dev so that its driver can have a crypto-specific name
+        */
+
+       /* Data relating to asymmetric crypto service */
+       struct qat_asym_dev_private *asym_dev;
+       /**< link back to cryptodev private data */
+       struct rte_device asym_rte_dev;
+       /**< This represents the crypto asym subset of this pci device.
         * Register with this rather than with the one in
         * pci_dev so that its driver can have a crypto-specific name
         */