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

Function cli_ethdev_mtu

dpdk/app/graph/ethdev.c:563–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561}
562
563static void
564cli_ethdev_mtu(void *parsed_result, __rte_unused struct cmdline *cl, void *data __rte_unused)
565{
566 struct ethdev_mtu_cmd_tokens *res = parsed_result;
567 int rc = -EINVAL;
568
569 rc = ethdev_mtu_config(res->dev, res->size);
570 if (rc < 0)
571 printf(MSG_CMD_FAIL, res->cmd);
572}
573
574static void
575cli_ethdev_prom_mode(void *parsed_result, __rte_unused struct cmdline *cl, void *data __rte_unused)

Callers

nothing calls this directly

Calls 2

ethdev_mtu_configFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected