4435371b8f
Implemented TM node, shaper profile, hierarchy_commit and statistic operations. Signed-off-by: Satha Rao <skoteshwar@marvell.com> Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
24 lines
461 B
C
24 lines
461 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(C) 2021 Marvell.
|
|
*/
|
|
#ifndef __CNXK_TM_H__
|
|
#define __CNXK_TM_H__
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <rte_tm_driver.h>
|
|
|
|
#include "roc_api.h"
|
|
|
|
struct cnxk_nix_tm_node {
|
|
struct roc_nix_tm_node nix_node;
|
|
struct rte_tm_node_params params;
|
|
};
|
|
|
|
struct cnxk_nix_tm_shaper_profile {
|
|
struct roc_nix_tm_shaper_profile profile;
|
|
struct rte_tm_shaper_params params; /* Rate in bits/sec */
|
|
};
|
|
|
|
#endif /* __CNXK_TM_H__ */
|