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

Function cmd_showfwdall_parsed

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

Source from the content-addressed store, hash-verified

7207 TOKEN_STRING_INITIALIZER(struct fwd_result, all, "all");
7208
7209static void
7210cmd_showfwdall_parsed(void *parsed_result,
7211 __rte_unused struct cmdline *cl,
7212 __rte_unused void *data)
7213{
7214 struct fwd_result *res = parsed_result;
7215
7216 if (!strcmp(res->action, "show"))
7217 fwd_stats_display();
7218 else
7219 fwd_stats_reset();
7220}
7221
7222static cmdline_parse_inst_t cmd_showfwdall = {
7223 .f = cmd_showfwdall_parsed,

Callers

nothing calls this directly

Calls 3

strcmpFunction · 0.85
fwd_stats_displayFunction · 0.85
fwd_stats_resetFunction · 0.85

Tested by

no test coverage detected