Skip to content

Commit 3e824ae

Browse files
JaiOCPtjchadaga
authored andcommitted
KV for managing the Hierarchical NHG (#2183)
* KV for managing the Hierarchical NHG Signed-off-by: JaiOCP <jai.kumar@broadcom.com> * KV for hierarchical NHG Signed-off-by: JaiOCP <jai.kumar@broadcom.com> --------- Signed-off-by: JaiOCP <jai.kumar@broadcom.com>
1 parent be3e2f8 commit 3e824ae

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

inc/saiswitch.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3482,7 +3482,7 @@ typedef enum _sai_switch_stat_t
34823482
* @note This value needs to be incremented whenever a new switch attribute key
34833483
* is added.
34843484
*/
3485-
#define SAI_SWITCH_ATTR_MAX_KEY_COUNT 16
3485+
#define SAI_SWITCH_ATTR_MAX_KEY_COUNT 17
34863486

34873487
/*
34883488
* List of switch attributes keys that can be set using key=value
@@ -3548,6 +3548,13 @@ typedef enum _sai_switch_stat_t
35483548
*/
35493549
#define SAI_KEY_INIT_CONFIG_FILE "SAI_INIT_CONFIG_FILE"
35503550

3551+
/**
3552+
* @def SAI_KEY_NHG_HIERARCHICAL_NEXTHOP
3553+
* true: Nexthop groups consists of tunnel and IP nexthop
3554+
* false: Nexthop groups consists of IP nexthop only
3555+
*/
3556+
#define SAI_KEY_NHG_HIERARCHICAL_NEXTHOP "SAI_NHG_HIERARCHICAL_NEXTHOP"
3557+
35513558
/**
35523559
* @def SAI_KEY_BOOT_TYPE
35533560
*

0 commit comments

Comments
 (0)