| 7058 | }; |
| 7059 | |
| 7060 | static void cmd_showdevice_parsed(void *parsed_result, |
| 7061 | __rte_unused struct cmdline *cl, |
| 7062 | __rte_unused void *data) |
| 7063 | { |
| 7064 | struct cmd_showdevice_result *res = parsed_result; |
| 7065 | if (!strcmp(res->what, "info")) { |
| 7066 | if (!strcmp(res->identifier, "all")) |
| 7067 | device_infos_display(NULL); |
| 7068 | else |
| 7069 | device_infos_display(res->identifier); |
| 7070 | } |
| 7071 | } |
| 7072 | |
| 7073 | static cmdline_parse_token_string_t cmd_showdevice_show = |
| 7074 | TOKEN_STRING_INITIALIZER(struct cmd_showdevice_result, show, |
nothing calls this directly
no test coverage detected