| 561 | } |
| 562 | |
| 563 | static void |
| 564 | cli_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 | |
| 574 | static void |
| 575 | cli_ethdev_prom_mode(void *parsed_result, __rte_unused struct cmdline *cl, void *data __rte_unused) |
nothing calls this directly
no test coverage detected