SAI Metadata
Loading...
Searching...
No Matches
SAI - DTEL specific API definitions

Classes

struct  _sai_dtel_api_t
 

Typedefs

typedef enum _sai_dtel_attr_t sai_dtel_attr_t
 DTEL attributes for the switch.
 
typedef enum _sai_dtel_queue_report_attr_t sai_dtel_queue_report_attr_t
 Queue report trigger attributes.
 
typedef enum _sai_dtel_int_session_attr_t sai_dtel_int_session_attr_t
 INT session attributes.
 
typedef enum _sai_dtel_report_session_attr_t sai_dtel_report_session_attr_t
 DTEL report session attributes.
 
typedef enum _sai_dtel_event_type_t sai_dtel_event_type_t
 Enum defining DTEL event types.
 
typedef enum _sai_dtel_event_attr_t sai_dtel_event_attr_t
 DTEL events attributes.
 
typedef sai_status_t(* sai_create_dtel_fn) (_Out_ sai_object_id_t *dtel_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
 Create and return a DTEL object.
 
typedef sai_status_t(* sai_remove_dtel_fn) (_In_ sai_object_id_t dtel_id)
 Delete a DTEL object.
 
typedef sai_status_t(* sai_set_dtel_attribute_fn) (_In_ sai_object_id_t dtel_id, _In_ const sai_attribute_t *attr)
 Set DTEL attribute.
 
typedef sai_status_t(* sai_get_dtel_attribute_fn) (_In_ sai_object_id_t dtel_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
 Get DTEL attribute.
 
typedef sai_status_t(* sai_create_dtel_queue_report_fn) (_Out_ sai_object_id_t *dtel_queue_report_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
 Create and return a DTEL queue report object.
 
typedef sai_status_t(* sai_remove_dtel_queue_report_fn) (_In_ sai_object_id_t dtel_queue_report_id)
 Delete a DTEL queue report.
 
typedef sai_status_t(* sai_set_dtel_queue_report_attribute_fn) (_In_ sai_object_id_t dtel_queue_report_id, _In_ const sai_attribute_t *attr)
 Set DTEL queue report attribute.
 
typedef sai_status_t(* sai_get_dtel_queue_report_attribute_fn) (_In_ sai_object_id_t dtel_queue_report_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
 Get DTEL queue report attribute.
 
typedef sai_status_t(* sai_create_dtel_int_session_fn) (_Out_ sai_object_id_t *dtel_int_session_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
 Create and return a DTEL INT session object.
 
typedef sai_status_t(* sai_remove_dtel_int_session_fn) (_In_ sai_object_id_t dtel_int_session_id)
 Delete a DTEL INT session.
 
typedef sai_status_t(* sai_set_dtel_int_session_attribute_fn) (_In_ sai_object_id_t dtel_int_session_id, _In_ const sai_attribute_t *attr)
 Set DTEL INT session attribute.
 
typedef sai_status_t(* sai_get_dtel_int_session_attribute_fn) (_In_ sai_object_id_t dtel_int_session_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
 Get DTEL INT session attribute.
 
typedef sai_status_t(* sai_create_dtel_report_session_fn) (_Out_ sai_object_id_t *dtel_report_session_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
 Create and return a DTEL report session object.
 
typedef sai_status_t(* sai_remove_dtel_report_session_fn) (_In_ sai_object_id_t dtel_report_session_id)
 Delete a DTEL report session.
 
typedef sai_status_t(* sai_set_dtel_report_session_attribute_fn) (_In_ sai_object_id_t dtel_report_session_id, _In_ const sai_attribute_t *attr)
 Set DTEL report session attribute.
 
typedef sai_status_t(* sai_get_dtel_report_session_attribute_fn) (_In_ sai_object_id_t dtel_report_session_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
 Get DTEL report session attribute.
 
typedef sai_status_t(* sai_create_dtel_event_fn) (_Out_ sai_object_id_t *dtel_event_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
 Create and return a DTEL event object.
 
typedef sai_status_t(* sai_remove_dtel_event_fn) (_In_ sai_object_id_t dtel_event_id)
 Delete a DTEL event.
 
typedef sai_status_t(* sai_set_dtel_event_attribute_fn) (_In_ sai_object_id_t dtel_event_id, _In_ const sai_attribute_t *attr)
 Set DTEL event attribute.
 
typedef sai_status_t(* sai_get_dtel_event_attribute_fn) (_In_ sai_object_id_t dtel_event_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
 Get DTEL event attribute.
 
typedef struct _sai_dtel_api_t sai_dtel_api_t
 

Enumerations

enum  _sai_dtel_attr_t {
  SAI_DTEL_ATTR_START , SAI_DTEL_ATTR_INT_ENDPOINT_ENABLE = SAI_DTEL_ATTR_START , SAI_DTEL_ATTR_INT_TRANSIT_ENABLE , SAI_DTEL_ATTR_POSTCARD_ENABLE ,
  SAI_DTEL_ATTR_DROP_REPORT_ENABLE , SAI_DTEL_ATTR_QUEUE_REPORT_ENABLE , SAI_DTEL_ATTR_SWITCH_ID , SAI_DTEL_ATTR_FLOW_STATE_CLEAR_CYCLE ,
  SAI_DTEL_ATTR_LATENCY_SENSITIVITY , SAI_DTEL_ATTR_SINK_PORT_LIST , SAI_DTEL_ATTR_INT_L4_DSCP , SAI_DTEL_ATTR_END ,
  SAI_DTEL_ATTR_CUSTOM_RANGE_START = 0x10000000 , SAI_DTEL_ATTR_CUSTOM_RANGE_END
}
 DTEL attributes for the switch. More...
 
enum  _sai_dtel_queue_report_attr_t {
  SAI_DTEL_QUEUE_REPORT_ATTR_START , SAI_DTEL_QUEUE_REPORT_ATTR_QUEUE_ID = SAI_DTEL_QUEUE_REPORT_ATTR_START , SAI_DTEL_QUEUE_REPORT_ATTR_DEPTH_THRESHOLD , SAI_DTEL_QUEUE_REPORT_ATTR_LATENCY_THRESHOLD ,
  SAI_DTEL_QUEUE_REPORT_ATTR_BREACH_QUOTA , SAI_DTEL_QUEUE_REPORT_ATTR_TAIL_DROP , SAI_DTEL_QUEUE_REPORT_ATTR_END , SAI_DTEL_QUEUE_REPORT_ATTR_CUSTOM_RANGE_START = 0x10000000 ,
  SAI_DTEL_QUEUE_REPORT_ATTR_CUSTOM_RANGE_END
}
 Queue report trigger attributes. More...
 
enum  _sai_dtel_int_session_attr_t {
  SAI_DTEL_INT_SESSION_ATTR_START , SAI_DTEL_INT_SESSION_ATTR_MAX_HOP_COUNT = SAI_DTEL_INT_SESSION_ATTR_START , SAI_DTEL_INT_SESSION_ATTR_COLLECT_SWITCH_ID , SAI_DTEL_INT_SESSION_ATTR_COLLECT_SWITCH_PORTS ,
  SAI_DTEL_INT_SESSION_ATTR_COLLECT_INGRESS_TIMESTAMP , SAI_DTEL_INT_SESSION_ATTR_COLLECT_EGRESS_TIMESTAMP , SAI_DTEL_INT_SESSION_ATTR_COLLECT_QUEUE_INFO , SAI_DTEL_INT_SESSION_ATTR_END ,
  SAI_DTEL_INT_SESSION_ATTR_CUSTOM_RANGE_START = 0x10000000 , SAI_DTEL_INT_SESSION_ATTR_CUSTOM_RANGE_END
}
 INT session attributes. More...
 
enum  _sai_dtel_report_session_attr_t {
  SAI_DTEL_REPORT_SESSION_ATTR_START , SAI_DTEL_REPORT_SESSION_ATTR_SRC_IP = SAI_DTEL_REPORT_SESSION_ATTR_START , SAI_DTEL_REPORT_SESSION_ATTR_DST_IP_LIST , SAI_DTEL_REPORT_SESSION_ATTR_VIRTUAL_ROUTER_ID ,
  SAI_DTEL_REPORT_SESSION_ATTR_TRUNCATE_SIZE , SAI_DTEL_REPORT_SESSION_ATTR_UDP_DST_PORT , SAI_DTEL_REPORT_SESSION_ATTR_END , SAI_DTEL_REPORT_SESSION_ATTR_CUSTOM_RANGE_START = 0x10000000 ,
  SAI_DTEL_REPORT_SESSION_ATTR_CUSTOM_RANGE_END
}
 DTEL report session attributes. More...
 
enum  _sai_dtel_event_type_t {
  SAI_DTEL_EVENT_TYPE_FLOW_STATE , SAI_DTEL_EVENT_TYPE_FLOW_REPORT_ALL_PACKETS , SAI_DTEL_EVENT_TYPE_FLOW_TCPFLAG , SAI_DTEL_EVENT_TYPE_QUEUE_REPORT_THRESHOLD_BREACH ,
  SAI_DTEL_EVENT_TYPE_QUEUE_REPORT_TAIL_DROP , SAI_DTEL_EVENT_TYPE_DROP_REPORT , SAI_DTEL_EVENT_TYPE_MAX
}
 Enum defining DTEL event types. More...
 
enum  _sai_dtel_event_attr_t {
  SAI_DTEL_EVENT_ATTR_START , SAI_DTEL_EVENT_ATTR_TYPE = SAI_DTEL_EVENT_ATTR_START , SAI_DTEL_EVENT_ATTR_REPORT_SESSION , SAI_DTEL_EVENT_ATTR_DSCP_VALUE ,
  SAI_DTEL_EVENT_ATTR_END , SAI_DTEL_EVENT_ATTR_CUSTOM_RANGE_START = 0x10000000 , SAI_DTEL_EVENT_ATTR_CUSTOM_RANGE_END
}
 DTEL events attributes. More...
 

Detailed Description

Typedef Documentation

◆ sai_create_dtel_event_fn

typedef sai_status_t(* sai_create_dtel_event_fn) (_Out_ sai_object_id_t *dtel_event_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)

Create and return a DTEL event object.

Warning
experimental
Parameters
[out]dtel_event_idDTEL event object id
[in]switch_idSwitch object id
[in]attr_countNumber of attributes
[in]attr_listArray of attributes
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 795 of file saidtel.h.

◆ sai_create_dtel_fn

typedef sai_status_t(* sai_create_dtel_fn) (_Out_ sai_object_id_t *dtel_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)

Create and return a DTEL object.

Warning
experimental
Parameters
[out]dtel_idDTEL object
[in]switch_idSwitch object id
[in]attr_countNumber of attributes
[in]attr_listArray of attributes
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 555 of file saidtel.h.

◆ sai_create_dtel_int_session_fn

typedef sai_status_t(* sai_create_dtel_int_session_fn) (_Out_ sai_object_id_t *dtel_int_session_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)

Create and return a DTEL INT session object.

Warning
experimental
Parameters
[out]dtel_int_session_idDTEL INT session object id
[in]switch_idSwitch object id
[in]attr_countNumber of attributes
[in]attr_listArray of attributes
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 675 of file saidtel.h.

◆ sai_create_dtel_queue_report_fn

typedef sai_status_t(* sai_create_dtel_queue_report_fn) (_Out_ sai_object_id_t *dtel_queue_report_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)

Create and return a DTEL queue report object.

Warning
experimental
Parameters
[out]dtel_queue_report_idDTEL queue report object id
[in]switch_idSwitch object id
[in]attr_countNumber of attributes
[in]attr_listArray of attributes
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 615 of file saidtel.h.

◆ sai_create_dtel_report_session_fn

typedef sai_status_t(* sai_create_dtel_report_session_fn) (_Out_ sai_object_id_t *dtel_report_session_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)

Create and return a DTEL report session object.

Warning
experimental
Parameters
[out]dtel_report_session_idDTEL report session object
[in]switch_idSwitch object id
[in]attr_countNumber of attributes
[in]attr_listArray of attributes
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 735 of file saidtel.h.

◆ sai_dtel_attr_t

DTEL attributes for the switch.

Warning
experimental
Note
Only one DTEL object per switch is allowed

◆ sai_dtel_event_attr_t

DTEL events attributes.

Warning
experimental

◆ sai_dtel_event_type_t

Enum defining DTEL event types.

Warning
experimental

◆ sai_dtel_int_session_attr_t

INT session attributes.

Warning
experimental

◆ sai_dtel_queue_report_attr_t

Queue report trigger attributes.

Warning
experimental

◆ sai_dtel_report_session_attr_t

DTEL report session attributes.

Warning
experimental

◆ sai_get_dtel_attribute_fn

typedef sai_status_t(* sai_get_dtel_attribute_fn) (_In_ sai_object_id_t dtel_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)

Get DTEL attribute.

Warning
experimental
Parameters
[in]dtel_idDTEL object id
[in]attr_countNumber of attributes
[in,out]attr_listArray of attributes
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 598 of file saidtel.h.

◆ sai_get_dtel_event_attribute_fn

typedef sai_status_t(* sai_get_dtel_event_attribute_fn) (_In_ sai_object_id_t dtel_event_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)

Get DTEL event attribute.

Warning
experimental
Parameters
[in]dtel_event_idDTEL event id
[in]attr_countNumber of attributes
[in,out]attr_listArray of attributes
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 838 of file saidtel.h.

◆ sai_get_dtel_int_session_attribute_fn

typedef sai_status_t(* sai_get_dtel_int_session_attribute_fn) (_In_ sai_object_id_t dtel_int_session_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)

Get DTEL INT session attribute.

Warning
experimental
Parameters
[in]dtel_int_session_idDTEL INT session id
[in]attr_countNumber of attributes
[in,out]attr_listArray of attributes
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 718 of file saidtel.h.

◆ sai_get_dtel_queue_report_attribute_fn

typedef sai_status_t(* sai_get_dtel_queue_report_attribute_fn) (_In_ sai_object_id_t dtel_queue_report_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)

Get DTEL queue report attribute.

Warning
experimental
Parameters
[in]dtel_queue_report_idDTEL queue report id
[in]attr_countNumber of attributes
[in,out]attr_listArray of attributes
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 658 of file saidtel.h.

◆ sai_get_dtel_report_session_attribute_fn

typedef sai_status_t(* sai_get_dtel_report_session_attribute_fn) (_In_ sai_object_id_t dtel_report_session_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)

Get DTEL report session attribute.

Warning
experimental
Parameters
[in]dtel_report_session_idDTEL report session id
[in]attr_countNumber of attributes
[in,out]attr_listArray of attributes
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 778 of file saidtel.h.

◆ sai_remove_dtel_event_fn

typedef sai_status_t(* sai_remove_dtel_event_fn) (_In_ sai_object_id_t dtel_event_id)

Delete a DTEL event.

Warning
experimental
Parameters
[in]dtel_event_idDTEL event id
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 810 of file saidtel.h.

◆ sai_remove_dtel_fn

typedef sai_status_t(* sai_remove_dtel_fn) (_In_ sai_object_id_t dtel_id)

Delete a DTEL object.

Warning
experimental
Parameters
[in]dtel_idDTEL object id
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 570 of file saidtel.h.

◆ sai_remove_dtel_int_session_fn

typedef sai_status_t(* sai_remove_dtel_int_session_fn) (_In_ sai_object_id_t dtel_int_session_id)

Delete a DTEL INT session.

Warning
experimental
Parameters
[in]dtel_int_session_idDTEL INT session id
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 690 of file saidtel.h.

◆ sai_remove_dtel_queue_report_fn

typedef sai_status_t(* sai_remove_dtel_queue_report_fn) (_In_ sai_object_id_t dtel_queue_report_id)

Delete a DTEL queue report.

Warning
experimental
Parameters
[in]dtel_queue_report_idDTEL queue report id
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 630 of file saidtel.h.

◆ sai_remove_dtel_report_session_fn

typedef sai_status_t(* sai_remove_dtel_report_session_fn) (_In_ sai_object_id_t dtel_report_session_id)

Delete a DTEL report session.

Warning
experimental
Parameters
[in]dtel_report_session_idDTEL report session id
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 750 of file saidtel.h.

◆ sai_set_dtel_attribute_fn

typedef sai_status_t(* sai_set_dtel_attribute_fn) (_In_ sai_object_id_t dtel_id, _In_ const sai_attribute_t *attr)

Set DTEL attribute.

Warning
experimental
Parameters
[in]dtel_idDTEL object id
[in]attrAttribute
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 583 of file saidtel.h.

◆ sai_set_dtel_event_attribute_fn

typedef sai_status_t(* sai_set_dtel_event_attribute_fn) (_In_ sai_object_id_t dtel_event_id, _In_ const sai_attribute_t *attr)

Set DTEL event attribute.

Warning
experimental
Parameters
[in]dtel_event_idDTEL event id
[in]attrAttribute
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 823 of file saidtel.h.

◆ sai_set_dtel_int_session_attribute_fn

typedef sai_status_t(* sai_set_dtel_int_session_attribute_fn) (_In_ sai_object_id_t dtel_int_session_id, _In_ const sai_attribute_t *attr)

Set DTEL INT session attribute.

Warning
experimental
Parameters
[in]dtel_int_session_idDTEL INT session id
[in]attrAttribute
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 703 of file saidtel.h.

◆ sai_set_dtel_queue_report_attribute_fn

typedef sai_status_t(* sai_set_dtel_queue_report_attribute_fn) (_In_ sai_object_id_t dtel_queue_report_id, _In_ const sai_attribute_t *attr)

Set DTEL queue report attribute.

Warning
experimental
Parameters
[in]dtel_queue_report_idDTEL queue report id
[in]attrAttribute
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 643 of file saidtel.h.

◆ sai_set_dtel_report_session_attribute_fn

typedef sai_status_t(* sai_set_dtel_report_session_attribute_fn) (_In_ sai_object_id_t dtel_report_session_id, _In_ const sai_attribute_t *attr)

Set DTEL report session attribute.

Warning
experimental
Parameters
[in]dtel_report_session_idDTEL report session id
[in]attrAttribute
Returns
SAI_STATUS_SUCCESS on success, failure status code on error

Definition at line 763 of file saidtel.h.

Enumeration Type Documentation

◆ _sai_dtel_attr_t

DTEL attributes for the switch.

Warning
experimental
Note
Only one DTEL object per switch is allowed
Enumerator
SAI_DTEL_ATTR_START 

Start of attributes.

SAI_DTEL_ATTR_INT_ENDPOINT_ENABLE 

Enable DTEL INT endpoint.

Warning
experimental
Value Type:
bool
Flags:
CREATE_AND_SET
Default value:
false
SAI_DTEL_ATTR_INT_TRANSIT_ENABLE 

Enable DTEL INT transit.

Warning
experimental
Value Type:
bool
Flags:
CREATE_AND_SET
Default value:
false
SAI_DTEL_ATTR_POSTCARD_ENABLE 

Enable Packet postcard.

Warning
experimental
Value Type:
bool
Flags:
CREATE_AND_SET
Default value:
false
SAI_DTEL_ATTR_DROP_REPORT_ENABLE 

Enable Drop Report.

Warning
experimental
Value Type:
bool
Flags:
CREATE_AND_SET
Default value:
false
SAI_DTEL_ATTR_QUEUE_REPORT_ENABLE 

Enable Queue Report.

Warning
experimental
Value Type:
bool
Flags:
CREATE_AND_SET
Default value:
false
SAI_DTEL_ATTR_SWITCH_ID 

Globally unique switch ID.

Warning
experimental
Value Type:
sai_uint32_t
Flags:
CREATE_AND_SET
Default value:
0
SAI_DTEL_ATTR_FLOW_STATE_CLEAR_CYCLE 

DTEL flow state clear cycle.

Warning
experimental
Value Type:
sai_uint16_t
Flags:
CREATE_AND_SET
IsVlan:
false
Default value:
0
SAI_DTEL_ATTR_LATENCY_SENSITIVITY 

Latency sensitivity for flow state change detection.

Warning
experimental
Value Type:
sai_uint8_t
Flags:
CREATE_AND_SET
Default value:
0
SAI_DTEL_ATTR_SINK_PORT_LIST 

DTEL sink ports.

Warning
experimental
Value Type:
sai_object_list_t
Flags:
CREATE_AND_SET
Allowed object types
SAI_OBJECT_TYPE_PORT
Default value:
empty
SAI_DTEL_ATTR_INT_L4_DSCP 

Reserved DSCP value for INT over L4.

Warning
experimental
Value Type:
sai_acl_field_data_t sai_uint8_t
Flags:
CREATE_AND_SET
Default value:
disabled
SAI_DTEL_ATTR_END 

End of attributes.

SAI_DTEL_ATTR_CUSTOM_RANGE_START 

Custom range base value start.

SAI_DTEL_ATTR_CUSTOM_RANGE_END 

End of Custom range base.

Definition at line 45 of file saidtel.h.

◆ _sai_dtel_event_attr_t

DTEL events attributes.

Warning
experimental
Enumerator
SAI_DTEL_EVENT_ATTR_START 

Start of attributes.

SAI_DTEL_EVENT_ATTR_TYPE 

DTEL event type.

Warning
experimental
Value Type:
sai_dtel_event_type_t
Flags:
MANDATORY_ON_CREATE | CREATE_ONLY
SAI_DTEL_EVENT_ATTR_REPORT_SESSION 

DTEL report session.

Warning
experimental
Value Type:
sai_object_id_t
Flags:
CREATE_AND_SET
Allowed object types
SAI_OBJECT_TYPE_DTEL_REPORT_SESSION
Allows NULL object ID
true
Default value:
SAI_NULL_OBJECT_ID
SAI_DTEL_EVENT_ATTR_DSCP_VALUE 

DTEL report DSCP value.

Warning
experimental
Value Type:
sai_uint8_t
Flags:
CREATE_AND_SET
Default value:
0
SAI_DTEL_EVENT_ATTR_END 

End of attributes.

SAI_DTEL_EVENT_ATTR_CUSTOM_RANGE_START 

Custom range base value start.

SAI_DTEL_EVENT_ATTR_CUSTOM_RANGE_END 

End of Custom range base.

Definition at line 485 of file saidtel.h.

◆ _sai_dtel_event_type_t

Enum defining DTEL event types.

Warning
experimental
Enumerator
SAI_DTEL_EVENT_TYPE_FLOW_STATE 

Report triggered by new flow or flow state (e.g., path, latency) change

SAI_DTEL_EVENT_TYPE_FLOW_REPORT_ALL_PACKETS 

Report triggered by REPORT_ALL_PACKETS in watchlist entry action

SAI_DTEL_EVENT_TYPE_FLOW_TCPFLAG 

Report triggered by TCP FLAGS

SAI_DTEL_EVENT_TYPE_QUEUE_REPORT_THRESHOLD_BREACH 

Report triggered by queue depth or latency threshold breach

SAI_DTEL_EVENT_TYPE_QUEUE_REPORT_TAIL_DROP 

Report triggered by queue tail drop

SAI_DTEL_EVENT_TYPE_DROP_REPORT 

Report triggered by packet drop

Definition at line 456 of file saidtel.h.

◆ _sai_dtel_int_session_attr_t

INT session attributes.

Warning
experimental
Enumerator
SAI_DTEL_INT_SESSION_ATTR_START 

Start of attributes.

SAI_DTEL_INT_SESSION_ATTR_MAX_HOP_COUNT 

INT max hop count.

Warning
experimental

The maximum number of hops that are allowed to add their metadata to the packet

Value Type:
sai_uint8_t
Flags:
CREATE_AND_SET
Default value:
8
SAI_DTEL_INT_SESSION_ATTR_COLLECT_SWITCH_ID 

Collect switch ID.

Warning
experimental
Value Type:
bool
Flags:
CREATE_AND_SET
Default value:
false
SAI_DTEL_INT_SESSION_ATTR_COLLECT_SWITCH_PORTS 

Collect ingress and egress ports.

Warning
experimental
Value Type:
bool
Flags:
CREATE_AND_SET
Default value:
false
SAI_DTEL_INT_SESSION_ATTR_COLLECT_INGRESS_TIMESTAMP 

Collect ingress timestamp.

Warning
experimental
Value Type:
bool
Flags:
CREATE_AND_SET
Default value:
false
SAI_DTEL_INT_SESSION_ATTR_COLLECT_EGRESS_TIMESTAMP 

Collect egress timestamp.

Warning
experimental
Value Type:
bool
Flags:
CREATE_AND_SET
Default value:
false
SAI_DTEL_INT_SESSION_ATTR_COLLECT_QUEUE_INFO 

Collect queue information.

Warning
experimental
Value Type:
bool
Flags:
CREATE_AND_SET
Default value:
false
SAI_DTEL_INT_SESSION_ATTR_END 

End of attributes.

SAI_DTEL_INT_SESSION_ATTR_CUSTOM_RANGE_START 

Custom range base value start.

SAI_DTEL_INT_SESSION_ATTR_CUSTOM_RANGE_END 

End of Custom range base.

Definition at line 270 of file saidtel.h.

◆ _sai_dtel_queue_report_attr_t

Queue report trigger attributes.

Warning
experimental
Enumerator
SAI_DTEL_QUEUE_REPORT_ATTR_START 

Start of attributes.

SAI_DTEL_QUEUE_REPORT_ATTR_QUEUE_ID 

Queue object ID.

Warning
experimental
Value Type:
sai_object_id_t
Flags:
MANDATORY_ON_CREATE | CREATE_ONLY
Allowed object types
SAI_OBJECT_TYPE_QUEUE
SAI_DTEL_QUEUE_REPORT_ATTR_DEPTH_THRESHOLD 

Queue depth threshold in byte.

Warning
experimental
Value Type:
sai_uint32_t
Flags:
CREATE_AND_SET
Default value:
0
SAI_DTEL_QUEUE_REPORT_ATTR_LATENCY_THRESHOLD 

Queue latency threshold in nanosecond.

Warning
experimental
Value Type:
sai_uint32_t
Flags:
CREATE_AND_SET
Default value:
0
SAI_DTEL_QUEUE_REPORT_ATTR_BREACH_QUOTA 

Maximum number of continuous reports after threshold breach.

Warning
experimental
Value Type:
sai_uint32_t
Flags:
CREATE_AND_SET
Default value:
0
SAI_DTEL_QUEUE_REPORT_ATTR_TAIL_DROP 

Send report for packets dropped by the queue.

Warning
experimental
Value Type:
bool
Flags:
CREATE_AND_SET
Default value:
false
SAI_DTEL_QUEUE_REPORT_ATTR_END 

End of attributes.

SAI_DTEL_QUEUE_REPORT_ATTR_CUSTOM_RANGE_START 

Custom range base value start.

SAI_DTEL_QUEUE_REPORT_ATTR_CUSTOM_RANGE_END 

End of Custom range base.

Definition at line 186 of file saidtel.h.

◆ _sai_dtel_report_session_attr_t

DTEL report session attributes.

Warning
experimental
Enumerator
SAI_DTEL_REPORT_SESSION_ATTR_START 

Start of attributes.

SAI_DTEL_REPORT_SESSION_ATTR_SRC_IP 

DTEL report source IP address.

Warning
experimental
Value Type:
sai_ip_address_t
Flags:
CREATE_AND_SET
Default value:
0.0.0.0
SAI_DTEL_REPORT_SESSION_ATTR_DST_IP_LIST 

DTEL report destination IP addresses.

Warning
experimental
Value Type:
sai_ip_address_list_t
Flags:
CREATE_AND_SET
Default value:
empty
SAI_DTEL_REPORT_SESSION_ATTR_VIRTUAL_ROUTER_ID 

DTEL report virtual router ID.

Warning
experimental
Value Type:
sai_object_id_t
Flags:
CREATE_AND_SET
Allowed object types
SAI_OBJECT_TYPE_VIRTUAL_ROUTER
Allows NULL object ID
true
Default value:
SAI_NULL_OBJECT_ID
SAI_DTEL_REPORT_SESSION_ATTR_TRUNCATE_SIZE 

DTEL report truncate size.

Warning
experimental
Value Type:
sai_uint16_t
Flags:
CREATE_AND_SET
IsVlan:
false
Default value:
0
SAI_DTEL_REPORT_SESSION_ATTR_UDP_DST_PORT 

DTEL report UDP destination port.

Warning
experimental
Value Type:
sai_uint16_t
Flags:
CREATE_AND_SET
IsVlan:
false
Default value:
0
SAI_DTEL_REPORT_SESSION_ATTR_END 

End of attributes.

SAI_DTEL_REPORT_SESSION_ATTR_CUSTOM_RANGE_START 

Custom range base value start.

SAI_DTEL_REPORT_SESSION_ATTR_CUSTOM_RANGE_END 

End of Custom range base.

Definition at line 368 of file saidtel.h.