| 1310 | }; |
| 1311 | |
| 1312 | static void cmd_operate_detach_device_parsed(void *parsed_result, |
| 1313 | __rte_unused struct cmdline *cl, |
| 1314 | __rte_unused void *data) |
| 1315 | { |
| 1316 | struct cmd_operate_detach_device_result *res = parsed_result; |
| 1317 | |
| 1318 | if (!strcmp(res->keyword, "detach")) |
| 1319 | detach_devargs(res->identifier); |
| 1320 | else |
| 1321 | fprintf(stderr, "Unknown parameter\n"); |
| 1322 | } |
| 1323 | |
| 1324 | static cmdline_parse_token_string_t cmd_operate_detach_device_device = |
| 1325 | TOKEN_STRING_INITIALIZER(struct cmd_operate_detach_device_result, |
nothing calls this directly
no test coverage detected