| 566 | } |
| 567 | |
| 568 | static int |
| 569 | handle_dev_list(const char *cmd __rte_unused, |
| 570 | const char *params __rte_unused, |
| 571 | struct rte_tel_data *d) |
| 572 | { |
| 573 | int i; |
| 574 | |
| 575 | rte_tel_data_start_array(d, RTE_TEL_INT_VAL); |
| 576 | for (i = 0; i < rawdev_globals.nb_devs; i++) |
| 577 | if (rte_rawdevices[i].attached == RTE_RAWDEV_ATTACHED) |
| 578 | rte_tel_data_add_array_int(d, i); |
| 579 | return 0; |
| 580 | } |
| 581 | |
| 582 | static int |
| 583 | handle_dev_xstats(const char *cmd __rte_unused, |
nothing calls this directly
no test coverage detected