Skip to content

Commit 563300a

Browse files
authored
Introducing SAI_PORT_ATTR_PORT_PG_PKT_DROP_STATUS (#2234)
In this map, the key is the PG index and the status value (clear-on-read) for each PG is from {0, 1}, where 0 indicates no drops were observed and 1 indicates packet drops. Signed-off-by: Prasun Sinha <prasunsinha@google.com>
1 parent e6d287c commit 563300a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

inc/saiport.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2786,6 +2786,18 @@ typedef enum _sai_port_attr_t
27862786
*/
27872787
SAI_PORT_ATTR_PRBS_PER_LANE_BER_LIST,
27882788

2789+
/**
2790+
* @brief Packet drop status for all PGs of a port.
2791+
*
2792+
* The key is the PG index and the status value (clear-on-read) for each PG
2793+
* is from {0, 1}, where 0 indicates no drops were observed and 1 indicates
2794+
* packet drops.
2795+
*
2796+
* @type sai_map_list_t
2797+
* @flags READ_ONLY
2798+
*/
2799+
SAI_PORT_ATTR_PORT_PG_PKT_DROP_STATUS,
2800+
27892801
/**
27902802
* @brief End of attributes
27912803
*/

0 commit comments

Comments
 (0)