cryptodev: remove PMD type
[dpdk.git] / lib / librte_cryptodev / rte_cryptodev_pmd.h
index cd46674..9a9174f 100644 (file)
@@ -456,13 +456,12 @@ struct rte_cryptodev_ops {
  * to that slot for the driver to use.
  *
  * @param      name            Unique identifier name for each device
- * @param      type            Device type of this Crypto device
  * @param      socket_id       Socket to allocate resources on.
  * @return
  *   - Slot in the rte_dev_devices array for a new device;
  */
 struct rte_cryptodev *
-rte_cryptodev_pmd_allocate(const char *name, enum pmd_type type, int socket_id);
+rte_cryptodev_pmd_allocate(const char *name, int socket_id);
 
 /**
  * Creates a new virtual crypto device and returns the pointer
@@ -505,7 +504,7 @@ rte_cryptodev_pmd_release_device(struct rte_cryptodev *cryptodev);
  *             device, by invoking the rte_eal_pci_register() function to
  *             register the *pci_drv* structure embedded in the *crypto_drv*
  *             structure, after having stored the address of the
- *             rte_cryptodev_init() function in the *devinit* field of the
+ *             rte_cryptodev_init() function in the *probe* field of the
  *             *pci_drv* structure.
  *
  *             During the PCI probing phase, the rte_cryptodev_init()