| 39 | } |
| 40 | |
| 41 | struct tmgr_port * |
| 42 | tmgr_port_find(const char *name) |
| 43 | { |
| 44 | struct tmgr_port *tmgr_port; |
| 45 | |
| 46 | if (name == NULL) |
| 47 | return NULL; |
| 48 | |
| 49 | TAILQ_FOREACH(tmgr_port, &tmgr_port_list, node) |
| 50 | if (strcmp(tmgr_port->name, name) == 0) |
| 51 | return tmgr_port; |
| 52 | |
| 53 | return NULL; |
| 54 | } |
| 55 | |
| 56 | int |
| 57 | tmgr_subport_profile_add(struct rte_sched_subport_profile_params *params) |
no test coverage detected