cryptodev: extract symmetric operations
[dpdk.git] / drivers / crypto / qat / rte_qat_cryptodev.c
index e500c1e..85700fc 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  *
- *   Copyright(c) 2015 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2015-2016 Intel Corporation. All rights reserved.
  *   All rights reserved.
  *
  *   Redistribution and use in source and binary forms, with or without
@@ -89,11 +89,11 @@ crypto_qat_dev_init(__attribute__((unused)) struct rte_cryptodev_driver *crypto_
                cryptodev->pci_dev->addr.devid,
                cryptodev->pci_dev->addr.function);
 
-       cryptodev->dev_type = RTE_CRYPTODEV_QAT_PMD;
+       cryptodev->dev_type = RTE_CRYPTODEV_QAT_SYM_PMD;
        cryptodev->dev_ops = &crypto_qat_ops;
 
-       cryptodev->enqueue_burst = qat_crypto_pkt_tx_burst;
-       cryptodev->dequeue_burst = qat_crypto_pkt_rx_burst;
+       cryptodev->enqueue_burst = qat_sym_crypto_pkt_tx_burst;
+       cryptodev->dequeue_burst = qat_sym_crypto_pkt_rx_burst;
 
 
        internals = cryptodev->data->dev_private;