Skip to content

Commit d0f2692

Browse files
authored
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 d5007d8 commit d0f2692

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

inc/saiswitch.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3629,7 +3629,7 @@ typedef enum _sai_switch_stat_t
36293629
* @note This value needs to be incremented whenever a new switch attribute key
36303630
* is added.
36313631
*/
3632-
#define SAI_SWITCH_ATTR_MAX_KEY_COUNT 16
3632+
#define SAI_SWITCH_ATTR_MAX_KEY_COUNT 17
36333633

36343634
/*
36353635
* List of switch attributes keys that can be set using key=value
@@ -3695,6 +3695,13 @@ typedef enum _sai_switch_stat_t
36953695
*/
36963696
#define SAI_KEY_INIT_CONFIG_FILE "SAI_INIT_CONFIG_FILE"
36973697

3698+
/**
3699+
* @def SAI_KEY_NHG_HIERARCHICAL_NEXTHOP
3700+
* true: Nexthop groups consists of tunnel and IP nexthop
3701+
* false: Nexthop groups consists of IP nexthop only
3702+
*/
3703+
#define SAI_KEY_NHG_HIERARCHICAL_NEXTHOP "SAI_NHG_HIERARCHICAL_NEXTHOP"
3704+
36983705
/**
36993706
* @def SAI_KEY_BOOT_TYPE
37003707
*

0 commit comments

Comments
 (0)