Skip to content

Commit 17fbb62

Browse files
author
Kishore Gummadidala
committed
Add a RIF attribute to specify if the correspodnig My MAC entry should not be
created. Signed-off-by: Kishore Gummadidala <kishorg@google.com>
1 parent 767c325 commit 17fbb62

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

inc/sairouterinterface.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,19 @@ typedef enum _sai_router_interface_attr_t
294294
*/
295295
SAI_ROUTER_INTERFACE_ATTR_ADMIN_MPLS_STATE,
296296

297+
/**
298+
* @brief Attribute used to specify if My MAC entry need not be created
299+
* for this {port, vlan, MAC address}
300+
*
301+
* Typical use-case is to set this to true when a My MAC entry will be
302+
* separately created or already exists.
303+
*
304+
* @type bool
305+
* @flags CREATE_ONLY
306+
* @default false
307+
*/
308+
SAI_ROUTER_INTERFACE_ATTR_NO_MY_MAC,
309+
297310
/**
298311
* @brief End of attributes
299312
*/

0 commit comments

Comments
 (0)