Skip to content

Commit

Permalink
Support for static FDB Entries to allow MAC Move (#1024)
Browse files Browse the repository at this point in the history
* Support for static FDB Entries to allow MAC Move

* Added additional clarification for the attribute based on community feedback
  • Loading branch information
bandaru-viswanath authored Jun 1, 2020
1 parent befd008 commit 744ff7f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions inc/saifdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 744ff7f

Please sign in to comment.