Skip to content

Commit 5bf6abb

Browse files
authored
Add SAI_MIRROR_SESSION_ATTR_LABEL to mirror session attributes (#2180)
Similar to the label used in SAI policer object, mirror session label attribute can be used to identify the same user mirror session configuration, e.g., in warmboot use case. Signed-off-by: Running Huang <runningh@nvidia.com>
1 parent 18841b3 commit 5bf6abb

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

inc/saimirror.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,15 @@ typedef enum _sai_mirror_session_attr_t
394394
*/
395395
SAI_MIRROR_SESSION_ATTR_GRE_HEADER_FIRST_16BIT,
396396

397+
/**
398+
* @brief Label attribute used to uniquely identify mirror session.
399+
*
400+
* @type char
401+
* @flags CREATE_AND_SET
402+
* @default ""
403+
*/
404+
SAI_MIRROR_SESSION_ATTR_LABEL,
405+
397406
/**
398407
* @brief End of attributes
399408
*/

0 commit comments

Comments
 (0)