| 150 | |
| 151 | #ifndef RTE_EXEC_ENV_WINDOWS |
| 152 | static const char* |
| 153 | mlx5_test_get_socket_path(char *extend) |
| 154 | { |
| 155 | if (strstr(extend, "socket=") == extend) { |
| 156 | const char *socket_path = strchr(extend, '=') + 1; |
| 157 | |
| 158 | TESTPMD_LOG(DEBUG, "MLX5 socket path is %s\n", socket_path); |
| 159 | return socket_path; |
| 160 | } |
| 161 | |
| 162 | TESTPMD_LOG(ERR, "Failed to extract a valid socket path from %s\n", |
| 163 | extend); |
| 164 | return NULL; |
| 165 | } |
| 166 | |
| 167 | static int |
| 168 | mlx5_test_extend_devargs(char *identifier, char *extend) |
no test coverage detected