MCPcopy Create free account
hub / github.com/F-Stack/f-stack / cmd_showcfg_parsed

Function cmd_showcfg_parsed

dpdk/app/test-pmd/cmdline.c:6746–6767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6744};
6745
6746static 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
6769static cmdline_parse_token_string_t cmd_showcfg_show =
6770 TOKEN_STRING_INITIALIZER(struct cmd_showcfg_result, show, "show");

Callers

nothing calls this directly

Calls 9

strcmpFunction · 0.85
rxtx_config_displayFunction · 0.85
pkt_fwd_config_displayFunction · 0.85
show_rx_pkt_offsetsFunction · 0.85
show_rx_pkt_segmentsFunction · 0.85
show_rx_pkt_hdrsFunction · 0.85
show_tx_pkt_segmentsFunction · 0.85
show_tx_pkt_timesFunction · 0.85

Tested by

no test coverage detected