1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2020-2021 NXP
22 struct dpaa2_tm_shaper_profile {
23 LIST_ENTRY(dpaa2_tm_shaper_profile) next;
26 struct rte_tm_shaper_params params;
29 struct dpaa2_tm_node {
30 LIST_ENTRY(dpaa2_tm_node) next;
34 uint16_t channel_id; /* Only for level 1 nodes */
35 uint16_t tc_id; /* Only for level 1 nodes */
37 struct dpaa2_tm_node *parent;
38 struct dpaa2_tm_shaper_profile *profile;
44 int dpaa2_tm_init(struct rte_eth_dev *dev);
45 void dpaa2_tm_deinit(struct rte_eth_dev *dev);
47 #endif /* _DPAA2_TM_H_ */