BroadView™ API Guide and Reference Manual
Functions
sbplugin_redirect_bst.h File Reference
#include "broadview.h"
#include "openapps_feature.h"
#include "bst.h"

Go to the source code of this file.

Functions

BVIEW_STATUS sbapi_bst_clear_stats (int asic)
 Clear BST stats of a particular unit.
 
BVIEW_STATUS sbapi_bst_clear_thresholds (int asic)
 Restore threshold configuration to defaults.
 
BVIEW_STATUS sbapi_bst_config_get (int asic, BVIEW_BST_CONFIG_t *config)
 Get BST configuration.
 
BVIEW_STATUS sbapi_bst_config_set (int asic, BVIEW_BST_CONFIG_t *config)
 Set BST configuration.
 
BVIEW_STATUS sbapi_bst_cpuq_data_get (int asic, BVIEW_BST_EGRESS_CPU_QUEUE_DATA_t *data, BVIEW_TIME_t *time)
 Obtain Egress CPU Queues Statistics.
 
BVIEW_STATUS sbapi_bst_cpuq_threshold_set (int asic, int cpuQueue, BVIEW_BST_EGRESS_CPU_QUEUE_THRESHOLD_t *threshold)
 Set profile configuration for Egress CPU Queues Statistics.
 
BVIEW_STATUS sbapi_bst_device_data_get (int asic, BVIEW_BST_DEVICE_DATA_t *data, BVIEW_TIME_t *time)
 Obtain Device Statistics.
 
BVIEW_STATUS sbapi_bst_device_threshold_set (int asic, BVIEW_BST_DEVICE_THRESHOLD_t *threshold)
 Set profile configuration for Device Statistics.
 
BVIEW_STATUS sbapi_bst_emcq_data_get (int asic, BVIEW_BST_EGRESS_MC_QUEUE_DATA_t *data, BVIEW_TIME_t *time)
 Obtain Egress Multicast Queues Statistics.
 
BVIEW_STATUS sbapi_bst_emcq_threshold_set (int asic, int mcQueue, BVIEW_BST_EGRESS_MC_QUEUE_THRESHOLD_t *threshold)
 Set profile configuration for Egress Multicast Queues Statistics.
 
BVIEW_STATUS sbapi_bst_epsp_data_get (int asic, BVIEW_BST_EGRESS_PORT_SP_DATA_t *data, BVIEW_TIME_t *time)
 Obtain Egress Port + Service Pools Statistics.
 
BVIEW_STATUS sbapi_bst_epsp_threshold_set (int asic, int port, int sp, BVIEW_BST_EGRESS_PORT_SP_THRESHOLD_t *threshold)
 Set Profile configuration for Egress Port + Service Pools Statistics.
 
BVIEW_STATUS sbapi_bst_esp_data_get (int asic, BVIEW_BST_EGRESS_SP_DATA_t *data, BVIEW_TIME_t *time)
 Obtain Egress Service Pools Statistics.
 
BVIEW_STATUS sbapi_bst_esp_threshold_set (int asic, int sp, BVIEW_BST_EGRESS_SP_THRESHOLD_t *threshold)
 Set profile configuration for Egress Service Pools Statistics.
 
BVIEW_STATUS sbapi_bst_eucq_data_get (int asic, BVIEW_BST_EGRESS_UC_QUEUE_DATA_t *data, BVIEW_TIME_t *time)
 Obtain Egress Unicast Queues Statistics.
 
BVIEW_STATUS sbapi_bst_eucq_threshold_set (int asic, int ucQueue, BVIEW_BST_EGRESS_UC_QUEUE_THRESHOLD_t *threshold)
 Set profile configuration for Egress Unicast Queues Statistics.
 
BVIEW_STATUS sbapi_bst_eucqg_data_get (int asic, BVIEW_BST_EGRESS_UC_QUEUEGROUPS_DATA_t *data, BVIEW_TIME_t *time)
 Obtain Egress Unicast Queue Groups Statistics.
 
BVIEW_STATUS sbapi_bst_eucqg_threshold_set (int asic, int ucQueueGrp, BVIEW_BST_EGRESS_UC_QUEUEGROUPS_THRESHOLD_t *threshold)
 Set profile configuration for Egress Unicast Queue Groups Statistics.
 
BVIEW_STATUS sbapi_bst_ippg_data_get (int asic, BVIEW_BST_INGRESS_PORT_PG_DATA_t *data, BVIEW_TIME_t *time)
 Obtain Ingress Port + Priority Groups Statistics.
 
BVIEW_STATUS sbapi_bst_ippg_threshold_set (int asic, int port, int pg, BVIEW_BST_INGRESS_PORT_PG_THRESHOLD_t *threshold)
 Set profile configuration for Ingress Port + Priority Groups Statistics.
 
BVIEW_STATUS sbapi_bst_ipsp_data_get (int asic, BVIEW_BST_INGRESS_PORT_SP_DATA_t *data, BVIEW_TIME_t *time)
 Obtain Ingress Port + Service Pools Statistics.
 
BVIEW_STATUS sbapi_bst_ipsp_threshold_set (int asic, int port, int sp, BVIEW_BST_INGRESS_PORT_SP_THRESHOLD_t *threshold)
 Set profile configuration for Ingress Port + Service Pools Statistics.
 
BVIEW_STATUS sbapi_bst_isp_data_get (int asic, BVIEW_BST_INGRESS_SP_DATA_t *data, BVIEW_TIME_t *time)
 Obtain Ingress Service Pools Statistics.
 
BVIEW_STATUS sbapi_bst_isp_threshold_set (int asic, int sp, BVIEW_BST_INGRESS_SP_THRESHOLD_t *threshold)
 Set profile configuration for Ingress Service Pools Statistics.
 
BVIEW_STATUS sbapi_bst_port_mcast_cgs_drop_get (int asic, int port, int queue, uint64_t *dropCount)
 
BVIEW_STATUS sbapi_bst_port_total_cgs_drop_get (int asic, int port, uint64_t *dropCount)
 
BVIEW_STATUS sbapi_bst_port_ucast_cgs_drop_get (int asic, int port, int queue, uint64_t *dropCount)
 
BVIEW_STATUS sbapi_bst_register_trigger (int asic, BVIEW_BST_TRIGGER_CALLBACK_t callback, void *cookie)
 Register hw trigger callback.
 
BVIEW_STATUS sbapi_bst_rqeq_data_get (int asic, BVIEW_BST_EGRESS_RQE_QUEUE_DATA_t *data, BVIEW_TIME_t *time)
 Obtain Egress RQE Queues Statistics.
 
BVIEW_STATUS sbapi_bst_rqeq_threshold_set (int asic, int rqeQueue, BVIEW_BST_EGRESS_RQE_QUEUE_THRESHOLD_t *threshold)
 Set profile configuration for Egress RQE Queues Statistics.
 
BVIEW_STATUS sbapi_bst_snapshot_get (int asic, BVIEW_BST_ASIC_SNAPSHOT_DATA_t *snapshot, BVIEW_TIME_t *time)
 Get BST snapshot.
 
BVIEW_STATUS sbapi_bst_threshold_get (int asic, BVIEW_BST_ASIC_SNAPSHOT_DATA_t *thresholdSnapshot, BVIEW_TIME_t *time)
 Get snapshot of all thresholds configured.