SAI Metadata
Loading...
Searching...
No Matches
saiqosmap.h File Reference

This module defines SAI QOS Maps interface. More...

#include <saitypes.h>

Go to the source code of this file.

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()
 

Enumerations

enum  _sai_qos_map_type_t {
  SAI_QOS_MAP_TYPE_DOT1P_TO_TC = 0x00000000 , SAI_QOS_MAP_TYPE_DOT1P_TO_COLOR = 0x00000001 , SAI_QOS_MAP_TYPE_DSCP_TO_TC = 0x00000002 , SAI_QOS_MAP_TYPE_DSCP_TO_COLOR = 0x00000003 ,
  SAI_QOS_MAP_TYPE_TC_TO_QUEUE = 0x00000004 , SAI_QOS_MAP_TYPE_TC_AND_COLOR_TO_DSCP = 0x00000005 , SAI_QOS_MAP_TYPE_TC_AND_COLOR_TO_DOT1P = 0x00000006 , SAI_QOS_MAP_TYPE_TC_TO_PRIORITY_GROUP = 0x00000007 ,
  SAI_QOS_MAP_TYPE_PFC_PRIORITY_TO_PRIORITY_GROUP = 0x00000008 , SAI_QOS_MAP_TYPE_PFC_PRIORITY_TO_QUEUE = 0x00000009 , SAI_QOS_MAP_TYPE_MPLS_EXP_TO_TC = 0x0000000a , SAI_QOS_MAP_TYPE_MPLS_EXP_TO_COLOR = 0x0000000b ,
  SAI_QOS_MAP_TYPE_TC_AND_COLOR_TO_MPLS_EXP = 0x0000000c , SAI_QOS_MAP_TYPE_DSCP_TO_FORWARDING_CLASS = 0x0000000d , SAI_QOS_MAP_TYPE_MPLS_EXP_TO_FORWARDING_CLASS = 0x0000000e , SAI_QOS_MAP_TYPE_CUSTOM_RANGE_BASE = 0x10000000
}
 Enum defining QOS map types. More...
 
enum  _sai_qos_map_attr_t {
  SAI_QOS_MAP_ATTR_START , SAI_QOS_MAP_ATTR_TYPE = SAI_QOS_MAP_ATTR_START , SAI_QOS_MAP_ATTR_MAP_TO_VALUE_LIST = 0x00000001 , SAI_QOS_MAP_ATTR_END ,
  SAI_QOS_MAP_ATTR_CUSTOM_RANGE_START = 0x10000000 , SAI_QOS_MAP_ATTR_CUSTOM_RANGE_END
}
 Enum defining attributes for QOS Maps. More...
 

Detailed Description

This module defines SAI QOS Maps interface.

Copyright (c) 2014 Microsoft Open Technologies, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions and limitations under the License.

Microsoft would like to thank the following companies for their review and assistance with these files: Intel Corporation, Mellanox Technologies Ltd, Dell Products, L.P., Facebook, Inc., Marvell International Ltd.

Definition in file saiqosmap.h.