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

Function test_eventdev_socket_id

dpdk/app/test/test_eventdev.c:72–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static int
73test_eventdev_socket_id(void)
74{
75 int socket_id;
76 socket_id = rte_event_dev_socket_id(TEST_DEV_ID);
77 TEST_ASSERT(socket_id != -EINVAL, "Failed to get socket_id %d",
78 socket_id);
79 socket_id = rte_event_dev_socket_id(RTE_EVENT_MAX_DEVS);
80 TEST_ASSERT(socket_id == -EINVAL, "Expected -EINVAL %d", socket_id);
81
82 return TEST_SUCCESS;
83}
84
85static int
86test_eventdev_info_get(void)

Callers

nothing calls this directly

Calls 1

rte_event_dev_socket_idFunction · 0.85

Tested by

no test coverage detected