@@ -342,6 +342,100 @@ typedef enum _sai_router_interface_attr_t
342342 */
343343 SAI_ROUTER_INTERFACE_ATTR_MY_MAC ,
344344
345+ /**
346+ * @brief Enable DSCP -> TC MAP on Router Interface.
347+ *
348+ * Map id = #SAI_NULL_OBJECT_ID to disable map on Router Interface.
349+ * To enable/disable trust DSCP, map ID should be added/removed on Router Interface.
350+ * Default no map.
351+ * This will override the QOS MAP configured on Port.
352+ *
353+ * @type sai_object_id_t
354+ * @flags CREATE_AND_SET
355+ * @objects SAI_OBJECT_TYPE_QOS_MAP
356+ * @allownull true
357+ * @default SAI_NULL_OBJECT_ID
358+ */
359+ SAI_ROUTER_INTERFACE_ATTR_QOS_DSCP_TO_TC_MAP ,
360+
361+ /**
362+ * @brief Enable DSCP -> COLOR MAP on Router Interface.
363+ *
364+ * Map id = #SAI_NULL_OBJECT_ID to disable map on Router Interface.
365+ * To enable/disable trust DSCP, map ID should be added/removed on Router Interface.
366+ * Default no map.
367+ * This will override the QOS MAP configured on Port.
368+ *
369+ * @type sai_object_id_t
370+ * @flags CREATE_AND_SET
371+ * @objects SAI_OBJECT_TYPE_QOS_MAP
372+ * @allownull true
373+ * @default SAI_NULL_OBJECT_ID
374+ */
375+ SAI_ROUTER_INTERFACE_ATTR_QOS_DSCP_TO_COLOR_MAP ,
376+
377+ /**
378+ * @brief Enable DOT1P -> TC MAP on Router Interface.
379+ *
380+ * Map id = #SAI_NULL_OBJECT_ID to disable map on Router Interface.
381+ * To enable/disable trust Dot1p, map ID should be added/removed on Router Interface.
382+ * Default no map.
383+ * This will override the QOS MAP configured on Port.
384+ *
385+ * @type sai_object_id_t
386+ * @flags CREATE_AND_SET
387+ * @objects SAI_OBJECT_TYPE_QOS_MAP
388+ * @allownull true
389+ * @default SAI_NULL_OBJECT_ID
390+ */
391+ SAI_ROUTER_INTERFACE_ATTR_QOS_DOT1P_TO_TC_MAP ,
392+
393+ /**
394+ * @brief Enable DOT1P -> COLOR MAP on Router Interface.
395+ *
396+ * Map id = #SAI_NULL_OBJECT_ID to disable map on Router Interface.
397+ * To enable/disable trust Dot1p, map ID should be added/removed on Router Interface.
398+ * Default no map.
399+ * This will override the QOS MAP configured on Port.
400+ *
401+ * @type sai_object_id_t
402+ * @flags CREATE_AND_SET
403+ * @objects SAI_OBJECT_TYPE_QOS_MAP
404+ * @allownull true
405+ * @default SAI_NULL_OBJECT_ID
406+ */
407+ SAI_ROUTER_INTERFACE_ATTR_QOS_DOT1P_TO_COLOR_MAP ,
408+
409+ /**
410+ * @brief Enable TC AND COLOR -> DSCP MAP on Router Interface.
411+ *
412+ * Map id = #SAI_NULL_OBJECT_ID to disable map on Router Interface.
413+ * Default no map.
414+ * This will be overridden by the QOS MAP configured on Port.
415+ *
416+ * @type sai_object_id_t
417+ * @flags CREATE_AND_SET
418+ * @objects SAI_OBJECT_TYPE_QOS_MAP
419+ * @allownull true
420+ * @default SAI_NULL_OBJECT_ID
421+ */
422+ SAI_ROUTER_INTERFACE_ATTR_QOS_TC_AND_COLOR_TO_DSCP_MAP ,
423+
424+ /**
425+ * @brief Enable TC AND COLOR -> DOT1P MAP on Router Interface.
426+ *
427+ * Map id = #SAI_NULL_OBJECT_ID to disable map on Router Interface.
428+ * Default no map.
429+ * This will be overridden by the QOS MAP configured on Port.
430+ *
431+ * @type sai_object_id_t
432+ * @flags CREATE_AND_SET
433+ * @objects SAI_OBJECT_TYPE_QOS_MAP
434+ * @allownull true
435+ * @default SAI_NULL_OBJECT_ID
436+ */
437+ SAI_ROUTER_INTERFACE_ATTR_QOS_TC_AND_COLOR_TO_DOT1P_MAP ,
438+
345439 /**
346440 * @brief End of attributes
347441 */
0 commit comments