Skip to content

Commit 0e2c038

Browse files
author
Kishore Gummadidala
committed
Add new next hop group attribute to specify if a next hop group is programmed
by repeating the next hop members in proportion to their weight or by using the intrinsic next hop group weight support in the hardware.
1 parent a08584b commit 0e2c038

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

inc/sainexthopgroup.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,17 @@ typedef enum _sai_next_hop_group_attr_t
299299
*/
300300
SAI_NEXT_HOP_GROUP_ATTR_LABEL,
301301

302+
/**
303+
* @brief Weighted multi path configuration mode.
304+
* false: Nexthop group is programmed with repeated member entries proportional to their weight
305+
* true: Nexthop group is programmed with switch native configuration
306+
*
307+
* @type bool
308+
* @flags CREATE_AND_SET
309+
* @default false
310+
*/
311+
SAI_NEXT_HOP_GROUP_ATTR_NATIVE_WCMP,
312+
302313
/**
303314
* @brief End of attributes
304315
*/

0 commit comments

Comments
 (0)