| 6744 | }; |
| 6745 | |
| 6746 | static void cmd_showcfg_parsed(void *parsed_result, |
| 6747 | __rte_unused struct cmdline *cl, |
| 6748 | __rte_unused void *data) |
| 6749 | { |
| 6750 | struct cmd_showcfg_result *res = parsed_result; |
| 6751 | if (!strcmp(res->what, "rxtx")) |
| 6752 | rxtx_config_display(); |
| 6753 | else if (!strcmp(res->what, "cores")) |
| 6754 | fwd_lcores_config_display(); |
| 6755 | else if (!strcmp(res->what, "fwd")) |
| 6756 | pkt_fwd_config_display(&cur_fwd_config); |
| 6757 | else if (!strcmp(res->what, "rxoffs")) |
| 6758 | show_rx_pkt_offsets(); |
| 6759 | else if (!strcmp(res->what, "rxpkts")) |
| 6760 | show_rx_pkt_segments(); |
| 6761 | else if (!strcmp(res->what, "rxhdrs")) |
| 6762 | show_rx_pkt_hdrs(); |
| 6763 | else if (!strcmp(res->what, "txpkts")) |
| 6764 | show_tx_pkt_segments(); |
| 6765 | else if (!strcmp(res->what, "txtimes")) |
| 6766 | show_tx_pkt_times(); |
| 6767 | } |
| 6768 | |
| 6769 | static cmdline_parse_token_string_t cmd_showcfg_show = |
| 6770 | TOKEN_STRING_INITIALIZER(struct cmd_showcfg_result, show, "show"); |
nothing calls this directly
no test coverage detected