From f88f216e61f708b8dca888ccf95be0e4ffdbfa8e Mon Sep 17 00:00:00 2001 From: Kishore Gummadidala Date: Wed, 29 May 2024 10:22:44 -0700 Subject: [PATCH] Add a RIF attribute to specify if the correspodnig My MAC entry should not be created. --- inc/sairouterinterface.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/inc/sairouterinterface.h b/inc/sairouterinterface.h index c3e65f207..1a766d012 100644 --- a/inc/sairouterinterface.h +++ b/inc/sairouterinterface.h @@ -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 */