| 46 | /** Path of primary/secondary communication unix socket file. */ |
| 47 | #define MP_SOCKET_FNAME "mp_socket" |
| 48 | static inline const char * |
| 49 | eal_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" |
| 59 | static inline const char * |
no test coverage detected