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

Function find_lo

dpdk/examples/vhost_crypto/main.c:77–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75#define NB_SOCKET_FIELDS (2)
76
77static uint32_t
78find_lo(uint32_t lcore_id)
79{
80 uint32_t i;
81
82 for (i = 0; i < options.nb_los; i++)
83 if (options.los[i].lcore_id == lcore_id)
84 return i;
85
86 return UINT32_MAX;
87}
88
89/** support *SOCKET_FILE_PATH:CRYPTODEV_ID* format */
90static int

Callers 2

parse_socket_argFunction · 0.85
parse_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected