|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.9.0.2
|
Macros | |
| #define | BVIEW_MAX_STRING_NAME_LEN 256 |
| #define | OPEN_ASIC_BST_MAX_PORTS OPEN_ASIC_ICOS_BST_MAX_PORTS |
| #define | OPEN_ASIC_ICOS_BST_MAX_PORTS 300 |
| Maximum number of ports. | |
| #define | OPEN_ASIC_ICOS_MAX_PORTS 300 |
| OPEN_ASIC_ICOS_MAX_PORTS may be deprecated in the future, use OPEN_ASIC_MAX_PORTS. | |
| #define | OPEN_ASIC_MAX_COMMON_POOLS 1 |
| Number of maximum service pools. | |
| #define | OPEN_ASIC_MAX_CPU_QUEUES 8 |
| Number of maximum CPU queues. | |
| #define | OPEN_ASIC_MAX_INGRESS_SERVICE_POOLS (OPEN_ASIC_MAX_SERVICE_POOLS + OPEN_ASIC_MAX_COMMON_POOLS) |
| Number of maximum total service pools. | |
| #define | OPEN_ASIC_MAX_MC_QUEUES 1040 |
| Number of maximum multicast queues. | |
| #define | OPEN_ASIC_MAX_PORTS OPEN_ASIC_ICOS_MAX_PORTS |
| #define | OPEN_ASIC_MAX_PRIORITY_GROUPS 8 |
| Number of maximum priority groups. | |
| #define | OPEN_ASIC_MAX_RQE_QUEUE_POOLS 4 |
| Number of maximum RQE queue pools. | |
| #define | OPEN_ASIC_MAX_RQE_QUEUES 11 |
| Number of maximum RQE queues. | |
| #define | OPEN_ASIC_MAX_SERVICE_POOLS 4 |
| Number of maximum common pools. | |
| #define | OPEN_ASIC_MAX_UC_MC_QUEUES (OPEN_ASIC_MAX_UC_QUEUES + OPEN_ASIC_MAX_MC_QUEUES) |
| #define | OPEN_ASIC_MAX_UC_QUEUE_GROUPS 4096 |
| Number of maximum unicast queue groups. | |
| #define | OPEN_ASIC_MAX_UC_QUEUES 16384 |
| Number maximum of unicast queues. | |
| #define | OPEN_BST_INVALID_THRESHOLD_FIELD 0xFFFFFFFFFFFFFFFFLL |
| #define | OPEN_BST_INVALID_THRESHOLD_FIELD_32 0xFFFFFFFF |
| #define | OPEN_SYSTEM_NUM_COS_PORT 8 |
| Number of maximum COS queue per port. | |
Typedefs | |
|
typedef struct _open_bst_error_data_ | OPEN_BST_ERROR_DATA_t |
| Structure to hold error info during multi threshold set. | |
|
typedef enum _open_bst_threshold_realm_ | OPEN_BST_THRESHOLD_TYPE_t |
| Threshold types enum. | |
| typedef open_error_t(* | OPEN_BST_TRIGGER_CALLBACK_t )(int asic, void *handle, OPEN_BST_TRIGGER_INFO_t *info) |
| Callback to be invoked when a configured threshold is breached. | |
Enumerations | |
| enum | _open_bst_threshold_realm_ { OPEN_BST_DEVICE_THRESHOLD = 1, OPEN_BST_EGRESS_PORT_SP_THRESHOLD, OPEN_BST_EGRESS_SP_THRESHOLD, OPEN_BST_EGRESS_UC_QUEUE_THRESHOLD, OPEN_BST_EGRESS_UC_QUEUEGROUPS_THRESHOLD, OPEN_BST_EGRESS_MC_QUEUE_THRESHOLD, OPEN_BST_EGRESS_CPU_QUEUE_THRESHOLD, OPEN_BST_EGRESS_RQE_QUEUE_THRESHOLD, OPEN_BST_INGRESS_PORT_PG_THRESHOLD, OPEN_BST_INGRESS_PORT_SP_THRESHOLD, OPEN_BST_INGRESS_SP_THRESHOLD } |
| Threshold types enum. | |
| enum | OPEN_BST_COLLECTION_MODE { OPEN_BST_MODE_CURRENT = 1, OPEN_BST_MODE_PEAK = 2 } |
| Statistics collection mode. | |
| enum | OPEN_BST_TRIGGER_TYPE { OPEN_BST_TRIGGER_DEVICE = 1, OPEN_BST_TRIGGER_INGRESS = 2, OPEN_BST_TRIGGER_EGRESS = 4 } |
| Trigger Type. | |
Functions | |
| open_error_t | openapiBstAsicCapabilityGet (openapiClientHandle_t *clientHandle, int asic, OPEN_ASIC_CAPABILITIES_t *asicCap) |
| BST feature configuration get function. | |
| open_error_t | openapiBstCgsnDropCtrsClear (openapiClientHandle_t *clientHandle, int asic) |
| Clear congestion drop counters. | |
| open_error_t | openapiBstConfigGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_CONFIG_t *bstCfg) |
| BST feature configuration get function. | |
| open_error_t | openapiBstConfigSet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_CONFIG_t *bstCfg) |
| BST feature configuration set function. | |
| open_error_t | openapiBstCpuqDataGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_EGRESS_CPU_QUEUE_DATA_t *data, time_t *time) |
| Obtain CPU Queues Statistics. | |
| open_error_t | openapiBstCpuqThresholdSet (openapiClientHandle_t *clientHandle, int asic, int cpuQueue, OPEN_BST_EGRESS_CPU_QUEUE_THRESHOLD_t *thre) |
| Set profile configuration for Egress CPU Queues Statistics. | |
| open_error_t | openapiBstDefaultSnapshotGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_ASIC_SNAPSHOT_DATA_t *data1, OPEN_BST_EGRESS_UC_QUEUE_DATA_t *data2, OPEN_BST_EGRESS_MC_QUEUE_DATA_t *data3) |
| Obtain Complete ASIC Default Statistics Report. | |
| open_error_t | openapiBstDeviceDataGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_DEVICE_DATA_t *data, time_t *time) |
| Obtain Device Statistics. | |
| open_error_t | openapiBstDeviceThresholdSet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_DEVICE_THRESHOLD_t *thre) |
| Set profile configuration for Device Statistics. | |
| open_error_t | openapiBstEmcqDataGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_EGRESS_MC_QUEUE_DATA_t *data, time_t *time) |
| Obtain Egress Multicast Queues Statistics. | |
| open_error_t | openapiBstEmcqThresholdSet (openapiClientHandle_t *clientHandle, int asic, int mcQueue, OPEN_BST_EGRESS_MC_QUEUE_THRESHOLD_t *thre) |
| Set profile configuration for Egress Multicast Queues Statistics. | |
| open_error_t | openapiBstEpspDataGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_EGRESS_PORT_SP_DATA_t *data, time_t *time) |
| Obtain Egress Service Pools Statistics. | |
| open_error_t | openapiBstEpspThresholdSet (openapiClientHandle_t *clientHandle, int asic, int port, int sp, OPEN_BST_EGRESS_PORT_SP_THRESHOLD_t *thre) |
| Set Profile configuration for Egress Port + Service Pools Statistics. | |
| open_error_t | openapiBstEspDataGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_EGRESS_SP_DATA_t *data, time_t *time) |
| Obtain Egress Service Pools Statistics. | |
| open_error_t | openapiBstEspThresholdSet (openapiClientHandle_t *clientHandle, int asic, int sp, OPEN_BST_EGRESS_SP_THRESHOLD_t *thre) |
| Set profile configuration for Egress Service Pools Statistics. | |
| open_error_t | openapiBstEucqDataGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_EGRESS_UC_QUEUE_DATA_t *data, time_t *time) |
| Obtain Egress Unicast Queues Statistics. | |
| open_error_t | openapiBstEucqgDataGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_EGRESS_UC_QUEUEGROUPS_DATA_t *data, time_t *time) |
| Obtain Egress Unicast Queue Groups Statistics. | |
| open_error_t | openapiBstEucqgThresholdSet (openapiClientHandle_t *clientHandle, int asic, int ucQueueGrp, OPEN_BST_EGRESS_UC_QUEUEGROUPS_THRESHOLD_t *thre) |
| Set profile configuration for Egress Unicast Queue Groups Statistics. | |
| open_error_t | openapiBstEucqThresholdSet (openapiClientHandle_t *clientHandle, int asic, int ucQueue, OPEN_BST_EGRESS_UC_QUEUE_THRESHOLD_t *thre) |
| Set profile configuration for Egress Unicast Queues Statistics. | |
| open_error_t | openapiBstIppgDataGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_INGRESS_PORT_PG_DATA_t *data, time_t *time) |
| Obtain Ingress Port + Priority Groups Statistics. | |
| open_error_t | openapiBstIppgThresholdSet (openapiClientHandle_t *clientHandle, int asic, int port, int pg, OPEN_BST_INGRESS_PORT_PG_THRESHOLD_t *thre) |
| Set profile configuration for Ingress Port + Priority Groups Statistics. | |
| open_error_t | openapiBstIpspDataGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_INGRESS_PORT_SP_DATA_t *data, time_t *time) |
| Obtain Ingress Port + Service Pools Statistics. | |
| open_error_t | openapiBstIpspThresholdSet (openapiClientHandle_t *clientHandle, int asic, int port, int sp, OPEN_BST_INGRESS_PORT_SP_THRESHOLD_t *thre) |
| Set profile configuration for Ingress Port + Service Pools Statistics. | |
| open_error_t | openapiBstIspDataGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_INGRESS_SP_DATA_t *data, time_t *time) |
| Obtain Ingress Service Pools Statistics. | |
| open_error_t | openapiBstIspThresholdSet (openapiClientHandle_t *clientHandle, int asic, int sp, OPEN_BST_INGRESS_SP_THRESHOLD_t *thre) |
| Set profile configuration for Ingress Service Pools Statistics. | |
| open_error_t | openapiBstMultiRealmThresholdSet (openapiClientHandle_t *clientHandle, int asic, int realmMask, open_buffdesc *compSnapshot, OPEN_BST_ERROR_DATA_t *errorData) |
| Set threshold configurations for multiple realms. | |
| open_error_t | openapiBstMultiThresholdSet (openapiClientHandle_t *clientHandle, int asic, int realmMask, open_buffdesc *compSnapshot) |
| Set threshold configurations for multiple realms. | |
| open_error_t | openapiBstPortMcastCgsDropGet (openapiClientHandle_t *clientHandle, int asic, int port, int queue, uint64_t *dropCount) |
| Get Multicast congestion drop counter of a particular port-queue combination. | |
| open_error_t | openapiBstPortTotalCgsDropGet (openapiClientHandle_t *clientHandle, int asic, int port, uint64_t *dropCount) |
| Get total congestion drop counter. | |
| open_error_t | openapiBstPortUcastCgsDropGet (openapiClientHandle_t *clientHandle, int asic, int port, int queue, uint64_t *dropCount) |
| Get Unicast congestion drop counter of a particular port-queue combination. | |
| open_error_t | openapiBstRqeqDataGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_EGRESS_RQE_QUEUE_DATA_t *data, time_t *time) |
| Obtain RQE Queues Statistics. | |
| open_error_t | openapiBstRqeqThresholdSet (openapiClientHandle_t *clientHandle, int asic, int rqeQueue, OPEN_BST_EGRESS_RQE_QUEUE_THRESHOLD_t *thre) |
| Set profile configuration for Egress RQE Queues Statistics. | |
| open_error_t | openapiBstSnapshotCompressedGet (openapiClientHandle_t *clientHandle, int asic, open_buffdesc *compSnapshot, time_t *time) |
| Obtain compressed complete ASIC Statistics Report. | |
| open_error_t | openapiBstSnapshotGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_ASIC_SNAPSHOT_DATA_t *data1, OPEN_BST_EGRESS_UC_QUEUE_DATA_t *data2, OPEN_BST_EGRESS_MC_QUEUE_DATA_t *data3, time_t *time) |
| Obtain Complete ASIC Statistics Report. | |
| open_error_t | openapiBstStatsClear (openapiClientHandle_t *clientHandle, int asic) |
| Clear stats. | |
| open_error_t | openapiBstThresholdCompressedGet (openapiClientHandle_t *clientHandle, int asic, open_buffdesc *compSnapshot, time_t *time) |
| Get compressed snapshot of all thresholds configured. | |
| open_error_t | openapiBstThresholdGet (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_ASIC_SNAPSHOT_DATA_t *thre1, OPEN_BST_EGRESS_UC_QUEUE_DATA_t *thre2, OPEN_BST_EGRESS_MC_QUEUE_DATA_t *thre3, time_t *time) |
| Get snapshot of all thresholds configured. | |
| open_error_t | openapiBstThresholdsClear (openapiClientHandle_t *clientHandle, int asic) |
| Restore threshold configuration. | |
| open_error_t | openapiBstTriggerDeRegister (openapiClientHandle_t *clientHandle, int asic, OPEN_BST_TRIGGER_CALLBACK_t openCallback, void *context) |
| DeRegister BST trigger callback. | |
| open_error_t | openapiBstTriggerEnable (openapiClientHandle_t *clientHandle, int asic, int enable, int pid, int *clientId) |
| Enable BST trigger event in network operating system. | |
| open_error_t | openapiBstTriggerRegister (openapiClientHandle_t *clientHandle, int asic, int clientId, OPEN_BST_TRIGGER_CALLBACK_t openCallback, void *context) |
| Register BST trigger callback. | |
| open_error_t | openapiClearInstruConfig (openapiClientHandle_t *clientHandle, int asic) |
| Clear all persistent instrumentation related configurations from fastpath. | |
| open_error_t | openapiPortMappingGet (openapiClientHandle_t *clientHandle, int asic, OPEN_ASIC_PORT_MAP_t *data) |
| Get port map data for bcm to front panel port conversion. | |
| #define OPEN_ASIC_ICOS_BST_MAX_PORTS 300 |
Maximum number of ports.
OPEN_ASIC_ICOS_BST_MAX_PORTS may be deprecated in the future, use OPEN_ASIC_BST_MAX_PORTS
Definition at line 55 of file openapi_instru_bst.h.
| open_error_t openapiBstAsicCapabilityGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_ASIC_CAPABILITIES_t * | asicCap | ||
| ) |
BST feature configuration get function.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | asicCap | Asic capability |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstCgsnDropCtrsClear | ( | openapiClientHandle_t * | clientHandle, |
| int | asic | ||
| ) |
Clear congestion drop counters.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.14 |
| open_error_t openapiBstConfigGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_CONFIG_t * | bstCfg | ||
| ) |
BST feature configuration get function.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | bstCfg | Config data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstConfigSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_CONFIG_t * | bstCfg | ||
| ) |
BST feature configuration set function.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | bstCfg | Input config Data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstCpuqDataGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_EGRESS_CPU_QUEUE_DATA_t * | data, | ||
| time_t * | time | ||
| ) |
Obtain CPU Queues Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data | Cpuq stat data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstCpuqThresholdSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | cpuQueue, | ||
| OPEN_BST_EGRESS_CPU_QUEUE_THRESHOLD_t * | thre | ||
| ) |
Set profile configuration for Egress CPU Queues Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | cpuQueue | CPU queue |
| [in] | thre | Threshold details |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstDefaultSnapshotGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_ASIC_SNAPSHOT_DATA_t * | data1, | ||
| OPEN_BST_EGRESS_UC_QUEUE_DATA_t * | data2, | ||
| OPEN_BST_EGRESS_MC_QUEUE_DATA_t * | data3 | ||
| ) |
Obtain Complete ASIC Default Statistics Report.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data1 | Snapshot data |
| [out] | data2 | Eucq snapshot data |
| [out] | data3 | Emcq Snapshot data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | Deprecated 1.10 |
OpEN API Version: 1.5
| open_error_t openapiBstDeviceDataGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_DEVICE_DATA_t * | data, | ||
| time_t * | time | ||
| ) |
Obtain Device Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data | Device count Data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstDeviceThresholdSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_DEVICE_THRESHOLD_t * | thre | ||
| ) |
Set profile configuration for Device Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | thre | Threshold details |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstEmcqDataGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_EGRESS_MC_QUEUE_DATA_t * | data, | ||
| time_t * | time | ||
| ) |
Obtain Egress Multicast Queues Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data | Eucqg stat Data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstEmcqThresholdSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | mcQueue, | ||
| OPEN_BST_EGRESS_MC_QUEUE_THRESHOLD_t * | thre | ||
| ) |
Set profile configuration for Egress Multicast Queues Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | mcQueue | Multicast queue |
| [in] | thre | Threshold details |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstEpspDataGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_EGRESS_PORT_SP_DATA_t * | data, | ||
| time_t * | time | ||
| ) |
Obtain Egress Service Pools Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data | Epsp stat Data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstEpspThresholdSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | port, | ||
| int | sp, | ||
| OPEN_BST_EGRESS_PORT_SP_THRESHOLD_t * | thre | ||
| ) |
Set Profile configuration for Egress Port + Service Pools Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | port | Port number |
| [in] | sp | Service pool |
| [in] | thre | Threshold details |
| OPEN_E_NONE | |
| OPEN_E_ERROR |
OpEN API Version: 1.5
| open_error_t openapiBstEspDataGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_EGRESS_SP_DATA_t * | data, | ||
| time_t * | time | ||
| ) |
Obtain Egress Service Pools Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data | Esp stat data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstEspThresholdSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | sp, | ||
| OPEN_BST_EGRESS_SP_THRESHOLD_t * | thre | ||
| ) |
Set profile configuration for Egress Service Pools Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | sp | Service pool |
| [in] | thre | Threshold details |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstEucqDataGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_EGRESS_UC_QUEUE_DATA_t * | data, | ||
| time_t * | time | ||
| ) |
Obtain Egress Unicast Queues Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data | Eucq stat data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstEucqgDataGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_EGRESS_UC_QUEUEGROUPS_DATA_t * | data, | ||
| time_t * | time | ||
| ) |
Obtain Egress Unicast Queue Groups Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data | Eucqg stat Data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstEucqgThresholdSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | ucQueueGrp, | ||
| OPEN_BST_EGRESS_UC_QUEUEGROUPS_THRESHOLD_t * | thre | ||
| ) |
Set profile configuration for Egress Unicast Queue Groups Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | ucQueueGrp | Unicast queue group |
| [in] | thre | Threshold details |
| OPEN_E_NONE | |
| OPEN_E_ERROR |
OpEN API Version: 1.5
| open_error_t openapiBstEucqThresholdSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | ucQueue, | ||
| OPEN_BST_EGRESS_UC_QUEUE_THRESHOLD_t * | thre | ||
| ) |
Set profile configuration for Egress Unicast Queues Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | ucQueue | Unicast queue |
| [in] | thre | Threshold details |
| OPEN_E_NONE | |
| OPEN_E_ERROR |
OpEN API Version: 1.5
| open_error_t openapiBstIppgDataGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_INGRESS_PORT_PG_DATA_t * | data, | ||
| time_t * | time | ||
| ) |
Obtain Ingress Port + Priority Groups Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data | Ippg count data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstIppgThresholdSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | port, | ||
| int | pg, | ||
| OPEN_BST_INGRESS_PORT_PG_THRESHOLD_t * | thre | ||
| ) |
Set profile configuration for Ingress Port + Priority Groups Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | port | Port number |
| [in] | pg | Priority Group |
| [in] | thre | Threshold details |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstIpspDataGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_INGRESS_PORT_SP_DATA_t * | data, | ||
| time_t * | time | ||
| ) |
Obtain Ingress Port + Service Pools Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data | Ipsp stat data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstIpspThresholdSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | port, | ||
| int | sp, | ||
| OPEN_BST_INGRESS_PORT_SP_THRESHOLD_t * | thre | ||
| ) |
Set profile configuration for Ingress Port + Service Pools Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | port | Port number |
| [in] | sp | Service pool |
| [in] | thre | Threshold details |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstIspDataGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_INGRESS_SP_DATA_t * | data, | ||
| time_t * | time | ||
| ) |
Obtain Ingress Service Pools Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data | Isp stat Data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstIspThresholdSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | sp, | ||
| OPEN_BST_INGRESS_SP_THRESHOLD_t * | thre | ||
| ) |
Set profile configuration for Ingress Service Pools Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | sp | Service pool |
| [in] | thre | Threshold details |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstMultiRealmThresholdSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | realmMask, | ||
| open_buffdesc * | compSnapshot, | ||
| OPEN_BST_ERROR_DATA_t * | errorData | ||
| ) |
Set threshold configurations for multiple realms.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | realmMask | Mask of the realms that have valid data in threshold snapshot |
| [in] | compSnapshot | compressed threshold details |
| [out] | errorData | Failure information |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.17 |
| open_error_t openapiBstMultiThresholdSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | realmMask, | ||
| open_buffdesc * | compSnapshot | ||
| ) |
Set threshold configurations for multiple realms.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | realmMask | Mask of the realms that have valid data in threshold snapshot |
| [in] | compSnapshot | compressed threshold details |
| OPEN_E_NONE | |
| OPEN_E_ERROR | Deprecated 1.17 |
OpEN API Version: 1.15
| open_error_t openapiBstPortMcastCgsDropGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | port, | ||
| int | queue, | ||
| uint64_t * | dropCount | ||
| ) |
Get Multicast congestion drop counter of a particular port-queue combination.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | port | Port number |
| [in] | queue | Queue number |
| [out] | dropCount | Multicats drop count |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.12 |
| open_error_t openapiBstPortTotalCgsDropGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | port, | ||
| uint64_t * | dropCount | ||
| ) |
Get total congestion drop counter.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | port | Port number |
| [in] | queue | Queue number |
| [out] | dropCount | Total drop count |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.12 |
| open_error_t openapiBstPortUcastCgsDropGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | port, | ||
| int | queue, | ||
| uint64_t * | dropCount | ||
| ) |
Get Unicast congestion drop counter of a particular port-queue combination.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | port | Port number |
| [in] | queue | Queue number |
| [out] | dropCount | Unicast drop count |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.12 |
| open_error_t openapiBstRqeqDataGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_EGRESS_RQE_QUEUE_DATA_t * | data, | ||
| time_t * | time | ||
| ) |
Obtain RQE Queues Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data | Rqeq stat data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstRqeqThresholdSet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | rqeQueue, | ||
| OPEN_BST_EGRESS_RQE_QUEUE_THRESHOLD_t * | thre | ||
| ) |
Set profile configuration for Egress RQE Queues Statistics.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | rqeQueue | Replication queue |
| [in] | thre | Threshold details |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstSnapshotCompressedGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| open_buffdesc * | compSnapshot, | ||
| time_t * | time | ||
| ) |
Obtain compressed complete ASIC Statistics Report.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | compSnapshot | Compressed snapshot data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR |
OpEN API Version: 1.14
| open_error_t openapiBstSnapshotGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_ASIC_SNAPSHOT_DATA_t * | data1, | ||
| OPEN_BST_EGRESS_UC_QUEUE_DATA_t * | data2, | ||
| OPEN_BST_EGRESS_MC_QUEUE_DATA_t * | data3, | ||
| time_t * | time | ||
| ) |
Obtain Complete ASIC Statistics Report.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data1 | Snapshot data |
| [out] | data2 | Eucq snapshot data |
| [out] | data3 | Emcq Snapshot data |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstStatsClear | ( | openapiClientHandle_t * | clientHandle, |
| int | asic | ||
| ) |
Clear stats.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstThresholdCompressedGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| open_buffdesc * | compSnapshot, | ||
| time_t * | time | ||
| ) |
Get compressed snapshot of all thresholds configured.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | compSnapshot | compressed threshold details |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR |
OpEN API Version: 1.14
| open_error_t openapiBstThresholdGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_ASIC_SNAPSHOT_DATA_t * | thre1, | ||
| OPEN_BST_EGRESS_UC_QUEUE_DATA_t * | thre2, | ||
| OPEN_BST_EGRESS_MC_QUEUE_DATA_t * | thre3, | ||
| time_t * | time | ||
| ) |
Get snapshot of all thresholds configured.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | thre1 | Threshold details |
| [out] | thre2 | Eucq threshold details |
| [out] | thre3 | Emcq threshold details |
| [out] | time | Time of retrieving data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstThresholdsClear | ( | openapiClientHandle_t * | clientHandle, |
| int | asic | ||
| ) |
Restore threshold configuration.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstTriggerDeRegister | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_BST_TRIGGER_CALLBACK_t | openCallback, | ||
| void * | context | ||
| ) |
DeRegister BST trigger callback.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | openCallback | Function to be callbacked |
| [in] | context | Application context |
| OPEN_E_NONE | |
| OPEN_E_ERROR |
OpEN API Version: 1.5
| open_error_t openapiBstTriggerEnable | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | enable, | ||
| int | pid, | ||
| int * | clientId | ||
| ) |
Enable BST trigger event in network operating system.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | enable | Enable trigger |
| [in] | pid | Pid of external client |
| [out] | clientId | External client Id |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |
| open_error_t openapiBstTriggerRegister | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| int | clientId, | ||
| OPEN_BST_TRIGGER_CALLBACK_t | openCallback, | ||
| void * | context | ||
| ) |
Register BST trigger callback.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [in] | clientId | External client Id |
| [in] | openCallback | Function to be callbacked |
| [in] | context | Application context |
| OPEN_E_NONE | |
| OPEN_E_ERROR |
OpEN API Version: 1.5
| open_error_t openapiClearInstruConfig | ( | openapiClientHandle_t * | clientHandle, |
| int | asic | ||
| ) |
Clear all persistent instrumentation related configurations from fastpath.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.15 |
| open_error_t openapiPortMappingGet | ( | openapiClientHandle_t * | clientHandle, |
| int | asic, | ||
| OPEN_ASIC_PORT_MAP_t * | data | ||
| ) |
Get port map data for bcm to front panel port conversion.
| [in] | clientHandle | OpenAPI connection Handle |
| [in] | asic | Asic/Unit number |
| [out] | data | Port map data |
| OPEN_E_NONE | |
| OPEN_E_ERROR | OpEN API Version: 1.5 |