MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_cryptodev_name_get

Function rte_cryptodev_name_get

dpdk/lib/cryptodev/rte_cryptodev.c:2716–2733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2714}
2715
2716const char *
2717rte_cryptodev_name_get(uint8_t dev_id)
2718{
2719 struct rte_cryptodev *dev;
2720
2721 if (!rte_cryptodev_is_valid_device_data(dev_id)) {
2722 CDEV_LOG_ERR("Invalid dev_id=%" PRIu8, dev_id);
2723 return NULL;
2724 }
2725
2726 dev = rte_cryptodev_pmd_get_dev(dev_id);
2727 if (dev == NULL)
2728 return NULL;
2729
2730 rte_cryptodev_trace_name_get(dev_id, dev->data->name);
2731
2732 return dev->data->name;
2733}
2734
2735const char *
2736rte_cryptodev_driver_name_get(uint8_t driver_id)

Callers 6

show_cryptoFunction · 0.85
prepare_cipher_xformFunction · 0.85
prepare_auth_xformFunction · 0.85
prepare_aead_xformFunction · 0.85
fips_dev_self_testFunction · 0.85
mainFunction · 0.85

Tested by 4

prepare_cipher_xformFunction · 0.68
prepare_auth_xformFunction · 0.68
prepare_aead_xformFunction · 0.68
fips_dev_self_testFunction · 0.68