From 744ff7f475deb5fee1dca6fdb393416631577c1c Mon Sep 17 00:00:00 2001 From: Bandaru Viswanath Date: Mon, 1 Jun 2020 23:00:23 +0530 Subject: [PATCH] Support for static FDB Entries to allow MAC Move (#1024) * Support for static FDB Entries to allow MAC Move * Added additional clarification for the attribute based on community feedback --- inc/saifdb.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/inc/saifdb.h b/inc/saifdb.h index c9d30c090..54148aac6 100644 --- a/inc/saifdb.h +++ b/inc/saifdb.h @@ -178,6 +178,18 @@ typedef enum _sai_fdb_entry_attr_t */ SAI_FDB_ENTRY_ATTR_COUNTER_ID, + /** + * @brief Specifies whether a MAC move is allowed + * When MAC_MOVE is explicitly disabled for a static MAC entry via this + * attribute, the trap introduced in #696 would also not be generated. + * + * @type bool + * @flags CREATE_AND_SET + * @default false + * @validonly SAI_FDB_ENTRY_ATTR_TYPE == SAI_FDB_ENTRY_TYPE_STATIC + */ + SAI_FDB_ENTRY_ATTR_ALLOW_MAC_MOVE, + /** * @brief End of attributes */