SAI Metadata
Loading...
Searching...
No Matches
saiswitch.h
Go to the documentation of this file.
1
25#if !defined (__SAISWITCH_H_)
26#define __SAISWITCH_H_
27
28#include <saitypes.h>
29
39#define SAI_MAX_HARDWARE_ID_LEN 255
40
44#define SAI_MAX_FIRMWARE_PATH_NAME_LEN PATH_MAX
45
50{
53
56
59
62
64
69{
70 /* Basic Packet Actions */
71
72 /*
73 * These could be further classified based on the nature of action
74 * - Data Plane Packet Actions
75 * - CPU Path Packet Actions
76 */
77
78 /*
79 * Data Plane Packet Actions.
80 *
81 * Following two packet actions only affect the packet action on the data plane.
82 * Packet action on the CPU path remains unchanged.
83 */
84
87
90
91 /*
92 * CPU Path Packet Actions.
93 *
94 * Following two packet actions only affect the packet action on the CPU path.
95 * Packet action on the data plane remains unchanged.
96 */
97
105
108
119
129
132
135
138
140
145{
152
160
168
170
175{
178
181
183
189{
192
195
198
201
204
207
210
212
217{
220
223
226
228
233{
236
239
242
245
247
252{
255
258
261
263
268{
271
274
277
279
284{
287
290
293
295
300{
303
306
309
312
314
322{
325
328
330
335{
336 SAI_TUNNEL_TYPE_IPINIP,
337
338 SAI_TUNNEL_TYPE_IPINIP_GRE,
339
340 SAI_TUNNEL_TYPE_VXLAN,
341
342 SAI_TUNNEL_TYPE_MPLS,
343
344 SAI_TUNNEL_TYPE_SRV6,
345
346 SAI_TUNNEL_TYPE_NVGRE,
347
348 SAI_TUNNEL_TYPE_IPINIP_ESP,
349
350 SAI_TUNNEL_TYPE_IPINIP_UDP_ESP,
351
352 SAI_TUNNEL_TYPE_VXLAN_UDP_ESP,
353
355
360{
365
371
376{
382
387
389
394{
399
404
409
411
420{
425
434
443
444 /* Tunnel encap attributes */
445
454
464
465 /* Tunnel decap attributes */
466
475
485
494
505
519
530
544
555
569
574
577
580
582
587{
598
607
609
615{
620
628
631
639
649
657
667
675
683
691
699
707
715
725
733
741
749
757
765
775
783
791
801
812
823
831
839
847
855
863
871
879
887
895
903
911
919
927
937
947
955
967
979
989
1005
1021
1029
1038
1047
1055
1063
1071
1079
1087
1095
1103
1111
1119
1127
1135
1143
1151
1159
1167
1175
1183
1191
1199
1207
1215
1235
1254
1273
1290
1305
1313
1325
1335
1343
1351
1359
1367
1376
1385
1394
1403
1414
1425
1434
1443
1452
1461
1470
1482
1496
1507
1518
1529
1538
1547
1559
1572
1583
1594
1605
1635
1644
1659
1674
1689
1704
1718
1732
1746
1755
1767
1784
1793
1806
1818
1829
1832
1843
1857
1868
1877
1892
1900
1908
1916
1924
1932
1943
1957
1965
1978
1986
2000
2009
2019
2029
2038
2047
2058
2066
2074
2082
2090
2098
2106
2117
2126
2136
2144
2152
2161
2176
2189
2201
2212
2231
2245
2254
2263
2277
2289
2301
2313
2322
2334
2348
2361
2374
2387
2395
2403
2414
2431
2440
2450
2464
2478
2492
2503
2512
2521
2529
2539
2547
2557
2568
2577
2585
2595
2605
2621
2629
2637
2645
2663
2671
2679
2688
2696
2704
2712
2726
2740
2751
2762
2777
2788
2796
2805
2816
2824
2836
2848
2867
2879
2890
2901
2912
2923
2931
2943
2951
2959
2970
2978
2986
2994
3002
3007
3010
3013
3015
3020{
3023
3026
3029
3031
3036{
3039
3042
3045
3048
3050
3057{
3060
3063
3066
3069
3072
3075
3078
3081
3084
3087
3090
3093
3096
3099
3102
3105
3108
3111
3114
3117
3120
3123
3126
3129
3132
3135
3138
3140
3145#define SAI_SWITCH_ATTR_MAX_KEY_STRING_LEN 64
3146
3154#define SAI_SWITCH_ATTR_MAX_KEY_COUNT 16
3155
3156/*
3157 * List of switch attributes keys that can be set using key=value
3158 */
3159
3163#define SAI_KEY_FDB_TABLE_SIZE "SAI_FDB_TABLE_SIZE"
3164
3168#define SAI_KEY_L3_ROUTE_TABLE_SIZE "SAI_L3_ROUTE_TABLE_SIZE"
3169
3173#define SAI_KEY_L3_NEIGHBOR_TABLE_SIZE "SAI_L3_NEIGHBOR_TABLE_SIZE"
3174
3178#define SAI_KEY_NUM_LAG_MEMBERS "SAI_NUM_LAG_MEMBERS"
3179
3183#define SAI_KEY_NUM_LAGS "SAI_NUM_LAGS"
3184
3188#define SAI_KEY_NUM_ECMP_MEMBERS "SAI_NUM_ECMP_MEMBERS"
3189
3193#define SAI_KEY_NUM_ECMP_GROUPS "SAI_NUM_ECMP_GROUPS"
3194
3198#define SAI_KEY_NUM_UNICAST_QUEUES "SAI_NUM_UNICAST_QUEUES"
3199
3203#define SAI_KEY_NUM_MULTICAST_QUEUES "SAI_NUM_MULTICAST_QUEUES"
3204
3208#define SAI_KEY_NUM_QUEUES "SAI_NUM_QUEUES"
3209
3213#define SAI_KEY_NUM_CPU_QUEUES "SAI_NUM_CPU_QUEUES"
3214
3218#define SAI_KEY_INIT_CONFIG_FILE "SAI_INIT_CONFIG_FILE"
3219
3228#define SAI_KEY_BOOT_TYPE "SAI_BOOT_TYPE"
3229
3234#define SAI_KEY_WARM_BOOT_READ_FILE "SAI_WARM_BOOT_READ_FILE"
3235
3240#define SAI_KEY_WARM_BOOT_WRITE_FILE "SAI_WARM_BOOT_WRITE_FILE"
3241
3248#define SAI_KEY_HW_PORT_PROFILE_ID_CONFIG_FILE "SAI_HW_PORT_PROFILE_ID_CONFIG_FILE"
3249
3277 _In_ sai_object_id_t switch_id,
3279 _In_ sai_timespec_t timestamp,
3281 _In_ sai_switch_health_data_t data,
3282 _In_ const sai_u8_list_t description);
3283
3295 _In_ sai_object_id_t switch_id);
3296
3306 _In_ sai_object_id_t switch_id,
3307 _In_ sai_switch_oper_status_t switch_oper_status);
3308
3325typedef sai_status_t (*sai_switch_register_read_fn)(
3326 _In_ uint64_t platform_context,
3327 _In_ uint32_t device_addr,
3328 _In_ uint32_t start_reg_addr,
3329 _In_ uint32_t number_of_registers,
3330 _Out_ uint32_t *reg_val);
3331
3348typedef sai_status_t (*sai_switch_register_write_fn)(
3349 _In_ uint64_t platform_context,
3350 _In_ uint32_t device_addr,
3351 _In_ uint32_t start_reg_addr,
3352 _In_ uint32_t number_of_registers,
3353 _In_ const uint32_t *reg_val);
3354
3368typedef sai_status_t (*sai_switch_mdio_read_fn)(
3369 _In_ sai_object_id_t switch_id,
3370 _In_ uint32_t device_addr,
3371 _In_ uint32_t start_reg_addr,
3372 _In_ uint32_t number_of_registers,
3373 _Out_ uint32_t *reg_val);
3374
3388typedef sai_status_t (*sai_switch_mdio_write_fn)(
3389 _In_ sai_object_id_t switch_id,
3390 _In_ uint32_t device_addr,
3391 _In_ uint32_t start_reg_addr,
3392 _In_ uint32_t number_of_registers,
3393 _In_ const uint32_t *reg_val);
3394
3408typedef sai_status_t (*sai_switch_mdio_cl22_read_fn)(
3409 _In_ sai_object_id_t switch_id,
3410 _In_ uint32_t device_addr,
3411 _In_ uint32_t start_reg_addr,
3412 _In_ uint32_t number_of_registers,
3413 _Out_ uint32_t *reg_val);
3414
3428typedef sai_status_t (*sai_switch_mdio_cl22_write_fn)(
3429 _In_ sai_object_id_t switch_id,
3430 _In_ uint32_t device_addr,
3431 _In_ uint32_t start_reg_addr,
3432 _In_ uint32_t number_of_registers,
3433 _In_ const uint32_t *reg_val);
3434
3448typedef sai_status_t (*sai_create_switch_fn)(
3449 _Out_ sai_object_id_t *switch_id,
3450 _In_ uint32_t attr_count,
3451 _In_ const sai_attribute_t *attr_list);
3452
3462typedef sai_status_t (*sai_remove_switch_fn)(
3463 _In_ sai_object_id_t switch_id);
3464
3473typedef sai_status_t (*sai_set_switch_attribute_fn)(
3474 _In_ sai_object_id_t switch_id,
3475 _In_ const sai_attribute_t *attr);
3476
3486typedef sai_status_t (*sai_get_switch_attribute_fn)(
3487 _In_ sai_object_id_t switch_id,
3488 _In_ uint32_t attr_count,
3489 _Inout_ sai_attribute_t *attr_list);
3490
3501typedef sai_status_t (*sai_get_switch_stats_fn)(
3502 _In_ sai_object_id_t switch_id,
3503 _In_ uint32_t number_of_counters,
3504 _In_ const sai_stat_id_t *counter_ids,
3505 _Out_ uint64_t *counters);
3506
3518typedef sai_status_t (*sai_get_switch_stats_ext_fn)(
3519 _In_ sai_object_id_t switch_id,
3520 _In_ uint32_t number_of_counters,
3521 _In_ const sai_stat_id_t *counter_ids,
3522 _In_ sai_stats_mode_t mode,
3523 _Out_ uint64_t *counters);
3524
3534typedef sai_status_t (*sai_clear_switch_stats_fn)(
3535 _In_ sai_object_id_t switch_id,
3536 _In_ uint32_t number_of_counters,
3537 _In_ const sai_stat_id_t *counter_ids);
3538
3549typedef sai_status_t (*sai_create_switch_tunnel_fn)(
3550 _Out_ sai_object_id_t *switch_tunnel_id,
3551 _In_ sai_object_id_t switch_id,
3552 _In_ uint32_t attr_count,
3553 _In_ const sai_attribute_t *attr_list);
3554
3564typedef sai_status_t (*sai_remove_switch_tunnel_fn)(
3565 _In_ sai_object_id_t switch_tunnel_id);
3566
3576 _In_ sai_object_id_t switch_tunnel_id,
3577 _In_ const sai_attribute_t *attr);
3578
3589 _In_ sai_object_id_t switch_tunnel_id,
3590 _In_ uint32_t attr_count,
3591 _Inout_ sai_attribute_t *attr_list);
3592
3596typedef struct _sai_switch_api_t
3597{
3598 sai_create_switch_fn create_switch;
3599 sai_remove_switch_fn remove_switch;
3600 sai_set_switch_attribute_fn set_switch_attribute;
3601 sai_get_switch_attribute_fn get_switch_attribute;
3602 sai_get_switch_stats_fn get_switch_stats;
3603 sai_get_switch_stats_ext_fn get_switch_stats_ext;
3604 sai_clear_switch_stats_fn clear_switch_stats;
3605 sai_switch_mdio_read_fn switch_mdio_read;
3606 sai_switch_mdio_write_fn switch_mdio_write;
3607 sai_create_switch_tunnel_fn create_switch_tunnel;
3608 sai_remove_switch_tunnel_fn remove_switch_tunnel;
3609 sai_set_switch_tunnel_attribute_fn set_switch_tunnel_attribute;
3610 sai_get_switch_tunnel_attribute_fn get_switch_tunnel_attribute;
3611 sai_switch_mdio_cl22_read_fn switch_mdio_cl22_read;
3612 sai_switch_mdio_cl22_write_fn switch_mdio_cl22_write;
3613
3615
3619#endif
_sai_switch_stat_t
Switch counter IDs in sai_get_switch_stats() call.
Definition saiswitch.h:3057
enum _sai_switch_firmware_load_type_t sai_switch_firmware_load_type_t
Attribute data for SAI_SWITCH_ATTR_FIRMWARE_LOAD_TYPE.
_sai_switch_failover_config_mode_t
Attribute data for SAI_SWITCH_ATTR_FAILOVER_CONFIG_MODE Used for Failover configuration mode In case ...
Definition saiswitch.h:322
_sai_tunnel_decap_ecn_mode_t
Defines tunnel decap ECN mode.
Definition saiswitch.h:394
_sai_switch_hostif_oper_status_update_mode_t
Attribute data for SAI_SWITCH_ATTR_HOSTIF_OPER_STATUS_UPDATE_MODE.
Definition saiswitch.h:587
sai_status_t(* sai_switch_mdio_cl22_read_fn)(_In_ sai_object_id_t switch_id, _In_ uint32_t device_addr, _In_ uint32_t start_reg_addr, _In_ uint32_t number_of_registers, _Out_ uint32_t *reg_val)
Switch MDIO clause 22 read API.
Definition saiswitch.h:3408
_sai_switch_mcast_snooping_capability_t
Attribute data for SAI_SWITCH_ATTR_MCAST_SNOOPING_CAPABILITY.
Definition saiswitch.h:233
_sai_tunnel_vxlan_udp_sport_mode_t
Defines VXLAN tunnel UDP source port mode.
Definition saiswitch.h:360
_sai_tunnel_encap_ecn_mode_t
Defines tunnel encap ECN mode.
Definition saiswitch.h:376
_sai_switch_firmware_load_type_t
Attribute data for SAI_SWITCH_ATTR_FIRMWARE_LOAD_TYPE.
Definition saiswitch.h:284
sai_status_t(* sai_switch_mdio_write_fn)(_In_ sai_object_id_t switch_id, _In_ uint32_t device_addr, _In_ uint32_t start_reg_addr, _In_ uint32_t number_of_registers, _In_ const uint32_t *reg_val)
Switch MDIO write API.
Definition saiswitch.h:3388
_sai_switch_asic_sdk_health_category_t
Switch health categories.
Definition saiswitch.h:3036
_sai_switch_hardware_access_bus_t
Attribute data for SAI_SWITCH_ATTR_HARDWARE_ACCESS_BUS.
Definition saiswitch.h:252
sai_status_t(* sai_get_switch_stats_fn)(_In_ sai_object_id_t switch_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters)
Get switch statistics counters. Deprecated for backward compatibility.
Definition saiswitch.h:3501
sai_status_t(* sai_get_switch_attribute_fn)(_In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get switch attribute value.
Definition saiswitch.h:3486
_sai_switch_oper_status_t
Attribute data for SAI_SWITCH_ATTR_OPER_STATUS.
Definition saiswitch.h:50
enum _sai_hash_algorithm_t sai_hash_algorithm_t
Attribute data for SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_ALGORITHM and SAI_SWITCH_ATTR_LAG_DEFAULT_HASH_A...
void(* sai_switch_shutdown_request_notification_fn)(_In_ sai_object_id_t switch_id)
Switch shutdown request callback.
Definition saiswitch.h:3294
enum _sai_switch_mcast_snooping_capability_t sai_switch_mcast_snooping_capability_t
Attribute data for SAI_SWITCH_ATTR_MCAST_SNOOPING_CAPABILITY.
_sai_switch_tunnel_attr_t
Defines tunnel attributes at switch level. SAI_OBJECT_TYPE_SWITCH_TUNNEL object provides per tunnel t...
Definition saiswitch.h:420
enum _sai_tunnel_decap_ecn_mode_t sai_tunnel_decap_ecn_mode_t
Defines tunnel decap ECN mode.
sai_status_t(* sai_create_switch_fn)(_Out_ sai_object_id_t *switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create switch.
Definition saiswitch.h:3448
sai_status_t(* sai_clear_switch_stats_fn)(_In_ sai_object_id_t switch_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids)
Clear switch statistics counters.
Definition saiswitch.h:3534
sai_status_t(* sai_switch_mdio_read_fn)(_In_ sai_object_id_t switch_id, _In_ uint32_t device_addr, _In_ uint32_t start_reg_addr, _In_ uint32_t number_of_registers, _Out_ uint32_t *reg_val)
Switch MDIO read API.
Definition saiswitch.h:3368
enum _sai_switch_oper_status_t sai_switch_oper_status_t
Attribute data for SAI_SWITCH_ATTR_OPER_STATUS.
enum _sai_switch_hostif_oper_status_update_mode_t sai_switch_hostif_oper_status_update_mode_t
Attribute data for SAI_SWITCH_ATTR_HOSTIF_OPER_STATUS_UPDATE_MODE.
_sai_tunnel_type_t
Defines tunnel type.
Definition saiswitch.h:335
enum _sai_switch_firmware_load_method_t sai_switch_firmware_load_method_t
Attribute data for SAI_SWITCH_ATTR_FIRMWARE_LOAD_METHOD.
_sai_switch_asic_sdk_health_severity_t
Switch health event severity.
Definition saiswitch.h:3020
_sai_switch_firmware_load_method_t
Attribute data for SAI_SWITCH_ATTR_FIRMWARE_LOAD_METHOD.
Definition saiswitch.h:268
enum _sai_switch_tunnel_attr_t sai_switch_tunnel_attr_t
Defines tunnel attributes at switch level. SAI_OBJECT_TYPE_SWITCH_TUNNEL object provides per tunnel t...
enum _sai_tunnel_type_t sai_tunnel_type_t
Defines tunnel type.
enum _sai_switch_asic_sdk_health_category_t sai_switch_asic_sdk_health_category_t
Switch health categories.
sai_status_t(* sai_remove_switch_tunnel_fn)(_In_ sai_object_id_t switch_tunnel_id)
Remove/disconnect Switch scope tunnel.
Definition saiswitch.h:3564
_sai_switch_attr_t
Attribute Id in sai_set_switch_attribute() and sai_get_switch_attribute() calls.
Definition saiswitch.h:615
enum _sai_switch_failover_config_mode_t sai_switch_failover_config_mode_t
Attribute data for SAI_SWITCH_ATTR_FAILOVER_CONFIG_MODE Used for Failover configuration mode In case ...
_sai_switch_switching_mode_t
Attribute data for SAI_SWITCH_ATTR_SWITCHING_MODE.
Definition saiswitch.h:175
_sai_packet_vlan_t
Attribute data for number of vlan tags present in a packet.
Definition saiswitch.h:145
sai_status_t(* sai_set_switch_tunnel_attribute_fn)(_In_ sai_object_id_t switch_tunnel_id, _In_ const sai_attribute_t *attr)
Set switch scoped tunnel attribute value.
Definition saiswitch.h:3575
sai_status_t(* sai_switch_register_write_fn)(_In_ uint64_t platform_context, _In_ uint32_t device_addr, _In_ uint32_t start_reg_addr, _In_ uint32_t number_of_registers, _In_ const uint32_t *reg_val)
Platform specific device register write access.
Definition saiswitch.h:3348
enum _sai_switch_restart_type_t sai_switch_restart_type_t
Attribute data for SAI_SWITCH_ATTR_RESTART_TYPE.
sai_status_t(* sai_get_switch_tunnel_attribute_fn)(_In_ sai_object_id_t switch_tunnel_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get switch scoped tunnel attribute value.
Definition saiswitch.h:3588
enum _sai_packet_vlan_t sai_packet_vlan_t
Attribute data for number of vlan tags present in a packet.
enum _sai_tunnel_encap_ecn_mode_t sai_tunnel_encap_ecn_mode_t
Defines tunnel encap ECN mode.
enum _sai_switch_type_t sai_switch_type_t
Attribute data for SAI_SWITCH_ATTR_TYPE.
_sai_hash_algorithm_t
Attribute data for SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_ALGORITHM and SAI_SWITCH_ATTR_LAG_DEFAULT_HASH_A...
Definition saiswitch.h:189
sai_status_t(* sai_switch_mdio_cl22_write_fn)(_In_ sai_object_id_t switch_id, _In_ uint32_t device_addr, _In_ uint32_t start_reg_addr, _In_ uint32_t number_of_registers, _In_ const uint32_t *reg_val)
Switch MDIO clause write API.
Definition saiswitch.h:3428
void(* sai_switch_asic_sdk_health_event_notification_fn)(_In_ sai_object_id_t switch_id, _In_ sai_switch_asic_sdk_health_severity_t severity, _In_ sai_timespec_t timestamp, _In_ sai_switch_asic_sdk_health_category_t category, _In_ sai_switch_health_data_t data, _In_ const sai_u8_list_t description)
Switch health event callback.
Definition saiswitch.h:3276
sai_status_t(* sai_create_switch_tunnel_fn)(_Out_ sai_object_id_t *switch_tunnel_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create switch scoped tunnel.
Definition saiswitch.h:3549
enum _sai_switch_attr_t sai_switch_attr_t
Attribute Id in sai_set_switch_attribute() and sai_get_switch_attribute() calls.
enum _sai_switch_hardware_access_bus_t sai_switch_hardware_access_bus_t
Attribute data for SAI_SWITCH_ATTR_HARDWARE_ACCESS_BUS.
_sai_switch_type_t
Attribute data for SAI_SWITCH_ATTR_TYPE.
Definition saiswitch.h:300
sai_status_t(* sai_set_switch_attribute_fn)(_In_ sai_object_id_t switch_id, _In_ const sai_attribute_t *attr)
Set switch attribute value.
Definition saiswitch.h:3473
enum _sai_packet_action_t sai_packet_action_t
Attribute data for packet action.
sai_status_t(* sai_remove_switch_fn)(_In_ sai_object_id_t switch_id)
Remove/disconnect Switch.
Definition saiswitch.h:3462
sai_status_t(* sai_get_switch_stats_ext_fn)(_In_ sai_object_id_t switch_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _In_ sai_stats_mode_t mode, _Out_ uint64_t *counters)
Get switch statistics counters extended.
Definition saiswitch.h:3518
enum _sai_tunnel_vxlan_udp_sport_mode_t sai_tunnel_vxlan_udp_sport_mode_t
Defines VXLAN tunnel UDP source port mode.
_sai_packet_action_t
Attribute data for packet action.
Definition saiswitch.h:69
struct _sai_switch_api_t sai_switch_api_t
Switch method table retrieved with sai_api_query()
_sai_switch_restart_type_t
Attribute data for SAI_SWITCH_ATTR_RESTART_TYPE.
Definition saiswitch.h:217
enum _sai_switch_asic_sdk_health_severity_t sai_switch_asic_sdk_health_severity_t
Switch health event severity.
enum _sai_switch_switching_mode_t sai_switch_switching_mode_t
Attribute data for SAI_SWITCH_ATTR_SWITCHING_MODE.
sai_status_t(* sai_switch_register_read_fn)(_In_ uint64_t platform_context, _In_ uint32_t device_addr, _In_ uint32_t start_reg_addr, _In_ uint32_t number_of_registers, _Out_ uint32_t *reg_val)
Platform specific device register read access.
Definition saiswitch.h:3325
enum _sai_switch_stat_t sai_switch_stat_t
Switch counter IDs in sai_get_switch_stats() call.
void(* sai_switch_state_change_notification_fn)(_In_ sai_object_id_t switch_id, _In_ sai_switch_oper_status_t switch_oper_status)
Switch operational state change notification.
Definition saiswitch.h:3305
@ SAI_SWITCH_STAT_FABRIC_DROP_REASON_RANGE_END
Definition saiswitch.h:3137
@ SAI_SWITCH_STAT_IN_CONFIGURED_DROP_REASONS_3_DROPPED_PKTS
Definition saiswitch.h:3071
@ SAI_SWITCH_STAT_OUT_DROP_REASON_RANGE_END
Definition saiswitch.h:3116
@ SAI_SWITCH_STAT_IN_CONFIGURED_DROP_REASONS_4_DROPPED_PKTS
Definition saiswitch.h:3074
@ SAI_SWITCH_STAT_IN_DROP_REASON_RANGE_END
Definition saiswitch.h:3086
@ SAI_SWITCH_STAT_HIGHEST_QUEUE_CONGESTION_LEVEL
Definition saiswitch.h:3128
@ SAI_SWITCH_STAT_OUT_CONFIGURED_DROP_REASONS_1_DROPPED_PKTS
Definition saiswitch.h:3095
@ SAI_SWITCH_STAT_OUT_DROP_REASON_RANGE_BASE
Definition saiswitch.h:3089
@ SAI_SWITCH_STAT_IN_CONFIGURED_DROP_REASONS_0_DROPPED_PKTS
Definition saiswitch.h:3062
@ SAI_SWITCH_STAT_OUT_CONFIGURED_DROP_REASONS_7_DROPPED_PKTS
Definition saiswitch.h:3113
@ SAI_SWITCH_STAT_OUT_CONFIGURED_DROP_REASONS_6_DROPPED_PKTS
Definition saiswitch.h:3110
@ SAI_SWITCH_STAT_ECC_DROP
Definition saiswitch.h:3122
@ SAI_SWITCH_STAT_FABRIC_DROP_REASON_RANGE_BASE
Definition saiswitch.h:3119
@ SAI_SWITCH_STAT_REACHABILITY_DROP
Definition saiswitch.h:3125
@ SAI_SWITCH_STAT_OUT_CONFIGURED_DROP_REASONS_0_DROPPED_PKTS
Definition saiswitch.h:3092
@ SAI_SWITCH_STAT_IN_CONFIGURED_DROP_REASONS_1_DROPPED_PKTS
Definition saiswitch.h:3065
@ SAI_SWITCH_STAT_IN_CONFIGURED_DROP_REASONS_7_DROPPED_PKTS
Definition saiswitch.h:3083
@ SAI_SWITCH_STAT_IN_CONFIGURED_DROP_REASONS_5_DROPPED_PKTS
Definition saiswitch.h:3077
@ SAI_SWITCH_STAT_PACKET_INTEGRITY_DROP
Definition saiswitch.h:3134
@ SAI_SWITCH_STAT_GLOBAL_DROP
Definition saiswitch.h:3131
@ SAI_SWITCH_STAT_OUT_CONFIGURED_DROP_REASONS_4_DROPPED_PKTS
Definition saiswitch.h:3104
@ SAI_SWITCH_STAT_OUT_CONFIGURED_DROP_REASONS_3_DROPPED_PKTS
Definition saiswitch.h:3101
@ SAI_SWITCH_STAT_OUT_CONFIGURED_DROP_REASONS_2_DROPPED_PKTS
Definition saiswitch.h:3098
@ SAI_SWITCH_STAT_OUT_CONFIGURED_DROP_REASONS_5_DROPPED_PKTS
Definition saiswitch.h:3107
@ SAI_SWITCH_STAT_IN_CONFIGURED_DROP_REASONS_2_DROPPED_PKTS
Definition saiswitch.h:3068
@ SAI_SWITCH_STAT_IN_DROP_REASON_RANGE_BASE
Definition saiswitch.h:3059
@ SAI_SWITCH_STAT_IN_CONFIGURED_DROP_REASONS_6_DROPPED_PKTS
Definition saiswitch.h:3080
@ SAI_SWITCH_FAILOVER_CONFIG_MODE_NO_HITLESS
Definition saiswitch.h:324
@ SAI_SWITCH_FAILOVER_CONFIG_MODE_HITLESS
Definition saiswitch.h:327
@ SAI_TUNNEL_DECAP_ECN_MODE_COPY_FROM_OUTER
Copy from outer ECN.
Definition saiswitch.h:403
@ SAI_TUNNEL_DECAP_ECN_MODE_STANDARD
Behavior defined in RFC 6040 section 4.2.
Definition saiswitch.h:398
@ SAI_TUNNEL_DECAP_ECN_MODE_USER_DEFINED
User defined behavior.
Definition saiswitch.h:408
@ SAI_SWITCH_HOSTIF_OPER_STATUS_UPDATE_MODE_SAI_ADAPTER
SAI adapter mode.
Definition saiswitch.h:606
@ SAI_SWITCH_HOSTIF_OPER_STATUS_UPDATE_MODE_APPLICATION
Application mode.
Definition saiswitch.h:597
@ SAI_SWITCH_MCAST_SNOOPING_CAPABILITY_XG_AND_SG
Definition saiswitch.h:244
@ SAI_SWITCH_MCAST_SNOOPING_CAPABILITY_NONE
Definition saiswitch.h:235
@ SAI_SWITCH_MCAST_SNOOPING_CAPABILITY_SG
Definition saiswitch.h:241
@ SAI_SWITCH_MCAST_SNOOPING_CAPABILITY_XG
Definition saiswitch.h:238
@ SAI_TUNNEL_VXLAN_UDP_SPORT_MODE_USER_DEFINED
User define value.
Definition saiswitch.h:364
@ SAI_TUNNEL_VXLAN_UDP_SPORT_MODE_EPHEMERAL
RFC6335 Computed hash value in range 49152-65535.
Definition saiswitch.h:369
@ SAI_TUNNEL_ENCAP_ECN_MODE_USER_DEFINED
User defined behavior.
Definition saiswitch.h:386
@ SAI_TUNNEL_ENCAP_ECN_MODE_STANDARD
Normal mode behavior defined in RFC 6040 section 4.1 copy from inner.
Definition saiswitch.h:381
@ SAI_SWITCH_FIRMWARE_LOAD_TYPE_SKIP
Definition saiswitch.h:286
@ SAI_SWITCH_FIRMWARE_LOAD_TYPE_AUTO
Definition saiswitch.h:292
@ SAI_SWITCH_FIRMWARE_LOAD_TYPE_FORCE
Definition saiswitch.h:289
@ SAI_SWITCH_ASIC_SDK_HEALTH_CATEGORY_CPU_HW
Definition saiswitch.h:3044
@ SAI_SWITCH_ASIC_SDK_HEALTH_CATEGORY_ASIC_HW
Definition saiswitch.h:3047
@ SAI_SWITCH_ASIC_SDK_HEALTH_CATEGORY_SW
Definition saiswitch.h:3038
@ SAI_SWITCH_ASIC_SDK_HEALTH_CATEGORY_FW
Definition saiswitch.h:3041
@ SAI_SWITCH_HARDWARE_ACCESS_BUS_MDIO
Definition saiswitch.h:254
@ SAI_SWITCH_HARDWARE_ACCESS_BUS_CPLD
Definition saiswitch.h:260
@ SAI_SWITCH_HARDWARE_ACCESS_BUS_I2C
Definition saiswitch.h:257
@ SAI_SWITCH_OPER_STATUS_DOWN
Definition saiswitch.h:58
@ SAI_SWITCH_OPER_STATUS_UP
Definition saiswitch.h:55
@ SAI_SWITCH_OPER_STATUS_FAILED
Definition saiswitch.h:61
@ SAI_SWITCH_OPER_STATUS_UNKNOWN
Definition saiswitch.h:52
@ SAI_SWITCH_TUNNEL_ATTR_ENCAP_MAPPERS
Tunnel encap ECN mappers only.
Definition saiswitch.h:463
@ SAI_SWITCH_TUNNEL_ATTR_ENCAP_QOS_TC_AND_COLOR_TO_DSCP_MAP
Enable TC AND COLOR -> DSCP MAP on tunnel at encapsulation (access-to-network) node to remark the DSC...
Definition saiswitch.h:529
@ SAI_SWITCH_TUNNEL_ATTR_CUSTOM_RANGE_START
Definition saiswitch.h:576
@ SAI_SWITCH_TUNNEL_ATTR_CUSTOM_RANGE_END
Definition saiswitch.h:579
@ SAI_SWITCH_TUNNEL_ATTR_END
End of attributes.
Definition saiswitch.h:573
@ SAI_SWITCH_TUNNEL_ATTR_DECAP_MAPPERS
Tunnel decap ECN mappers only.
Definition saiswitch.h:484
@ SAI_SWITCH_TUNNEL_ATTR_DECAP_QOS_DSCP_TO_TC_MAP
Enable DSCP -> TC MAP on tunnel at termination (Network-to-access) node.
Definition saiswitch.h:554
@ SAI_SWITCH_TUNNEL_ATTR_LOOPBACK_PACKET_ACTION
Packet action when a packet ingress and gets routed back to same tunnel.
Definition saiswitch.h:442
@ SAI_SWITCH_TUNNEL_ATTR_TUNNEL_TYPE
Tunnel type key.
Definition saiswitch.h:433
@ SAI_SWITCH_TUNNEL_ATTR_VXLAN_UDP_SPORT
Tunnel UDP source port.
Definition saiswitch.h:504
@ SAI_SWITCH_TUNNEL_ATTR_START
Start of attributes.
Definition saiswitch.h:424
@ SAI_SWITCH_TUNNEL_ATTR_VXLAN_UDP_SPORT_MASK
Tunnel UDP source port mask.
Definition saiswitch.h:518
@ SAI_SWITCH_TUNNEL_ATTR_TUNNEL_VXLAN_UDP_SPORT_MODE
Tunnel VXLAN UDP source port mode.
Definition saiswitch.h:493
@ SAI_SWITCH_TUNNEL_ATTR_TUNNEL_DECAP_ECN_MODE
Tunnel decap ECN mode.
Definition saiswitch.h:474
@ SAI_SWITCH_TUNNEL_ATTR_TUNNEL_ENCAP_ECN_MODE
Tunnel encap ECN mode.
Definition saiswitch.h:453
@ SAI_SWITCH_TUNNEL_ATTR_ENCAP_QOS_TC_TO_QUEUE_MAP
Enable TC -> Queue MAP on tunnel encap.
Definition saiswitch.h:543
@ SAI_SWITCH_TUNNEL_ATTR_DECAP_QOS_TC_TO_PRIORITY_GROUP_MAP
Enable TC -> Priority Group MAP.
Definition saiswitch.h:568
@ SAI_SWITCH_ASIC_SDK_HEALTH_SEVERITY_NOTICE
Definition saiswitch.h:3028
@ SAI_SWITCH_ASIC_SDK_HEALTH_SEVERITY_FATAL
Definition saiswitch.h:3022
@ SAI_SWITCH_ASIC_SDK_HEALTH_SEVERITY_WARNING
Definition saiswitch.h:3025
@ SAI_SWITCH_FIRMWARE_LOAD_METHOD_NONE
Definition saiswitch.h:270
@ SAI_SWITCH_FIRMWARE_LOAD_METHOD_EEPROM
Definition saiswitch.h:276
@ SAI_SWITCH_FIRMWARE_LOAD_METHOD_INTERNAL
Definition saiswitch.h:273
@ SAI_SWITCH_ATTR_PLATFROM_CONTEXT
Platform context information.
Definition saiswitch.h:2276
@ SAI_SWITCH_ATTR_LAG_DEFAULT_HASH_ALGORITHM
SAI LAG default hash algorithm.
Definition saiswitch.h:1537
@ SAI_SWITCH_ATTR_ACL_STAGE_POST_INGRESS
Post Ingress ACL stage.
Definition saiswitch.h:2823
@ SAI_SWITCH_ATTR_QOS_TC_TO_QUEUE_MAP
Enable TC -> Queue MAP on switch.
Definition saiswitch.h:1717
@ SAI_SWITCH_ATTR_QOS_TC_AND_COLOR_TO_DSCP_MAP
Enable TC + COLOR -> DSCP MAP.
Definition saiswitch.h:1745
@ SAI_SWITCH_ATTR_FAST_API_ENABLE
Enable SAI function call fast mode, which executes calls very quickly.
Definition saiswitch.h:1876
@ SAI_SWITCH_ATTR_ECMP_DEFAULT_SYMMETRIC_HASH
SAI ECMP default symmetric hash.
Definition saiswitch.h:1495
@ SAI_SWITCH_ATTR_FDB_TABLE_SIZE
The size of the FDB Table in bytes.
Definition saiswitch.h:682
@ SAI_SWITCH_ATTR_COUNTER_REFRESH_INTERVAL
Refresh interval.
Definition saiswitch.h:1634
@ SAI_SWITCH_ATTR_QOS_DEFAULT_TC
Default Traffic class value.
Definition saiswitch.h:1643
@ SAI_SWITCH_ATTR_QOS_DOT1P_TO_COLOR_MAP
Enable DOT1P -> COLOR MAP on switch.
Definition saiswitch.h:1673
@ SAI_SWITCH_ATTR_CUSTOM_RANGE_END
Definition saiswitch.h:3012
@ SAI_SWITCH_ATTR_IPSEC_OBJECT_ID
IPsec object for this switch.
Definition saiswitch.h:2750
@ SAI_SWITCH_ATTR_SUPPORTED_IPV6_BFD_SESSION_OFFLOAD_TYPE
List of BFD session offloads that are supported for IPv6.
Definition saiswitch.h:2089
@ SAI_SWITCH_ATTR_FIRMWARE_BROADCAST_STOP
End Broadcast.
Definition saiswitch.h:2360
@ SAI_SWITCH_ATTR_FIRMWARE_DOWNLOAD_BROADCAST
Enable/disable broadcast firmware download.
Definition saiswitch.h:2312
@ SAI_SWITCH_ATTR_CREDIT_WD_TIMER
Credit watchdog threshold timer in milliseconds Value must be within 10ms - 1000ms range Queue is set...
Definition saiswitch.h:2847
@ SAI_SWITCH_ATTR_AVAILABLE_IPV6_ROUTE_ENTRY
Available IPv6 routes.
Definition saiswitch.h:1094
@ SAI_SWITCH_ATTR_VXLAN_DEFAULT_ROUTER_MAC
Default VXLAN router MAC (inner destination MAC for VXLAN encapsulation)
Definition saiswitch.h:2125
@ SAI_SWITCH_ATTR_SWITCH_ID
Vendor specific switch ID. Identifies switch chip.
Definition saiswitch.h:2502
@ SAI_SWITCH_ATTR_ECN_ECT_THRESHOLD_ENABLE
Apply ECN thresholds for ECT traffic. Attribute controls whether ECT traffic needs to subjected to WR...
Definition saiswitch.h:2116
@ SAI_SWITCH_ATTR_NUMBER_OF_CPU_QUEUES
The number of CPU queues.
Definition saiswitch.h:764
@ SAI_SWITCH_ATTR_SRV6_MAX_SID_DEPTH
Max number of Segments supported in a single SRV6 SID List.
Definition saiswitch.h:1915
@ SAI_SWITCH_ATTR_LAG_DEFAULT_SYMMETRIC_HASH
SAI LAG default symmetric hash.
Definition saiswitch.h:1571
@ SAI_SWITCH_ATTR_PORT_LIST
Get the port list.
Definition saiswitch.h:648
@ SAI_SWITCH_ATTR_AVAILABLE_SYSTEM_VOQS
Available VOQ including unicast and multicast VOQ.
Definition saiswitch.h:3001
@ SAI_SWITCH_ATTR_QOS_MPLS_EXP_TO_COLOR_MAP
Enable EXP -> COLOR MAP on switch.
Definition saiswitch.h:2477
@ SAI_SWITCH_ATTR_IPSEC_SA_TAG_TPID
TPID in IPsec SA-Tag. This is used only between a Switch ASIC and IPsec-enabled PHY chips and not pac...
Definition saiswitch.h:2761
@ SAI_SWITCH_ATTR_NUMBER_OF_MULTICAST_QUEUES
The number of Multicast queues per port.
Definition saiswitch.h:748
@ SAI_SWITCH_ATTR_AVAILABLE_SNAPT_ENTRY
Available SNAPT entries.
Definition saiswitch.h:2628
@ SAI_SWITCH_ATTR_AVAILABLE_DOUBLE_NAT_ENTRY
Available Double NAT entries.
Definition saiswitch.h:1190
@ SAI_SWITCH_ATTR_TUNNEL_OBJECTS_LIST
Switch scoped Tunnel objects.
Definition saiswitch.h:2594
@ SAI_SWITCH_ATTR_IPSEC_SA_STATUS_CHANGE_NOTIFY
IPsec SA status change notification callback function.
Definition saiswitch.h:2776
@ SAI_SWITCH_ATTR_SYSTEM_PORT_LIST
Get the system port list.
Definition saiswitch.h:2538
@ SAI_SWITCH_ATTR_QOS_MPLS_EXP_TO_FORWARDING_CLASS_MAP
Enable EXP -> Forwarding Class MAP on switch.
Definition saiswitch.h:2739
@ SAI_SWITCH_ATTR_MAX_VIRTUAL_ROUTERS
Max number of virtual routers supported.
Definition saiswitch.h:674
@ SAI_SWITCH_ATTR_END
End of attributes.
Definition saiswitch.h:3006
@ SAI_SWITCH_ATTR_PFC_TC_DLR_INTERVAL
PFC Deadlock Recovery timer interval in milliseconds.
Definition saiswitch.h:1999
@ SAI_SWITCH_ATTR_TPID_OUTER_VLAN
TPID for Outer vlan id.
Definition saiswitch.h:2018
@ SAI_SWITCH_ATTR_ACL_ENTRY_MINIMUM_PRIORITY
Minimum priority for ACL entry.
Definition saiswitch.h:846
@ SAI_SWITCH_ATTR_BCAST_CPU_FLOOD_ENABLE
L2 broadcast flood control to CPU port.
Definition saiswitch.h:1384
@ SAI_SWITCH_ATTR_MAX_TEMP
The current value of the maximum temperature retrieved from the switch sensors.
Definition saiswitch.h:811
@ SAI_SWITCH_ATTR_ON_LINK_ROUTE_SUPPORTED
Local subnet routing supported.
Definition saiswitch.h:774
@ SAI_SWITCH_ATTR_PFC_TC_DLD_INTERVAL
PFC Deadlock Detection timer interval in milliseconds.
Definition saiswitch.h:1977
@ SAI_SWITCH_ATTR_MAX_ACL_RANGE_COUNT
Count of the total number of ranges supported by NPU.
Definition saiswitch.h:1350
@ SAI_SWITCH_ATTR_TAM_EVENT_NOTIFY
Event notification callback function passed to the adapter.
Definition saiswitch.h:2200
@ SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_ALGORITHM
SAI ECMP default hash algorithm.
Definition saiswitch.h:1460
@ SAI_SWITCH_ATTR_AVAILABLE_NEXT_HOP_GROUP_MEMBER_ENTRY
Available Next hop group member entries.
Definition saiswitch.h:1142
@ SAI_SWITCH_ATTR_OPER_STATUS
Operational state.
Definition saiswitch.h:782
@ SAI_SWITCH_ATTR_FIRMWARE_LOAD_METHOD
Firmware load method.
Definition saiswitch.h:2321
@ SAI_SWITCH_ATTR_PRE_SHUTDOWN
Instruct SAI to execute switch pre-shutdown.
Definition saiswitch.h:2230
@ SAI_SWITCH_ATTR_FDB_BROADCAST_MISS_PACKET_ACTION
Broadcast miss action.
Definition saiswitch.h:1442
@ SAI_SWITCH_ATTR_TYPE
Switch type NPU/PHY.
Definition saiswitch.h:2439
@ SAI_SWITCH_ATTR_NUMBER_OF_ECMP_GROUPS
ECMP number of group.
Definition saiswitch.h:732
@ SAI_SWITCH_ATTR_AVAILABLE_FDB_ENTRY
Available FDB entries.
Definition saiswitch.h:1150
@ SAI_SWITCH_ATTR_REG_FATAL_SWITCH_ASIC_SDK_HEALTH_CATEGORY
Registration for health fatal categories.
Definition saiswitch.h:2900
@ SAI_SWITCH_ATTR_FIRMWARE_STATUS
Firmware running status.
Definition saiswitch.h:2386
@ SAI_SWITCH_ATTR_MAX_TWAMP_SESSION
Max number of Two-Way Active Measurement Protocol session supports.
Definition saiswitch.h:2985
@ SAI_SWITCH_ATTR_SWITCH_STATE_CHANGE_NOTIFY
Operational status change notification callback function passed to the adapter.
Definition saiswitch.h:1817
@ SAI_SWITCH_ATTR_AVAILABLE_IP_NEXT_HOP_GROUP_MEMBER_ENTRY
Available IP Next hop group member entries.
Definition saiswitch.h:2993
@ SAI_SWITCH_ATTR_QOS_MAX_NUMBER_OF_SCHEDULER_GROUPS_PER_HIERARCHY_LEVEL
HQOS - Maximum number of scheduler groups supported on each Hierarchy level.
Definition saiswitch.h:1046
@ SAI_SWITCH_ATTR_MY_MAC_LIST
My MAC entries installed on the switch.
Definition saiswitch.h:2687
@ SAI_SWITCH_ATTR_SLAVE_MDIO_ADDR_LIST
Slave MDIO Address list.
Definition saiswitch.h:2662
@ SAI_SWITCH_ATTR_REGISTER_READ
Platform adaption device read callback function passed to the adapter. This is mandatory function for...
Definition saiswitch.h:2288
@ SAI_SWITCH_ATTR_DEFAULT_STP_INST_ID
Default SAI STP instance ID.
Definition saiswitch.h:946
@ SAI_SWITCH_ATTR_ROUTE_DST_USER_META_DATA_RANGE
Route DST Table user-based meta data range.
Definition saiswitch.h:886
@ SAI_SWITCH_ATTR_AVAILABLE_DNAPT_ENTRY
Available DNAPT entries.
Definition saiswitch.h:2636
@ SAI_SWITCH_ATTR_MACSEC_OBJECT_LIST
MACsec object list for this switch.
Definition saiswitch.h:2449
@ SAI_SWITCH_ATTR_QOS_DOT1P_TO_TC_MAP
Enable DOT1P -> TC MAP on switch.
Definition saiswitch.h:1658
@ SAI_SWITCH_ATTR_MIRROR_TC
Set TC of mirrored packets.
Definition saiswitch.h:1891
@ SAI_SWITCH_ATTR_ACL_TABLE_MAXIMUM_PRIORITY
Maximum priority for ACL table.
Definition saiswitch.h:838
@ SAI_SWITCH_ATTR_QOS_MAX_NUMBER_OF_SCHEDULER_GROUP_HIERARCHY_LEVELS
HQOS - Maximum Number of Hierarchy scheduler group levels(depth) supported.
Definition saiswitch.h:1037
@ SAI_SWITCH_ATTR_WARM_RECOVER
Warm boot recovery.
Definition saiswitch.h:1304
@ SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_OFFSET
SAI ECMP default hash offset.
Definition saiswitch.h:1481
@ SAI_SWITCH_ATTR_NAT_ENABLE
Enable NAT function.
Definition saiswitch.h:2253
@ SAI_SWITCH_ATTR_ARS_PROFILE
Adaptive routing and switching quality map.
Definition saiswitch.h:2815
@ SAI_SWITCH_ATTR_NUMBER_OF_LAGS
Number of LAGs that can be created.
Definition saiswitch.h:714
@ SAI_SWITCH_ATTR_AVAILABLE_SNAT_ENTRY
Available SNAT entries.
Definition saiswitch.h:1174
@ SAI_SWITCH_ATTR_QUEUE_PFC_DEADLOCK_NOTIFY
Set Switch PFC deadlock event notification callback function passed to the adapter.
Definition saiswitch.h:1942
@ SAI_SWITCH_ATTR_ECMP_HASH
The hash object for packets going through ECMP.
Definition saiswitch.h:1253
@ SAI_SWITCH_ATTR_HOSTIF_OPER_STATUS_UPDATE_MODE
Set hostif operational status update mode.
Definition saiswitch.h:2878
@ SAI_SWITCH_ATTR_MAX_BFD_SESSION
Max number of BFD session NPU supports.
Definition saiswitch.h:2073
@ SAI_SWITCH_ATTR_INSTALLED_MY_MAC_ENTRIES
Number of My MAC entries installed on the switch.
Definition saiswitch.h:2695
@ SAI_SWITCH_ATTR_MAX_SYSTEM_CORES
Maximum number of cores in the VOQ System (chassis)
Definition saiswitch.h:2511
@ SAI_SWITCH_ATTR_SUPPORTED_OBJECT_TYPE_LIST
List of supported object types.
Definition saiswitch.h:2211
@ SAI_SWITCH_ATTR_EGRESS_BUFFER_POOL_NUM
Switch number of egress buffer pool.
Definition saiswitch.h:1078
@ SAI_SWITCH_ATTR_NAT_EVENT_NOTIFY
NAT event notification callback function passed to the adapter.
Definition saiswitch.h:2787
@ SAI_SWITCH_ATTR_CPU_PORT
Get the CPU Port.
Definition saiswitch.h:666
@ SAI_SWITCH_ATTR_CREDIT_WD
Enable or disable credit watchdog.
Definition saiswitch.h:2835
@ SAI_SWITCH_ATTR_START
Start of attributes.
Definition saiswitch.h:619
@ SAI_SWITCH_ATTR_AVAILABLE_ACL_TABLE
Available ACL Tables.
Definition saiswitch.h:1198
@ SAI_SWITCH_ATTR_LAG_HASH_IPV6
The hash object for IPv6 packets going through LAG.
Definition saiswitch.h:1604
@ SAI_SWITCH_ATTR_BFD_SESSION_STATE_CHANGE_NOTIFY
Set Switch BFD session state change event notification callback function passed to the adapter.
Definition saiswitch.h:2057
@ SAI_SWITCH_ATTR_FDB_DST_USER_META_DATA_RANGE
FDB DST user-based meta data range.
Definition saiswitch.h:878
@ SAI_SWITCH_ATTR_FIRMWARE_MINOR_VERSION
Firmware minor version number.
Definition saiswitch.h:2402
@ SAI_SWITCH_ATTR_INGRESS_BUFFER_POOL_NUM
Switch number of ingress buffer pool.
Definition saiswitch.h:1070
@ SAI_SWITCH_ATTR_SWITCH_SHELL_ENABLE
Enable vendor specific switch shell.
Definition saiswitch.h:1754
@ SAI_SWITCH_ATTR_AVAILABLE_ACL_TABLE_GROUP
Available ACL Table groups.
Definition saiswitch.h:1206
@ SAI_SWITCH_ATTR_INGRESS_ACL
Switch/Global bind point for ingress ACL object.
Definition saiswitch.h:1004
@ SAI_SWITCH_ATTR_FDB_MULTICAST_MISS_PACKET_ACTION
Multicast miss action.
Definition saiswitch.h:1451
@ SAI_SWITCH_ATTR_ACL_TABLE_GROUP_MAXIMUM_PRIORITY
Maximum priority for ACL table group.
Definition saiswitch.h:870
@ SAI_SWITCH_ATTR_SUPPORTED_IPV4_BFD_SESSION_OFFLOAD_TYPE
List of BFD session offloads that are supported for IPv4.
Definition saiswitch.h:2081
@ SAI_SWITCH_ATTR_ACL_TABLE_GROUP_MINIMUM_PRIORITY
Minimum priority for ACL table group.
Definition saiswitch.h:862
@ SAI_SWITCH_ATTR_MIN_BFD_TX
Minimum Transmit interval NPU supports in microseconds.
Definition saiswitch.h:2105
@ SAI_SWITCH_ATTR_MY_MAC_TABLE_MINIMUM_PRIORITY
Minimum priority for My MAC.
Definition saiswitch.h:2670
@ SAI_SWITCH_ATTR_MY_MAC_TABLE_MAXIMUM_PRIORITY
Maximum priority for My MAC.
Definition saiswitch.h:2678
@ SAI_SWITCH_ATTR_DEFAULT_OVERRIDE_VIRTUAL_ROUTER_ID
Default SAI Override Virtual Router ID.
Definition saiswitch.h:978
@ SAI_SWITCH_ATTR_FDB_EVENT_NOTIFY
FDB event notification callback function passed to the adapter.
Definition saiswitch.h:1842
@ SAI_SWITCH_ATTR_MAX_STP_INSTANCE
Max number of STP instances that NPU supports.
Definition saiswitch.h:954
@ SAI_SWITCH_ATTR_HARDWARE_ACCESS_BUS
Switch hardware access bus MDIO/I2C/CPLD.
Definition saiswitch.h:2262
@ SAI_SWITCH_ATTR_NAT_ZONE_COUNTER_OBJECT_ID
NAT zone counter bind point.
Definition saiswitch.h:2244
@ SAI_SWITCH_ATTR_QOS_TC_AND_COLOR_TO_DOT1P_MAP
Enable TC + COLOR -> DOT1P MAP.
Definition saiswitch.h:1731
@ SAI_SWITCH_ATTR_PORT_NUMBER
Definition saiswitch.h:630
@ SAI_SWITCH_ATTR_LAG_HASH_IPV4_IN_IPV4
The hash object for IPv4 in IPv4 packets going through LAG.
Definition saiswitch.h:1593
@ SAI_SWITCH_ATTR_MAX_NUMBER_OF_SUPPORTED_PORTS
Maximum number of supported ports on the switch.
Definition saiswitch.h:638
@ SAI_SWITCH_ATTR_MIN_PLANNED_RESTART_INTERVAL
Minimum interval of time required by SAI for planned restart in milliseconds.
Definition saiswitch.h:1324
@ SAI_SWITCH_ATTR_MAX_NUMBER_OF_FORWARDING_CLASSES
Maximum forwarding classes limit.
Definition saiswitch.h:2711
@ SAI_SWITCH_ATTR_MAX_ECMP_MEMBER_COUNT
Number of ECMP members supported across the all nexthop groups by switch.
Definition saiswitch.h:2795
@ SAI_SWITCH_ATTR_QOS_MPLS_EXP_TO_TC_MAP
Enable EXP -> TC MAP on switch.
Definition saiswitch.h:2463
@ SAI_SWITCH_ATTR_NUMBER_OF_SYSTEM_PORTS
Number of system ports.
Definition saiswitch.h:2528
@ SAI_SWITCH_ATTR_ECMP_HASH_IPV4
The hash object for IPv4 packets going through ECMP.
Definition saiswitch.h:1506
@ SAI_SWITCH_ATTR_CRC_RECALCULATION_ENABLE
Perform CRC recalculation (overwriting CRC value on egress)
Definition saiswitch.h:2046
@ SAI_SWITCH_ATTR_ECMP_HASH_IPV4_IN_IPV4
The hash object for IPv4 in IPv4 packets going through ECMP.
Definition saiswitch.h:1517
@ SAI_SWITCH_ATTR_FAILOVER_CONFIG_MODE
Failover configuration modes.
Definition saiswitch.h:2576
@ SAI_SWITCH_ATTR_DEFAULT_1Q_BRIDGE_ID
Default .1Q Bridge ID.
Definition saiswitch.h:988
@ SAI_SWITCH_ATTR_FDB_AGING_TIME
Dynamic FDB entry aging time in seconds.
Definition saiswitch.h:1424
@ SAI_SWITCH_ATTR_LAG_HASH
The hash object for packets going through LAG.
Definition saiswitch.h:1272
@ SAI_SWITCH_ATTR_REG_WARNING_SWITCH_ASIC_SDK_HEALTH_CATEGORY
Registration for health warning categories.
Definition saiswitch.h:2911
@ SAI_SWITCH_ATTR_SHUTDOWN_REQUEST_NOTIFY
Definition saiswitch.h:1831
@ SAI_SWITCH_ATTR_VLAN_USER_META_DATA_RANGE
VLAN user-based meta data range.
Definition saiswitch.h:910
@ SAI_SWITCH_ATTR_ACL_USER_META_DATA_RANGE
ACL user-based ACL meta data range.
Definition saiswitch.h:918
@ SAI_SWITCH_ATTR_MAX_SAMPLED_MIRROR_SESSION
Max number of sampled mirror session NPU supports.
Definition saiswitch.h:2151
@ SAI_SWITCH_ATTR_AVAILABLE_IPV6_NEXTHOP_ENTRY
Available IPv6 Nexthop entries.
Definition saiswitch.h:1110
@ SAI_SWITCH_ATTR_ACL_TABLE_MINIMUM_PRIORITY
Minimum priority for ACL table.
Definition saiswitch.h:830
@ SAI_SWITCH_ATTR_SWITCH_ASIC_SDK_HEALTH_EVENT_NOTIFY
Health notification callback function passed to the adapter.
Definition saiswitch.h:2889
@ SAI_SWITCH_ATTR_ACL_STAGE_INGRESS
Ingress ACL stage.
Definition saiswitch.h:1899
@ SAI_SWITCH_ATTR_CRC_CHECK_ENABLE
Perform CRC check.
Definition saiswitch.h:2037
@ SAI_SWITCH_ATTR_ACL_CAPABILITY
ACL capabilities supported by the NPU.
Definition saiswitch.h:1358
@ SAI_SWITCH_ATTR_SWITCH_ISOLATE
Fabric chassis isolation setting.
Definition saiswitch.h:2866
@ SAI_SWITCH_ATTR_FABRIC_PORT_LIST
Get the fabric port list.
Definition saiswitch.h:2556
@ SAI_SWITCH_ATTR_AVAILABLE_DOUBLE_NAPT_ENTRY
Available Double NAPT entries.
Definition saiswitch.h:2644
@ SAI_SWITCH_ATTR_ACL_STAGE_EGRESS
Egress ACL stage.
Definition saiswitch.h:1907
@ SAI_SWITCH_ATTR_AVAILABLE_NEXT_HOP_GROUP_ENTRY
Available Next hop group entries.
Definition saiswitch.h:1134
@ SAI_SWITCH_ATTR_SRV6_TLV_TYPE
List of Type Length Value types supported for source.
Definition saiswitch.h:1923
@ SAI_SWITCH_ATTR_QOS_DSCP_TO_TC_MAP
Enable DSCP -> TC MAP on switch.
Definition saiswitch.h:1688
@ SAI_SWITCH_ATTR_FIRMWARE_PATH_NAME
Vendor specific path name of the firmware to load.
Definition saiswitch.h:1792
@ SAI_SWITCH_ATTR_AVAILABLE_MY_SID_ENTRY
Available My SID entries.
Definition saiswitch.h:1214
@ SAI_SWITCH_ATTR_NUMBER_OF_QUEUES
The total number of queues per port.
Definition saiswitch.h:756
@ SAI_SWITCH_ATTR_ECMP_HASH_IPV6
The hash object for IPv6 packets going through ECMP.
Definition saiswitch.h:1528
@ SAI_SWITCH_ATTR_L3_NEIGHBOR_TABLE_SIZE
The L3 Host Table size.
Definition saiswitch.h:690
@ SAI_SWITCH_ATTR_SUPPORTED_FAILOVER_MODE
Query for Failover mode support.
Definition saiswitch.h:2584
@ SAI_SWITCH_ATTR_NUMBER_OF_FABRIC_PORTS
Number of fabric ports on the switch.
Definition saiswitch.h:2546
@ SAI_SWITCH_ATTR_SWITCHING_MODE
Switching mode.
Definition saiswitch.h:1375
@ SAI_SWITCH_ATTR_PFC_TC_DLD_INTERVAL_RANGE
PFC Deadlock Detection timer interval range.
Definition saiswitch.h:1964
@ SAI_SWITCH_ATTR_FIRMWARE_MAJOR_VERSION
Firmware major version number.
Definition saiswitch.h:2394
@ SAI_SWITCH_ATTR_MAX_MIRROR_SESSION
Max number of mirror session NPU supports.
Definition saiswitch.h:2143
@ SAI_SWITCH_ATTR_INIT_SWITCH
Set to switch initialization or connect to NPU/SDK.
Definition saiswitch.h:1805
@ SAI_SWITCH_ATTR_REG_NOTICE_SWITCH_ASIC_SDK_HEALTH_CATEGORY
Registration for health notice categories.
Definition saiswitch.h:2922
@ SAI_SWITCH_ATTR_MAX_LEARNED_ADDRESSES
Maximum number of learned MAC addresses.
Definition saiswitch.h:1413
@ SAI_SWITCH_ATTR_FDB_UNICAST_MISS_PACKET_ACTION
Flood control for packets with unknown destination address.
Definition saiswitch.h:1433
@ SAI_SWITCH_ATTR_QOS_DSCP_TO_COLOR_MAP
Enable DSCP -> COLOR MAP on switch.
Definition saiswitch.h:1703
@ SAI_SWITCH_ATTR_LAG_DEFAULT_HASH_SEED
SAI LAG default hash seed.
Definition saiswitch.h:1546
@ SAI_SWITCH_ATTR_PORT_USER_META_DATA_RANGE
Port user-based meta data range.
Definition saiswitch.h:902
@ SAI_SWITCH_ATTR_LAG_MEMBERS
Number of ports that can be part of a LAG.
Definition saiswitch.h:706
@ SAI_SWITCH_ATTR_AVAILABLE_L2MC_ENTRY
Available L2MC entries.
Definition saiswitch.h:1158
@ SAI_SWITCH_ATTR_SRC_MAC_ADDRESS
Default switch MAC Address.
Definition saiswitch.h:1402
@ SAI_SWITCH_ATTR_AVAILABLE_IPV6_NEIGHBOR_ENTRY
Available IPv6 Neighbor entries.
Definition saiswitch.h:1126
@ SAI_SWITCH_ATTR_NEIGHBOR_DST_USER_META_DATA_RANGE
Neighbor DST Table user-based meta data range.
Definition saiswitch.h:894
@ SAI_SWITCH_ATTR_PRE_INGRESS_ACL
Switch/Global bind point for Pre-ingress ACL object.
Definition saiswitch.h:2620
@ SAI_SWITCH_ATTR_NUMBER_OF_BFD_SESSION
Number of BFD session in the NPU.
Definition saiswitch.h:2065
@ SAI_SWITCH_ATTR_NUMBER_OF_UNICAST_QUEUES
The number of Unicast queues per port.
Definition saiswitch.h:740
@ SAI_SWITCH_ATTR_TUNNEL_TERM_TABLE_ENTRY_MAXIMUM_PRIORITY
Maximum priority for Tunnel Term table.
Definition saiswitch.h:2958
@ SAI_SWITCH_ATTR_QOS_MAX_NUMBER_OF_CHILDS_PER_SCHEDULER_GROUP
HQOS - Maximum number of childs supported per scheduler group.
Definition saiswitch.h:1054
@ SAI_SWITCH_ATTR_NV_STORAGE_SIZE
Nonvolatile storage required by both SAI and NPU in KB.
Definition saiswitch.h:1334
@ SAI_SWITCH_ATTR_PACKET_EVENT_NOTIFY
Received packet event notification callback function passed to the adapter.
Definition saiswitch.h:1867
@ SAI_SWITCH_ATTR_PORT_HOST_TX_READY_NOTIFY
Port host tx ready notification callback function passed to the adapter.
Definition saiswitch.h:2942
@ SAI_SWITCH_ATTR_PFC_DLR_PACKET_ACTION
Control for buffered and incoming packets on queue undergoing PFC Deadlock Recovery.
Definition saiswitch.h:1956
@ SAI_SWITCH_ATTR_VXLAN_DEFAULT_PORT
Default VXLAN destination UDP port.
Definition saiswitch.h:2135
@ SAI_SWITCH_ATTR_QOS_TC_AND_COLOR_TO_MPLS_EXP_MAP
Enable TC + COLOR -> EXP MAP.
Definition saiswitch.h:2491
@ SAI_SWITCH_ATTR_ACL_ENTRY_MAXIMUM_PRIORITY
Maximum priority for ACL entry.
Definition saiswitch.h:854
@ SAI_SWITCH_ATTR_AVAILABLE_IPV4_NEXTHOP_ENTRY
Available IPv4 Nexthop entries.
Definition saiswitch.h:1102
@ SAI_SWITCH_ATTR_MAX_NUMBER_OF_TEMP_SENSORS
Maximum number of temperature sensors available.
Definition saiswitch.h:790
@ SAI_SWITCH_ATTR_DEFAULT_VIRTUAL_ROUTER_ID
Default SAI Virtual Router ID.
Definition saiswitch.h:966
@ SAI_SWITCH_ATTR_TAM_OBJECT_ID
TAM bind point.
Definition saiswitch.h:2188
@ SAI_SWITCH_ATTR_QOS_MAX_NUMBER_OF_TRAFFIC_CLASSES
Maximum traffic classes limit.
Definition saiswitch.h:1028
@ SAI_SWITCH_ATTR_ACL_USER_TRAP_ID_RANGE
ACL user-based trap id range.
Definition saiswitch.h:926
@ SAI_SWITCH_ATTR_DEFAULT_TRAP_GROUP
Default trap group.
Definition saiswitch.h:1234
@ SAI_SWITCH_ATTR_AVAILABLE_TWAMP_SESSION
Number of Two-Way Active Measurement Protocol session.
Definition saiswitch.h:2977
@ SAI_SWITCH_ATTR_PORT_CONNECTOR_LIST
Get the port connector list.
Definition saiswitch.h:2413
@ SAI_SWITCH_ATTR_TPID_INNER_VLAN
TPID for Inner vlan id.
Definition saiswitch.h:2028
@ SAI_SWITCH_ATTR_TEMP_LIST
List of temperature readings from all sensors.
Definition saiswitch.h:800
@ SAI_SWITCH_ATTR_QOS_NUM_LOSSLESS_QUEUES
The number of lossless queues per port supported by the switch.
Definition saiswitch.h:1931
@ SAI_SWITCH_ATTR_ACL_CHAIN_LIST
ACL chain capabilities supported by the NPU.
Definition saiswitch.h:2930
@ SAI_SWITCH_ATTR_MAX_ACL_ACTION_COUNT
Count of the total number of actions supported by NPU.
Definition saiswitch.h:1342
@ SAI_SWITCH_ATTR_EGRESS_ACL
Switch/Global bind point for egress ACL object.
Definition saiswitch.h:1020
@ SAI_SWITCH_ATTR_ECMP_MEMBERS
ECMP number of members per group.
Definition saiswitch.h:724
@ SAI_SWITCH_ATTR_FIRMWARE_LOAD_TYPE
Firmware load type auto/force/skip.
Definition saiswitch.h:2333
@ SAI_SWITCH_ATTR_MCAST_CPU_FLOOD_ENABLE
L2 multicast flood control to CPU port.
Definition saiswitch.h:1393
@ SAI_SWITCH_ATTR_ECMP_MEMBER_COUNT
Number of ECMP Members configured. SAI_SWITCH_ATTR_ECMP_MEMBER_COUNT takes precedence over SAI_KEY_NU...
Definition saiswitch.h:2804
@ SAI_SWITCH_ATTR_SWITCH_HARDWARE_INFO
Device Information for switch initialization.
Definition saiswitch.h:1783
@ SAI_SWITCH_ATTR_RESTART_WARM
Set Type of reboot WARM/COLD.
Definition saiswitch.h:1289
@ SAI_SWITCH_ATTR_FIRMWARE_VERIFY_AND_INIT_SWITCH
Firmware status verify and complete initialize device.
Definition saiswitch.h:2373
@ SAI_SWITCH_ATTR_SYSTEM_PORT_CONFIG_LIST
System port configuration list.
Definition saiswitch.h:2520
@ SAI_SWITCH_ATTR_SWITCH_PROFILE_ID
Handle for switch profile id.
Definition saiswitch.h:1766
@ SAI_SWITCH_ATTR_AVAILABLE_DNAT_ENTRY
Available DNAT entries.
Definition saiswitch.h:1182
@ SAI_SWITCH_ATTR_NUMBER_OF_ACTIVE_PORTS
Number of active(created) ports on the switch.
Definition saiswitch.h:627
@ SAI_SWITCH_ATTR_TUNNEL_TERM_TABLE_ENTRY_MINIMUM_PRIORITY
Minimum priority for Tunnel Term table.
Definition saiswitch.h:2950
@ SAI_SWITCH_ATTR_SUPPORTED_PROTECTED_OBJECT_TYPE
Get the list of supported protected object types. See comment for SAI_NEXT_HOP_GROUP_MEMBER_ATTR_MONI...
Definition saiswitch.h:2008
@ SAI_SWITCH_ATTR_SUPPORTED_EXTENDED_STATS_MODE
Get the list of supported get statistics extended modes Empty list should be returned if get statisti...
Definition saiswitch.h:2160
@ SAI_SWITCH_ATTR_PORT_STATE_CHANGE_NOTIFY
Port state change notification callback function passed to the adapter.
Definition saiswitch.h:1856
@ SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL
Uninitialize data plane upon removal of switch object.
Definition saiswitch.h:2175
@ SAI_SWITCH_ATTR_SWITCH_SHUTDOWN_REQUEST_NOTIFY
Shutdown notification callback function passed to the adapter.
Definition saiswitch.h:1828
@ SAI_SWITCH_ATTR_AVAILABLE_MY_MAC_ENTRIES
Number of available My MAC entries.
Definition saiswitch.h:2703
@ SAI_SWITCH_ATTR_PORT_MAX_MTU
Get the Max MTU in bytes, supported by the switch.
Definition saiswitch.h:656
@ SAI_SWITCH_ATTR_MIN_BFD_RX
Minimum Receive interval NPU supports in microseconds.
Definition saiswitch.h:2097
@ SAI_SWITCH_ATTR_REGISTER_WRITE
Platform adaption device write callback function passed to the adapter. This is mandatory function fo...
Definition saiswitch.h:2300
@ SAI_SWITCH_ATTR_TWAMP_SESSION_EVENT_NOTIFY
TWAMP session event notification callback function passed to the adapter.
Definition saiswitch.h:2969
@ SAI_SWITCH_ATTR_FIRMWARE_DOWNLOAD_EXECUTE
Execute Firmware download.
Definition saiswitch.h:2347
@ SAI_SWITCH_ATTR_QOS_DSCP_TO_FORWARDING_CLASS_MAP
Enable DSCP -> Forwarding Class MAP on switch.
Definition saiswitch.h:2725
@ SAI_SWITCH_ATTR_AVAILABLE_IPV4_NEIGHBOR_ENTRY
Available IPv4 Neighbor entries.
Definition saiswitch.h:1118
@ SAI_SWITCH_ATTR_LAG_DEFAULT_HASH_OFFSET
SAI LAG default hash offset.
Definition saiswitch.h:1558
@ SAI_SWITCH_ATTR_PACKET_DMA_MEMORY_POOL_SIZE
The size of the packet DMA pool memory in bytes This can be used in conjunction with sai_allocate_hos...
Definition saiswitch.h:2567
@ SAI_SWITCH_ATTR_RESTART_TYPE
Type of restart supported.
Definition saiswitch.h:1312
@ SAI_SWITCH_ATTR_DEFAULT_VLAN_ID
Default SAI VLAN ID.
Definition saiswitch.h:936
@ SAI_SWITCH_ATTR_MCAST_SNOOPING_CAPABILITY
Multicast snooping capability supported by the NPU.
Definition saiswitch.h:1366
@ SAI_SWITCH_ATTR_LAG_HASH_IPV4
The hash object for IPv4 packets going through LAG.
Definition saiswitch.h:1582
@ SAI_SWITCH_ATTR_AVAILABLE_IPMC_ENTRY
Available IPMC entries.
Definition saiswitch.h:1166
@ SAI_SWITCH_ATTR_L3_ROUTE_TABLE_SIZE
The L3 Route Table size.
Definition saiswitch.h:698
@ SAI_SWITCH_ATTR_TOTAL_BUFFER_SIZE
Switch total buffer size in KB.
Definition saiswitch.h:1062
@ SAI_SWITCH_ATTR_PFC_TC_DLR_INTERVAL_RANGE
PFC Deadlock Recovery timer interval range.
Definition saiswitch.h:1985
@ SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_SEED
SAI ECMP default hash seed.
Definition saiswitch.h:1469
@ SAI_SWITCH_ATTR_CUSTOM_RANGE_START
Definition saiswitch.h:3009
@ SAI_SWITCH_ATTR_AVAILABLE_IPV4_ROUTE_ENTRY
Available IPv4 routes.
Definition saiswitch.h:1086
@ SAI_SWITCH_ATTR_AVERAGE_TEMP
The average of temperature readings over all sensors in the switch.
Definition saiswitch.h:822
@ SAI_SWITCH_ATTR_PACKET_AVAILABLE_DMA_MEMORY_POOL_SIZE
The size of the available packet DMA pool memory in bytes This can be used in conjunction with total ...
Definition saiswitch.h:2604
@ SAI_SWITCH_ATTR_PROPOGATE_PORT_STATE_FROM_LINE_TO_SYSTEM_PORT_SUPPORT
Propagate line side port state to system side port.
Definition saiswitch.h:2430
@ SAI_SWITCH_SWITCHING_MODE_STORE_AND_FORWARD
Definition saiswitch.h:180
@ SAI_SWITCH_SWITCHING_MODE_CUT_THROUGH
Definition saiswitch.h:177
@ SAI_PACKET_VLAN_SINGLE_OUTER_TAG
Single Outer Tag.
Definition saiswitch.h:159
@ SAI_PACKET_VLAN_DOUBLE_TAG
Double Tag.
Definition saiswitch.h:167
@ SAI_PACKET_VLAN_UNTAG
Untagged.
Definition saiswitch.h:151
@ SAI_HASH_ALGORITHM_CRC_32LO
Definition saiswitch.h:200
@ SAI_HASH_ALGORITHM_CRC_XOR
Definition saiswitch.h:209
@ SAI_HASH_ALGORITHM_CRC_32HI
Definition saiswitch.h:203
@ SAI_HASH_ALGORITHM_XOR
Definition saiswitch.h:194
@ SAI_HASH_ALGORITHM_CRC
Definition saiswitch.h:191
@ SAI_HASH_ALGORITHM_RANDOM
Definition saiswitch.h:197
@ SAI_HASH_ALGORITHM_CRC_CCITT
Definition saiswitch.h:206
@ SAI_SWITCH_TYPE_NPU
Definition saiswitch.h:302
@ SAI_SWITCH_TYPE_FABRIC
Definition saiswitch.h:311
@ SAI_SWITCH_TYPE_PHY
Definition saiswitch.h:305
@ SAI_SWITCH_TYPE_VOQ
Definition saiswitch.h:308
@ SAI_PACKET_ACTION_DONOTDROP
Definition saiswitch.h:137
@ SAI_PACKET_ACTION_TRANSIT
Definition saiswitch.h:134
@ SAI_PACKET_ACTION_DROP
Definition saiswitch.h:86
@ SAI_PACKET_ACTION_TRAP
Packet action trap.
Definition saiswitch.h:118
@ SAI_PACKET_ACTION_LOG
Packet action log.
Definition saiswitch.h:128
@ SAI_PACKET_ACTION_COPY
Packet action copy.
Definition saiswitch.h:104
@ SAI_PACKET_ACTION_FORWARD
Definition saiswitch.h:89
@ SAI_PACKET_ACTION_COPY_CANCEL
Definition saiswitch.h:107
@ SAI_PACKET_ACTION_DENY
Definition saiswitch.h:131
@ SAI_SWITCH_RESTART_TYPE_NONE
Definition saiswitch.h:219
@ SAI_SWITCH_RESTART_TYPE_PLANNED
Definition saiswitch.h:222
@ SAI_SWITCH_RESTART_TYPE_ANY
Definition saiswitch.h:225
enum _sai_stats_mode_t sai_stats_mode_t
SAI statistics modes.
This module defines SAI portable types.
Switch method table retrieved with sai_api_query()
Definition saiswitch.h:3597