BroadView™ API Guide and Reference Manual
|
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. | |
BVIEW_STATUS sbapi_bst_clear_stats | ( | int | asic | ) |
Clear BST stats of a particular unit.
[in] | asic | unit |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Successfully cleared BST stats |
BVIEW_STATUS_UNSUPPORTED | Clear BST stats functionality is not supported on this unit |
BVIEW_STATUS sbapi_bst_clear_thresholds | ( | int | asic | ) |
Restore threshold configuration to defaults.
[in] | asic | unit |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Resetting threshold to default is successful |
BVIEW_STATUS_UNSUPPORTED | Clear threshold functionality is not supported on this unit |
BVIEW_STATUS sbapi_bst_config_get | ( | int | asic, |
BVIEW_BST_CONFIG_t * | config | ||
) |
Get BST configuration.
[in] | asic | Unit number |
[out] | config | BST config structure |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | BST config get is successful |
BVIEW_STATUS_UNSUPPORTED | BST config get functionality is not supported on this unit |
BVIEW_STATUS sbapi_bst_config_set | ( | int | asic, |
BVIEW_BST_CONFIG_t * | config | ||
) |
Set BST configuration.
[in] | asic | Unit number |
[in] | config | BST config structure |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | BST config set is successful |
BVIEW_STATUS_UNSUPPORTED | BST config set functionality is not supported on this unit |
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.
[in] | asic | unit |
[out] | data | Egress CPU Queue data structure |
[out] | time | time |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress CPU Queues stat get is successful |
BVIEW_STATUS_UNSUPPORTED | Egress CPU Queues stat get functionality is not supported on this unit |
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.
[in] | asic | unit |
[in] | cpuQueue | cpuQueue |
[in] | thres | threshold |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress CPU Queues threshold set is successful |
BVIEW_STATUS_UNSUPPORTED | Egress CPU Queues threshold set functionality is not supported on this unit |
BVIEW_STATUS sbapi_bst_device_data_get | ( | int | asic, |
BVIEW_BST_DEVICE_DATA_t * | data, | ||
BVIEW_TIME_t * | time | ||
) |
Obtain Device Statistics.
[in] | asic | unit |
[out] | data | Device data structure |
[out] | time | time |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Device stat get is successful |
BVIEW_STATUS_UNSUPPORTED | Device stat get functionality is not supported on this unit |
BVIEW_STATUS sbapi_bst_device_threshold_set | ( | int | asic, |
BVIEW_BST_DEVICE_THRESHOLD_t * | threshold | ||
) |
Set profile configuration for Device Statistics.
[in] | asic | unit |
[in] | thres | threshold |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Device Statistics threshold set is successful |
BVIEW_STATUS_UNSUPPORTED | Device Statistics threshold set functionality is not supported on this unit |
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.
[in] | asic | unit |
[out] | data | Egress Multicast Queue data structure |
[out] | time | time |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress Multicast Queues stat get is successful |
BVIEW_STATUS_UNSUPPORTED | Egress Multicast Queues stat get functionality is not supported on this unit |
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.
[in] | asic | - unit |
[in] | mcQueue | - mcQueue |
[in] | thres | - threshold |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress Multicast Queues threshold set is successful |
BVIEW_STATUS_UNSUPPORTED | Egress Multicast Queues threshold set functionality is not supported on this unit |
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.
[in] | asic | unit |
[out] | data | e_p_sp data structure |
[out] | time | time |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress Port + Service Pools stat get is successful |
BVIEW_STATUS_UNSUPPORTED | Egress Port + Service Pools stat get functionality is not supported on this unit |
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.
[in] | asic | unit |
[in] | port | port |
[in] | sp | service pool |
[in] | thres | threshold |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress Port + Service Pools threshold set is successful |
BVIEW_STATUS_UNSUPPORTED | Egress Port + Service Pools threshold set functionality is not supported on this unit |
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.
[in] | asic | unit |
[out] | data | e_sp data structure |
[out] | time | time |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress Service Pools stat get is successful |
BVIEW_STATUS_UNSUPPORTED | Egress Service Pools stat get functionality is not supported on this unit |
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.
[in] | asic | unit |
[in] | sp | service pool |
[in] | thres | threshold |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress Service Pools threshold set is successful |
BVIEW_STATUS_UNSUPPORTED | Egress Service Pools threshold set functionality is not supported on this unit |
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.
[in] | asic | unit |
[out] | data | Egress Unicast Queue data structure |
[out] | time | time |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress Unicast Queues stat get is successful |
BVIEW_STATUS_UNSUPPORTED | Egress Unicast Queues stat get functionality is not supported on this unit |
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.
[in] | asic | unit |
[in] | ucQueue | uc queue |
[in] | thres | threshold |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress Unicast Queues threshold set is successful |
BVIEW_STATUS_UNSUPPORTED | Egress Unicast Queues threshold set functionality is not supported on this unit |
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.
[in] | asic | unit |
[out] | data | Egress Unicast Queue Groups data structure |
[out] | time | time |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress Unicast Queue Groups stat get is successful |
BVIEW_STATUS_UNSUPPORTED | Egress Unicast Queue Groups stat get functionality is not supported on this unit |
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.
[in] | asic | unit |
[in] | ucQueueGrp | uc queue group |
[in] | thres | threshold |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress Unicast Queue Groups threshold set is successful |
BVIEW_STATUS_UNSUPPORTED | Egress Unicast Queue Groups threshold set functionality is not supported on this unit |
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.
[in] | asic | unit |
[out] | data | i_p_pg data structure |
[out] | time | time |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Ingress Port + Priority Groups stat get is successful |
BVIEW_STATUS_UNSUPPORTED | Ingress Port + Priority Groups stat get functionality is not supported on this unit |
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.
[in] | asic | unit |
[in] | port | port |
[in] | pg | Priority Group |
[out] | thres | Threshold structure |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Ingress Port + Priority Groups threshold set is successful |
BVIEW_STATUS_UNSUPPORTED | Ingress Port + Priority Groups threshold set functionality is not supported on this unit |
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.
[in] | asic | unit |
[out] | data | i_p_sp data structure |
[out] | time | time |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Ingress Port + Service Pools stat get is successful |
BVIEW_STATUS_UNSUPPORTED | Ingress Port + Service Pools stat get functionality is not supported on this unit |
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.
[in] | asic | unit |
[in] | port | port |
[in] | sp | service pool |
[in] | thres | threshold |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Ingress Port + Service Pools threshold set is successful |
BVIEW_STATUS_UNSUPPORTED | Ingress Port + Service Pools threshold set functionality is not supported on this unit |
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.
[in] | asic | unit |
[out] | data | i_sp structure |
[out] | time | time |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Ingress Service Pools stat get is successful |
BVIEW_STATUS_UNSUPPORTED | Ingress Service Pools stat get functionality is not supported on this unit |
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.
[in] | asic | unit |
[in] | sp | service pool |
[in] | thres | threshold |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Ingress Service Pools threshold set is successful |
BVIEW_STATUS_UNSUPPORTED | Ingress Service Pools threshold set functionality is not supported on this unit |
BVIEW_STATUS sbapi_bst_register_trigger | ( | int | asic, |
BVIEW_BST_TRIGGER_CALLBACK_t | callback, | ||
void * | cookie | ||
) |
Register hw trigger callback.
[in] | asic | unit |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Callback is successfully registered |
BVIEW_STATUS_UNSUPPORTED | Trigger callback registration is not supported |
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.
[in] | asic | unit |
[out] | data | Egress RQE Queue data structure |
[out] | time | time |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress RQE Queues stat get is successful |
BVIEW_STATUS_UNSUPPORTED | Egress RQE Queues stat get functionality is not supported on this unit |
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.
[in] | asic | unit |
[in] | rqeQueue | rqeQueue |
[out] | thres | Threshold data structure |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Egress RQE Queues threshold set is successful |
BVIEW_STATUS_UNSUPPORTED | Egress RQE Queues threshold set functionality is not supported on this unit |
BVIEW_STATUS sbapi_bst_snapshot_get | ( | int | asic, |
BVIEW_BST_ASIC_SNAPSHOT_DATA_t * | snapshot, | ||
BVIEW_TIME_t * | time | ||
) |
Get BST snapshot.
[in] | asic | Unit number |
[out] | snapshot | BST snapshot |
[out] | time | Time |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | BST snapshot get is successful |
BVIEW_STATUS_UNSUPPORTED | BST snapshot get functionality is not supported on this unit |
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.
[in] | asic | unit |
[out] | thresholdSnapshot | threshold snapshot |
BVIEW_STATUS_FAILURE | Due to lock acquistion failure or Not able to get asic type of this unit or BST feature is not present or BST south bound function has returned failure |
BVIEW_STATUS_SUCCESS | Snapshot get is successful |
BVIEW_STATUS_UNSUPPORTED | Snapshot get functionality is not supported on this unit |