SAI Metadata
|
Classes | |
struct | _sai_debug_counter_api_t |
Counter methods table retrieved with sai_api_query() More... | |
Typedefs | |
typedef enum _sai_debug_counter_type_t | sai_debug_counter_type_t |
Debug counter type. | |
typedef enum _sai_debug_counter_bind_method_t | sai_debug_counter_bind_method_t |
Debug counter bind method. | |
typedef enum _sai_in_drop_reason_t | sai_in_drop_reason_t |
Attribute data for in drop reasons. | |
typedef enum _sai_out_drop_reason_t | sai_out_drop_reason_t |
Attribute data for out drop reasons. | |
typedef enum _sai_debug_counter_attr_t | sai_debug_counter_attr_t |
Attribute Id in sai_set_counter_attribute() and sai_get_counter_attribute() calls. | |
typedef sai_status_t(* | sai_create_debug_counter_fn) (_Out_ sai_object_id_t *debug_counter_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create debug counter. | |
typedef sai_status_t(* | sai_remove_debug_counter_fn) (_In_ sai_object_id_t debug_counter_id) |
Remove debug counter. | |
typedef sai_status_t(* | sai_set_debug_counter_attribute_fn) (_In_ sai_object_id_t debug_counter_id, _In_ const sai_attribute_t *attr) |
Set debug counter attribute Value. | |
typedef sai_status_t(* | sai_get_debug_counter_attribute_fn) (_In_ sai_object_id_t debug_counter_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get debug counter attribute Value. | |
typedef struct _sai_debug_counter_api_t | sai_debug_counter_api_t |
Counter methods table retrieved with sai_api_query() | |
typedef sai_status_t(* sai_create_debug_counter_fn) (_Out_ sai_object_id_t *debug_counter_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create debug counter.
[out] | debug_counter_id | Debug counter id |
[in] | switch_id | Switch id |
[in] | attr_count | Number of attributes |
[in] | attr_list | Array of attributes |
Definition at line 467 of file saidebugcounter.h.
typedef sai_status_t(* sai_get_debug_counter_attribute_fn) (_In_ sai_object_id_t debug_counter_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get debug counter attribute Value.
[in] | debug_counter_id | Debug counter id |
[in] | attr_count | Number of attributes |
[in,out] | attr_list | Array of attributes |
Definition at line 504 of file saidebugcounter.h.
typedef sai_status_t(* sai_remove_debug_counter_fn) (_In_ sai_object_id_t debug_counter_id) |
Remove debug counter.
[in] | debug_counter_id | Debug counter id |
Definition at line 480 of file saidebugcounter.h.
typedef sai_status_t(* sai_set_debug_counter_attribute_fn) (_In_ sai_object_id_t debug_counter_id, _In_ const sai_attribute_t *attr) |
Set debug counter attribute Value.
[in] | debug_counter_id | Debug counter id |
[in] | attr | Attribute |
Definition at line 491 of file saidebugcounter.h.
Attribute Id in sai_set_counter_attribute() and sai_get_counter_attribute() calls.
Definition at line 386 of file saidebugcounter.h.
Debug counter bind method.
Enumerator | |
---|---|
SAI_DEBUG_COUNTER_BIND_METHOD_AUTOMATIC | Bind automatically to all instances of base object |
Definition at line 72 of file saidebugcounter.h.
Debug counter type.
Definition at line 43 of file saidebugcounter.h.
Attribute data for in drop reasons.
Definition at line 82 of file saidebugcounter.h.
Attribute data for out drop reasons.
Definition at line 339 of file saidebugcounter.h.