SAI Metadata
|
Classes | |
struct | _sai_qos_map_api_t |
QOS Map methods table retrieved with sai_api_query() More... | |
Typedefs | |
typedef enum _sai_qos_map_type_t | sai_qos_map_type_t |
Enum defining QOS map types. | |
typedef enum _sai_qos_map_attr_t | sai_qos_map_attr_t |
Enum defining attributes for QOS Maps. | |
typedef sai_status_t(* | sai_create_qos_map_fn) (_Out_ sai_object_id_t *qos_map_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create QOS Map. | |
typedef sai_status_t(* | sai_remove_qos_map_fn) (_In_ sai_object_id_t qos_map_id) |
Remove QOS Map. | |
typedef sai_status_t(* | sai_set_qos_map_attribute_fn) (_In_ sai_object_id_t qos_map_id, _In_ const sai_attribute_t *attr) |
Set attributes for QOS map. | |
typedef sai_status_t(* | sai_get_qos_map_attribute_fn) (_In_ sai_object_id_t qos_map_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get attributes of QOS map. | |
typedef struct _sai_qos_map_api_t | sai_qos_map_api_t |
QOS Map methods table retrieved with sai_api_query() | |
typedef sai_status_t(* sai_create_qos_map_fn) (_Out_ sai_object_id_t *qos_map_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create QOS Map.
[out] | qos_map_id | QOS Map Id |
[in] | switch_id | Switch id |
[in] | attr_count | Number of attributes |
[in] | attr_list | Array of attributes |
Definition at line 145 of file saiqosmap.h.
typedef sai_status_t(* sai_get_qos_map_attribute_fn) (_In_ sai_object_id_t qos_map_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get attributes of QOS map.
[in] | qos_map_id | Map id |
[in] | attr_count | Number of attributes |
[in,out] | attr_list | Array of attributes |
Definition at line 182 of file saiqosmap.h.
typedef sai_status_t(* sai_remove_qos_map_fn) (_In_ sai_object_id_t qos_map_id) |
Remove QOS Map.
[in] | qos_map_id | QOS Map id to be removed. |
Definition at line 158 of file saiqosmap.h.
typedef sai_status_t(* sai_set_qos_map_attribute_fn) (_In_ sai_object_id_t qos_map_id, _In_ const sai_attribute_t *attr) |
Set attributes for QOS map.
[in] | qos_map_id | QOS Map Id |
[in] | attr | Attribute to set |
Definition at line 169 of file saiqosmap.h.
enum _sai_qos_map_attr_t |
Enum defining attributes for QOS Maps.
Enumerator | |
---|---|
SAI_QOS_MAP_ATTR_START | Start of attributes. |
SAI_QOS_MAP_ATTR_TYPE | QOS Map type.
|
SAI_QOS_MAP_ATTR_MAP_TO_VALUE_LIST | Dot1p to TC Mapping. Defaults:
|
SAI_QOS_MAP_ATTR_END | End of attributes. |
SAI_QOS_MAP_ATTR_CUSTOM_RANGE_START | Custom range base value |
SAI_QOS_MAP_ATTR_CUSTOM_RANGE_END | End of custom range base |
Definition at line 94 of file saiqosmap.h.
enum _sai_qos_map_type_t |
Enum defining QOS map types.
Definition at line 39 of file saiqosmap.h.