| 71 | } |
| 72 | |
| 73 | int |
| 74 | tmgr_pipe_profile_add(struct rte_sched_pipe_params *p) |
| 75 | { |
| 76 | /* Check input params */ |
| 77 | if (p == NULL) |
| 78 | return -1; |
| 79 | |
| 80 | /* Save profile */ |
| 81 | memcpy(&pipe_profile[n_pipe_profiles], |
| 82 | p, |
| 83 | sizeof(*p)); |
| 84 | |
| 85 | n_pipe_profiles++; |
| 86 | |
| 87 | return 0; |
| 88 | } |
| 89 | |
| 90 | struct tmgr_port * |
| 91 | tmgr_port_create(const char *name, struct tmgr_port_params *params) |
no test coverage detected