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

Function eal_mp_socket_path

dpdk/lib/eal/common/eal_filesystem.h:48–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46/** Path of primary/secondary communication unix socket file. */
47#define MP_SOCKET_FNAME "mp_socket"
48static inline const char *
49eal_mp_socket_path(void)
50{
51 static char buffer[PATH_MAX]; /* static so auto-zeroed */
52
53 snprintf(buffer, sizeof(buffer), "%s/%s", rte_eal_get_runtime_dir(),
54 MP_SOCKET_FNAME);
55 return buffer;
56}
57
58#define FBARRAY_NAME_FMT "%s/fbarray_%s"
59static inline const char *

Callers 4

create_socket_pathFunction · 0.85
mp_sendFunction · 0.85
rte_mp_request_syncFunction · 0.85
rte_mp_request_asyncFunction · 0.85

Calls 2

snprintfFunction · 0.85
rte_eal_get_runtime_dirFunction · 0.85

Tested by

no test coverage detected