Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions inc/sairouterinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,94 @@ typedef enum _sai_router_interface_attr_t
*/
SAI_ROUTER_INTERFACE_ATTR_MY_MAC,

/**
* @brief Enable DSCP -> TC MAP on Router Interface.
*
* Map id = #SAI_NULL_OBJECT_ID to disable map on Router Interface.
* To enable/disable trust DSCP, map ID should be added/removed on Router Interface.
* Default no map.
*
* @type sai_object_id_t
* @flags CREATE_AND_SET
* @objects SAI_OBJECT_TYPE_QOS_MAP
* @allownull true
* @default SAI_NULL_OBJECT_ID
*/
SAI_ROUTER_INTERFACE_ATTR_QOS_DSCP_TO_TC_MAP,

/**
* @brief Enable DSCP -> COLOR MAP on Router Interface.
*
* Map id = #SAI_NULL_OBJECT_ID to disable map on Router Interface.
* To enable/disable trust DSCP, map ID should be added/removed on Router Interface.
* Default no map.
*
* @type sai_object_id_t
* @flags CREATE_AND_SET
* @objects SAI_OBJECT_TYPE_QOS_MAP
* @allownull true
* @default SAI_NULL_OBJECT_ID
*/
SAI_ROUTER_INTERFACE_ATTR_QOS_DSCP_TO_COLOR_MAP,

/**
* @brief Enable DOT1P -> TC MAP on Router Interface.
*
* Map id = #SAI_NULL_OBJECT_ID to disable map on Router Interface.
* To enable/disable trust Dot1p, map ID should be added/removed on Router Interface.
* Default no map.
*
* @type sai_object_id_t
* @flags CREATE_AND_SET
* @objects SAI_OBJECT_TYPE_QOS_MAP
* @allownull true
* @default SAI_NULL_OBJECT_ID
*/
SAI_ROUTER_INTERFACE_ATTR_QOS_DOT1P_TO_TC_MAP,

/**
* @brief Enable DOT1P -> COLOR MAP on Router Interface.
*
* Map id = #SAI_NULL_OBJECT_ID to disable map on Router Interface.
* To enable/disable trust Dot1p, map ID should be added/removed on Router Interface.
* Default no map.
*
* @type sai_object_id_t
* @flags CREATE_AND_SET
* @objects SAI_OBJECT_TYPE_QOS_MAP
* @allownull true
* @default SAI_NULL_OBJECT_ID
*/
SAI_ROUTER_INTERFACE_ATTR_QOS_DOT1P_TO_COLOR_MAP,

/**
* @brief Enable TC AND COLOR -> DSCP MAP on Router Interface.
*
* Map id = #SAI_NULL_OBJECT_ID to disable map on Router Interface.
* Default no map.
*
* @type sai_object_id_t
* @flags CREATE_AND_SET
* @objects SAI_OBJECT_TYPE_QOS_MAP
* @allownull true
* @default SAI_NULL_OBJECT_ID
*/
SAI_ROUTER_INTERFACE_ATTR_QOS_TC_AND_COLOR_TO_DSCP_MAP,

/**
* @brief Enable TC AND COLOR -> DOT1P MAP on Router Interface.
*
* Map id = #SAI_NULL_OBJECT_ID to disable map on Router Interface.
* Default no map.
*
* @type sai_object_id_t
* @flags CREATE_AND_SET
* @objects SAI_OBJECT_TYPE_QOS_MAP
* @allownull true
* @default SAI_NULL_OBJECT_ID
*/
SAI_ROUTER_INTERFACE_ATTR_QOS_TC_AND_COLOR_TO_DOT1P_MAP,

/**
* @brief End of attributes
*/
Expand Down