Skip to content

Commit

Permalink
Add a RIF attribute to specify if the correspodnig My MAC entry shoul…
Browse files Browse the repository at this point in the history
…d not be

created.

Signed-off-by: Kishore Gummadidala <kishorg@google.com>
  • Loading branch information
Kishore Gummadidala committed May 29, 2024
1 parent 767c325 commit 17fbb62
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions inc/sairouterinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,19 @@ typedef enum _sai_router_interface_attr_t
*/
SAI_ROUTER_INTERFACE_ATTR_ADMIN_MPLS_STATE,

/**
* @brief Attribute used to specify if My MAC entry need not be created
* for this {port, vlan, MAC address}
*
* Typical use-case is to set this to true when a My MAC entry will be
* separately created or already exists.
*
* @type bool
* @flags CREATE_ONLY
* @default false
*/
SAI_ROUTER_INTERFACE_ATTR_NO_MY_MAC,

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

0 comments on commit 17fbb62

Please sign in to comment.