Skip to content

Commit

Permalink
HW Based FRR
Browse files Browse the repository at this point in the history
Signed-off-by: JaiOCP <jai.kumar@broadcom.com>
  • Loading branch information
JaiOCP committed Aug 26, 2024
1 parent d790980 commit bfd9fde
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/sainexthopgroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ typedef enum _sai_next_hop_group_type_t
/** Next hop group is class-based, with members selected by Forwarding class */
SAI_NEXT_HOP_GROUP_TYPE_CLASS_BASED,

/** Next hop hardware protection group. This is the group backing up the primary in the protection group type and is managed by hardware */
SAI_NEXT_HOP_GROUP_TYPE_HW_PROTECTION,

/* Other types of next hop group to be defined in the future, e.g., WCMP */

} sai_next_hop_group_type_t;
Expand Down
6 changes: 6 additions & 0 deletions inc/saiport.h
Original file line number Diff line number Diff line change
Expand Up @@ -3272,6 +3272,12 @@ typedef enum _sai_port_stat_t
/** Get out port packet drops configured by debug counter API at index 7 */
SAI_PORT_STAT_OUT_CONFIGURED_DROP_REASONS_7_DROPPED_PKTS,

/** SAI port stat if HW protection switchover events */
SAI_PORT_STAT_IF_IN_HW_PROTECTION_SWITCHOVER_EVENTS,

/** SAI port stat if HW protection switchover related packet drops */
SAI_PORT_STAT_IF_IN_HW_PROTECTION_SWITCHOVER_DROP_PKTS,

/** Port stat out drop reasons range end */
SAI_PORT_STAT_OUT_DROP_REASON_RANGE_END = 0x00002fff,

Expand Down

0 comments on commit bfd9fde

Please sign in to comment.