numam-dpdk/drivers/net/cnxk/cnxk_tm.h
Satha Rao 4435371b8f net/cnxk: add TM shaper and node operations
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>
2021-09-28 12:09:14 +02:00

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__ */