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

Function rte_cryptodev_socket_id

dpdk/lib/cryptodev/rte_cryptodev.c:959–972  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

957}
958
959int
960rte_cryptodev_socket_id(uint8_t dev_id)
961{
962 struct rte_cryptodev *dev;
963
964 if (!rte_cryptodev_is_valid_dev(dev_id))
965 return -1;
966
967 dev = rte_cryptodev_pmd_get_dev(dev_id);
968
969 rte_cryptodev_trace_socket_id(dev_id, dev->data->name,
970 dev->data->socket_id);
971 return dev->data->socket_id;
972}
973
974static inline int
975rte_cryptodev_data_alloc(uint8_t dev_id, struct rte_cryptodev_data **data,

Callers 15

mainFunction · 0.85
testsuite_setupFunction · 0.85
ut_setup_asymFunction · 0.85
testsuite_setupFunction · 0.85
dev_configure_and_startFunction · 0.85
test_device_reconfigureFunction · 0.85
test_enq_callback_setupFunction · 0.85
test_deq_callback_setupFunction · 0.85
configure_cryptodevFunction · 0.85
dev_configure_and_startFunction · 0.85

Calls 2

Tested by 13

testsuite_setupFunction · 0.68
ut_setup_asymFunction · 0.68
testsuite_setupFunction · 0.68
dev_configure_and_startFunction · 0.68
test_device_reconfigureFunction · 0.68
test_enq_callback_setupFunction · 0.68
test_deq_callback_setupFunction · 0.68
configure_cryptodevFunction · 0.68
dev_configure_and_startFunction · 0.68
testsuite_setupFunction · 0.68
perf_cryptodev_setupFunction · 0.68