Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions inc/sai.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
#include "saiicmpecho.h"
#include "saisynce.h"
#include "saivirtualchannel.h"
#include "saiofh.h"
#include "saiofhroute.h"

/**
* @defgroup SAI SAI - Entry point specific API definitions.
Expand Down Expand Up @@ -155,6 +157,8 @@ typedef enum _sai_api_t
SAI_API_PREFIX_COMPRESSION = 53, /**< sai_prefix_compression_api_t */
SAI_API_SYNCE = 54, /**< sai_synce_api_t */
SAI_API_VIRTUAL_CHANNEL = 55, /**< sai_virtual_channel_api_t */
SAI_API_OFH = 56, /**< sai_ofh_api_t */
SAI_API_OFH_ROUTE = 57, /**< sai_ofh_route_api_t */
SAI_API_MAX, /**< total number of APIs */

/**
Expand Down
18 changes: 18 additions & 0 deletions inc/saidebugcounter.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,21 @@ typedef enum _sai_in_drop_reason_t
/** IPv4 or IPv6 Routing table (LPM) unicast miss */
SAI_IN_DROP_REASON_LPM_MISS = 0x00000039,

/** OFH packet TTL expired */
SAI_IN_DROP_REASON_OFH_TTL,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep it consistent with IP or not ?


/** OFH Routing table miss */
SAI_IN_DROP_REASON_OFH_MISS,

/** OFH Routing table action discard */
SAI_IN_DROP_REASON_OFH_DISCARD,

/** OFH VLAN drop */
SAI_IN_DROP_REASON_OFH_VLAN_DROP,

/** OFH VLAN to virtual router id drop */
SAI_IN_DROP_REASON_OFH_VLAN_TO_VRID_DROP,

/** End of in drop reasons */
SAI_IN_DROP_REASON_END,

Expand Down Expand Up @@ -377,6 +392,9 @@ typedef enum _sai_out_drop_reason_t
*/
SAI_OUT_DROP_REASON_TUNNEL_LOOPBACK_PACKET_DROP,

/** OFH VLAN drop */
SAI_OUT_DROP_REASON_OFH_VLAN_DROP,

/** End of out drop reasons */
SAI_OUT_DROP_REASON_END,

Expand Down
4 changes: 4 additions & 0 deletions inc/saiobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include <sainat.h>
#include <saisrv6.h>
#include <saiprefixcompression.h>
#include <saiofhroute.h>

/* new experimental object type includes */
#include <saiexperimentaldashtrustedvni.h>
Expand Down Expand Up @@ -140,6 +141,9 @@ typedef union _sai_object_key_entry_t
/** @validonly object_type == SAI_OBJECT_TYPE_ENI_TRUSTED_VNI_ENTRY */
sai_eni_trusted_vni_entry_t eni_trusted_vni_entry;

/** @validonly object_type == SAI_OBJECT_TYPE_OFH_ROUTE_ENTRY */
sai_ofh_route_entry_t ofh_route_entry;

/* Add new experimental entries above this line */

} sai_object_key_entry_t;
Expand Down
Loading
Loading