Skip to content

Commit

Permalink
Add an attribute used to specify external My MAC entry that will
Browse files Browse the repository at this point in the history
be used in place of any implicit entry created during RIF processing
  • Loading branch information
Kishore Gummadidala committed Nov 7, 2024
1 parent 767c325 commit d1c175f
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions inc/sairouterinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,41 @@ typedef enum _sai_router_interface_attr_t
*/
SAI_ROUTER_INTERFACE_ATTR_ADMIN_MPLS_STATE,

/**
* @brief Set router interface statistics counting mode
*
* @type sai_stats_count_mode_t
* @flags CREATE_AND_SET
* @default SAI_STATS_COUNT_MODE_PACKET_AND_BYTE
*/
SAI_ROUTER_INTERFACE_ATTR_STATS_COUNT_MODE,

/**
* @brief Attach counter object list
*
* Counter object should be of type Selective.
* Fill (#SAI_COUNTER_ATTR_TYPE with #SAI_COUNTER_TYPE_SELECTIVE).
*
* @type sai_object_list_t
* @flags CREATE_AND_SET
* @objects SAI_OBJECT_TYPE_COUNTER
* @default empty
*/
SAI_ROUTER_INTERFACE_ATTR_SELECTIVE_COUNTER_LIST,

/**
* @brief Attribute used to specify external My MAC entry that will
* be used in place of any implicit entry created during RIF processing
* for this {port, vlan, MAC address}
*
* @type sai_object_id_t
* @flags CREATE_ONLY
* @objects SAI_OBJECT_TYPE_MY_MAC
* @allownull true
* @default SAI_NULL_OBJECT_ID
*/
SAI_ROUTER_INTERFACE_ATTR_MY_MAC,

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

0 comments on commit d1c175f

Please sign in to comment.