| 2733 | } |
| 2734 | |
| 2735 | const char * |
| 2736 | rte_cryptodev_driver_name_get(uint8_t driver_id) |
| 2737 | { |
| 2738 | struct cryptodev_driver *driver; |
| 2739 | |
| 2740 | TAILQ_FOREACH(driver, &cryptodev_driver_list, next) { |
| 2741 | if (driver->id == driver_id) { |
| 2742 | rte_cryptodev_trace_driver_name_get(driver_id, |
| 2743 | driver->driver->name); |
| 2744 | return driver->driver->name; |
| 2745 | } |
| 2746 | } |
| 2747 | return NULL; |
| 2748 | } |
| 2749 | |
| 2750 | uint8_t |
| 2751 | rte_cryptodev_allocate_driver(struct cryptodev_driver *crypto_drv, |
no outgoing calls