| 13 | #endif |
| 14 | |
| 15 | int |
| 16 | rte_pie_rt_data_init(struct rte_pie *pie) |
| 17 | { |
| 18 | if (pie == NULL) { |
| 19 | RTE_LOG(ERR, SCHED, "%s: Invalid addr for pie\n", __func__); |
| 20 | return -EINVAL; |
| 21 | } |
| 22 | |
| 23 | memset(pie, 0, sizeof(*pie)); |
| 24 | |
| 25 | return 0; |
| 26 | } |
| 27 | |
| 28 | int |
| 29 | rte_pie_config_init(struct rte_pie_config *pie_cfg, |