regex/mlx5: support rules import
[dpdk.git] / drivers / crypto / virtio / virtio_pci.c
index 8137b3c..f490f6e 100644 (file)
@@ -31,7 +31,7 @@
 #define VIRTIO_PCI_CONFIG(hw) \
                (((hw)->use_msix == VIRTIO_MSIX_ENABLED) ? 24 : 20)
 
-struct virtio_hw_internal virtio_hw_internal[RTE_MAX_VIRTIO_CRYPTO];
+struct virtio_hw_internal crypto_virtio_hw_internal[RTE_MAX_VIRTIO_CRYPTO];
 
 static inline int
 check_vq_phys_addr_ok(struct virtqueue *vq)
@@ -452,7 +452,7 @@ vtpci_cryptodev_init(struct rte_pci_device *dev, struct virtio_crypto_hw *hw)
         */
        if (virtio_read_caps(dev, hw) == 0) {
                VIRTIO_CRYPTO_INIT_LOG_INFO("modern virtio pci detected.");
-               virtio_hw_internal[hw->dev_id].vtpci_ops =
+               crypto_virtio_hw_internal[hw->dev_id].vtpci_ops =
                                        &virtio_crypto_modern_ops;
                hw->modern = 1;
                return 0;