OpenNSL API Guide and Reference Manual
|
#include <opennsl/types.h>
#include <opennsl/switch.h>
#include <shared/port.h>
#include <opennsl/cosqX.h>
Go to the source code of this file.
Data Structures | |
struct | opennsl_cosq_bst_profile_s |
Typedefs | |
typedef enum opennsl_bst_stat_id_e | opennsl_bst_stat_id_t |
BST Tracing statistics resources type eumerations. | |
typedef struct opennsl_cosq_bst_profile_s | opennsl_cosq_bst_profile_t |
Enumerations | |
enum | opennsl_bst_stat_id_e { opennslBstStatIdInvalid = -1, opennslBstStatIdDevice = 0, opennslBstStatIdEgrPool = 1, opennslBstStatIdEgrMCastPool = 2, opennslBstStatIdIngPool = 3, opennslBstStatIdPortPool = 4, opennslBstStatIdPriGroupShared = 5, opennslBstStatIdPriGroupHeadroom = 6, opennslBstStatIdUcast = 7, opennslBstStatIdMcast = 8, opennslBstStatIdHeadroomPool = 9, opennslBstStatIdEgrPortPoolSharedUcast = 10, opennslBstStatIdEgrPortPoolSharedMcast = 11, opennslBstStatIdMaxCount = 12 } |
BST Tracing statistics resources type eumerations. More... | |
Functions | |
int | opennsl_cosq_bst_profile_get (int unit, opennsl_gport_t gport, opennsl_cos_queue_t cosq, opennsl_bst_stat_id_t bid, opennsl_cosq_bst_profile_t *profile) LIB_DLL_EXPORTED |
Set/Get the BST profile for CosQ objects. | |
int | opennsl_cosq_bst_profile_set (int unit, opennsl_gport_t gport, opennsl_cos_queue_t cosq, opennsl_bst_stat_id_t bid, opennsl_cosq_bst_profile_t *profile) LIB_DLL_EXPORTED |
Set/Get the BST profile for CosQ objects. | |
int | opennsl_cosq_bst_stat_clear (int unit, opennsl_gport_t gport, opennsl_cos_queue_t cosq, opennsl_bst_stat_id_t bid) LIB_DLL_EXPORTED |
Clear the current statistic/count of specified BST profile. | |
int | opennsl_cosq_bst_stat_get (int unit, opennsl_gport_t gport, opennsl_cos_queue_t cosq, opennsl_bst_stat_id_t bid, uint32 options, uint64 *value) LIB_DLL_EXPORTED |
Get the current statistic/count of specified BST profile. | |
int | opennsl_cosq_bst_stat_multi_get (int unit, opennsl_gport_t gport, opennsl_cos_queue_t cosq, uint32 options, int max_values, opennsl_bst_stat_id_t *id_list, uint64 *values) LIB_DLL_EXPORTED |
Get the current statistic/count of multiple specified BST profile. | |
int | opennsl_cosq_bst_stat_sync (int unit, opennsl_bst_stat_id_t bid) LIB_DLL_EXPORTED |
Sync the HW stats value to SW copy for all or given BST resource. | |