Skip to content

Commit 19b30c1

Browse files
SAI proposal for icmp echo offload (#2020)
1 parent 18ba20f commit 19b30c1

8 files changed

+902
-3
lines changed

doc/SAI-Proposal-FRR.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Entity.
8989

9090
The switchover from the primary next hop to backup is triggered once a failure
9191
of a particular object is spotted. This object can be a physical port, a tunnel
92-
interface, BFD session etc.
92+
interface, BFD session, ICMP ECHO session etc.
9393

9494
It is preferred that the switchover is triggered by the switching entity without
9595
involving control plane in the process. This way the amount of time it takes to
@@ -173,7 +173,7 @@ be of one of the types that the hardware is able to monitor.
173173
- SAI\_NEXT\_HOP\_GROUP\_MEMBER\_ATTR\_MONITORED\_OBJECT
174174

175175
This attribute allows the switching entity to monitor a specified object
176-
(BFD session, physical port, tunnel interface etc) and in case of its failure,
176+
(BFD session, ICMP ECHO session, physical port, tunnel interface etc) and in case of its failure,
177177
trigger a switchover.
178178

179179
If the referred object fails, then the switch marks the next hop as FAILED and does not use it for forwarding.

doc/SAI-Proposal-ICMP-ECHO.md

Lines changed: 480 additions & 0 deletions
Large diffs are not rendered by default.

doc/figures/sai_icmp_echo_state.png

37.6 KB
Loading

inc/sai.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
#include "saitwamp.h"
8181
#include "saiversion.h"
8282
#include "saipoe.h"
83+
#include "saiicmpecho.h"
8384

8485
/**
8586
* @defgroup SAI SAI - Entry point specific API definitions.
@@ -148,6 +149,7 @@ typedef enum _sai_api_t
148149
SAI_API_ARS_PROFILE = 49, /**<sai_ars_api_profile_t */
149150
SAI_API_TWAMP = 50, /**< sai_twamp_api_t */
150151
SAI_API_POE = 51, /**< sai_poe_api_t */
152+
SAI_API_ICMP_ECHO = 52, /**< sai_icmp_echo_api_t */
151153
SAI_API_MAX, /**< total number of APIs */
152154

153155
/** Custom range base value */

0 commit comments

Comments
 (0)