]> git.droids-corp.org - dpdk.git/blobdiff - drivers/crypto/bcmfs/bcmfs_device.h
common/mlx5: fix default devargs initialization
[dpdk.git] / drivers / crypto / bcmfs / bcmfs_device.h
index 2fb8eed1436015c62f8e77635b6360f01ff89a34..4901a6cfd996e3d9b46dcf84258b0479f6fe463a 100644 (file)
@@ -32,7 +32,7 @@ enum bcmfs_device_type {
        BCMFS_UNKNOWN
 };
 
-/* A table to store registered queue pair opertations */
+/* A table to store registered queue pair operations */
 struct bcmfs_hw_queue_pair_ops_table {
        rte_spinlock_t tl;
        /* Number of used ops structs in the table. */
@@ -65,6 +65,12 @@ struct bcmfs_device {
        struct bcmfs_qp *qps_in_use[BCMFS_MAX_HW_QUEUES];
        /* queue pair ops exported by symmetric crypto hw */
        struct bcmfs_hw_queue_pair_ops *sym_hw_qp_ops;
+       /* a cryptodevice attached to bcmfs device */
+       struct rte_cryptodev *cdev;
+       /* a rte_device to register with cryptodev */
+       struct rte_device sym_rte_dev;
+       /* private info to keep with cryptodev */
+       struct bcmfs_sym_dev_private *sym_dev;
 };
 
 #endif /* _BCMFS_DEVICE_H_ */