| 54 | } |
| 55 | |
| 56 | int |
| 57 | tmgr_subport_profile_add(struct rte_sched_subport_profile_params *params) |
| 58 | { |
| 59 | /* Check input params */ |
| 60 | if (params == NULL) |
| 61 | return -1; |
| 62 | |
| 63 | /* Save profile */ |
| 64 | memcpy(&subport_profile[n_subport_profiles], |
| 65 | params, |
| 66 | sizeof(*params)); |
| 67 | |
| 68 | n_subport_profiles++; |
| 69 | |
| 70 | return 0; |
| 71 | } |
| 72 | |
| 73 | int |
| 74 | tmgr_pipe_profile_add(struct rte_sched_pipe_params *p) |
no test coverage detected