xref: /dpdk/drivers/net/cnxk/cnxk_tm.h (revision 4435371b8fb1c001171682a189ef87c1118c2542)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(C) 2021 Marvell.
3  */
4 #ifndef __CNXK_TM_H__
5 #define __CNXK_TM_H__
6 
7 #include <stdbool.h>
8 
9 #include <rte_tm_driver.h>
10 
11 #include "roc_api.h"
12 
13 struct cnxk_nix_tm_node {
14 	struct roc_nix_tm_node nix_node;
15 	struct rte_tm_node_params params;
16 };
17 
18 struct cnxk_nix_tm_shaper_profile {
19 	struct roc_nix_tm_shaper_profile profile;
20 	struct rte_tm_shaper_params params; /* Rate in bits/sec */
21 };
22 
23 #endif /* __CNXK_TM_H__ */
24