25#if !defined (__SAIEXPERIMENTALBMTOR_H_)
26#define __SAIEXPERIMENTALBMTOR_H_
41 SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_ACTION_SET_METADATA,
43 SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_ACTION_NOACTION,
52 SAI_TABLE_BITMAP_ROUTER_ENTRY_ACTION_TO_NEXTHOP,
54 SAI_TABLE_BITMAP_ROUTER_ENTRY_ACTION_TO_LOCAL,
56 SAI_TABLE_BITMAP_ROUTER_ENTRY_ACTION_TO_CPU,
58 SAI_TABLE_BITMAP_ROUTER_ENTRY_ACTION_DROP,
60 SAI_TABLE_BITMAP_ROUTER_ENTRY_ACTION_NOACTION,
69 SAI_TABLE_META_TUNNEL_ENTRY_ACTION_TUNNEL_ENCAP,
71 SAI_TABLE_META_TUNNEL_ENTRY_ACTION_NOACTION,
309 SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_STAT_HIT_PACKETS,
310 SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_STAT_HIT_OCTETS,
318 SAI_TABLE_BITMAP_ROUTER_ENTRY_STAT_HIT_PACKETS,
319 SAI_TABLE_BITMAP_ROUTER_ENTRY_STAT_HIT_OCTETS,
327 SAI_TABLE_META_TUNNEL_ENTRY_STAT_HIT_PACKETS,
328 SAI_TABLE_META_TUNNEL_ENTRY_STAT_HIT_OCTETS,
342 _Out_ sai_object_id_t *table_bitmap_classification_entry_id,
343 _In_ sai_object_id_t switch_id,
344 _In_ uint32_t attr_count,
355 _In_ sai_object_id_t table_bitmap_classification_entry_id);
366 _In_ sai_object_id_t table_bitmap_classification_entry_id,
379 _In_ sai_object_id_t table_bitmap_classification_entry_id,
380 _In_ uint32_t attr_count,
394 _In_ sai_object_id_t table_bitmap_classification_entry_id,
395 _In_ uint32_t number_of_counters,
396 _In_
const sai_stat_id_t *counter_ids,
397 _Out_ uint64_t *counters);
411 _In_ sai_object_id_t table_bitmap_classification_entry_id,
412 _In_ uint32_t number_of_counters,
413 _In_
const sai_stat_id_t *counter_ids,
415 _Out_ uint64_t *counters);
427 _In_ sai_object_id_t table_bitmap_classification_entry_id,
428 _In_ uint32_t number_of_counters,
429 _In_
const sai_stat_id_t *counter_ids);
442 _Out_ sai_object_id_t *table_bitmap_router_entry_id,
443 _In_ sai_object_id_t switch_id,
444 _In_ uint32_t attr_count,
455 _In_ sai_object_id_t table_bitmap_router_entry_id);
466 _In_ sai_object_id_t table_bitmap_router_entry_id,
479 _In_ sai_object_id_t table_bitmap_router_entry_id,
480 _In_ uint32_t attr_count,
494 _In_ sai_object_id_t table_bitmap_router_entry_id,
495 _In_ uint32_t number_of_counters,
496 _In_
const sai_stat_id_t *counter_ids,
497 _Out_ uint64_t *counters);
511 _In_ sai_object_id_t table_bitmap_router_entry_id,
512 _In_ uint32_t number_of_counters,
513 _In_
const sai_stat_id_t *counter_ids,
515 _Out_ uint64_t *counters);
527 _In_ sai_object_id_t table_bitmap_router_entry_id,
528 _In_ uint32_t number_of_counters,
529 _In_
const sai_stat_id_t *counter_ids);
542 _Out_ sai_object_id_t *table_meta_tunnel_entry_id,
543 _In_ sai_object_id_t switch_id,
544 _In_ uint32_t attr_count,
555 _In_ sai_object_id_t table_meta_tunnel_entry_id);
566 _In_ sai_object_id_t table_meta_tunnel_entry_id,
579 _In_ sai_object_id_t table_meta_tunnel_entry_id,
580 _In_ uint32_t attr_count,
594 _In_ sai_object_id_t table_meta_tunnel_entry_id,
595 _In_ uint32_t number_of_counters,
596 _In_
const sai_stat_id_t *counter_ids,
597 _Out_ uint64_t *counters);
611 _In_ sai_object_id_t table_meta_tunnel_entry_id,
612 _In_ uint32_t number_of_counters,
613 _In_
const sai_stat_id_t *counter_ids,
615 _Out_ uint64_t *counters);
627 _In_ sai_object_id_t table_meta_tunnel_entry_id,
628 _In_ uint32_t number_of_counters,
629 _In_
const sai_stat_id_t *counter_ids);
sai_status_t(* sai_create_table_meta_tunnel_entry_fn)(_Out_ sai_object_id_t *table_meta_tunnel_entry_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create table_meta_tunnel_entry.
sai_status_t(* sai_get_table_meta_tunnel_entry_attribute_fn)(_In_ sai_object_id_t table_meta_tunnel_entry_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get attribute for table_meta_tunnel_entry.
_sai_table_bitmap_router_entry_stat_t
Counter IDs in sai_get_table_bitmap_router_entry_stats() call.
sai_status_t(* sai_create_table_bitmap_router_entry_fn)(_Out_ sai_object_id_t *table_bitmap_router_entry_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create table_bitmap_router_entry.
sai_status_t(* sai_clear_table_bitmap_classification_entry_stats_fn)(_In_ sai_object_id_t table_bitmap_classification_entry_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids)
Clear statistics counters.
sai_status_t(* sai_get_table_bitmap_router_entry_attribute_fn)(_In_ sai_object_id_t table_bitmap_router_entry_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get attribute for table_bitmap_router_entry.
enum _sai_table_bitmap_router_entry_action_t sai_table_bitmap_router_entry_action_t
Attribute data for SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_ACTION.
sai_status_t(* sai_set_table_bitmap_classification_entry_attribute_fn)(_In_ sai_object_id_t table_bitmap_classification_entry_id, _In_ const sai_attribute_t *attr)
Set attribute for table_bitmap_classification_entry.
_sai_table_bitmap_router_entry_action_t
Attribute data for SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_ACTION.
sai_status_t(* sai_remove_table_bitmap_router_entry_fn)(_In_ sai_object_id_t table_bitmap_router_entry_id)
Remove table_bitmap_router_entry.
sai_status_t(* sai_get_table_bitmap_classification_entry_stats_ext_fn)(_In_ sai_object_id_t table_bitmap_classification_entry_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 table_bitmap_classification statistics counters extended.
sai_status_t(* sai_set_table_meta_tunnel_entry_attribute_fn)(_In_ sai_object_id_t table_meta_tunnel_entry_id, _In_ const sai_attribute_t *attr)
Set attribute for table_meta_tunnel_entry.
enum _sai_table_meta_tunnel_entry_attr_t sai_table_meta_tunnel_entry_attr_t
Attribute ID for table_meta_tunnel.
enum _sai_table_meta_tunnel_entry_action_t sai_table_meta_tunnel_entry_action_t
Attribute data for SAI_TABLE_META_TUNNEL_ENTRY_ATTR_ACTION.
enum _sai_table_bitmap_classification_entry_action_t sai_table_bitmap_classification_entry_action_t
Attribute data for SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_ACTION.
sai_status_t(* sai_get_table_bitmap_router_entry_stats_ext_fn)(_In_ sai_object_id_t table_bitmap_router_entry_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 table_bitmap_router statistics counters extended.
sai_status_t(* sai_get_table_bitmap_classification_entry_attribute_fn)(_In_ sai_object_id_t table_bitmap_classification_entry_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get attribute for table_bitmap_classification_entry.
sai_status_t(* sai_get_table_meta_tunnel_entry_stats_ext_fn)(_In_ sai_object_id_t table_meta_tunnel_entry_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 table_meta_tunnel statistics counters extended.
sai_status_t(* sai_clear_table_meta_tunnel_entry_stats_fn)(_In_ sai_object_id_t table_meta_tunnel_entry_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids)
Clear statistics counters.
sai_status_t(* sai_set_table_bitmap_router_entry_attribute_fn)(_In_ sai_object_id_t table_bitmap_router_entry_id, _In_ const sai_attribute_t *attr)
Set attribute for table_bitmap_router_entry.
enum _sai_table_bitmap_classification_entry_attr_t sai_table_bitmap_classification_entry_attr_t
Attribute ID for table_bitmap_classification.
_sai_table_bitmap_classification_entry_attr_t
Attribute ID for table_bitmap_classification.
sai_status_t(* sai_remove_table_meta_tunnel_entry_fn)(_In_ sai_object_id_t table_meta_tunnel_entry_id)
Remove table_meta_tunnel_entry.
enum _sai_table_bitmap_router_entry_attr_t sai_table_bitmap_router_entry_attr_t
Attribute ID for table_bitmap_router.
sai_status_t(* sai_remove_table_bitmap_classification_entry_fn)(_In_ sai_object_id_t table_bitmap_classification_entry_id)
Remove table_bitmap_classification_entry.
sai_status_t(* sai_clear_table_bitmap_router_entry_stats_fn)(_In_ sai_object_id_t table_bitmap_router_entry_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids)
Clear statistics counters.
_sai_table_meta_tunnel_entry_stat_t
Counter IDs in sai_get_table_meta_tunnel_entry_stats() call.
sai_status_t(* sai_get_table_bitmap_router_entry_stats_fn)(_In_ sai_object_id_t table_bitmap_router_entry_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters)
Get table_bitmap_router statistics counters. Deprecated for backward compatibility.
enum _sai_table_bitmap_classification_entry_stat_t sai_table_bitmap_classification_entry_stat_t
Counter IDs in sai_get_table_bitmap_classification_entry_stats() call.
sai_status_t(* sai_get_table_bitmap_classification_entry_stats_fn)(_In_ sai_object_id_t table_bitmap_classification_entry_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters)
Get table_bitmap_classification statistics counters. Deprecated for backward compatibility.
_sai_table_meta_tunnel_entry_attr_t
Attribute ID for table_meta_tunnel.
_sai_table_bitmap_classification_entry_stat_t
Counter IDs in sai_get_table_bitmap_classification_entry_stats() call.
_sai_table_bitmap_router_entry_attr_t
Attribute ID for table_bitmap_router.
_sai_table_meta_tunnel_entry_action_t
Attribute data for SAI_TABLE_META_TUNNEL_ENTRY_ATTR_ACTION.
_sai_table_bitmap_classification_entry_action_t
Attribute data for SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_ACTION.
enum _sai_table_meta_tunnel_entry_stat_t sai_table_meta_tunnel_entry_stat_t
Counter IDs in sai_get_table_meta_tunnel_entry_stats() call.
sai_status_t(* sai_create_table_bitmap_classification_entry_fn)(_Out_ sai_object_id_t *table_bitmap_classification_entry_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create table_bitmap_classification_entry.
enum _sai_table_bitmap_router_entry_stat_t sai_table_bitmap_router_entry_stat_t
Counter IDs in sai_get_table_bitmap_router_entry_stats() call.
sai_status_t(* sai_get_table_meta_tunnel_entry_stats_fn)(_In_ sai_object_id_t table_meta_tunnel_entry_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters)
Get table_meta_tunnel statistics counters. Deprecated for backward compatibility.
@ SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_IN_RIF_METADATA
Action set_metadata parameter in_rif_metadata.
@ SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_ROUTER_INTERFACE_KEY
Exact Matched key router_interface.
@ SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_START
Start of attributes.
@ SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_ACTION
Action.
@ SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_IS_DEFAULT
Is default entry.
@ SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_CUSTOM_RANGE_END
@ SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_END
End of attributes.
@ SAI_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_CUSTOM_RANGE_START
@ SAI_TABLE_META_TUNNEL_ENTRY_ATTR_START
Start of attributes.
@ SAI_TABLE_META_TUNNEL_ENTRY_ATTR_CUSTOM_RANGE_END
@ SAI_TABLE_META_TUNNEL_ENTRY_ATTR_ACTION
Action.
@ SAI_TABLE_META_TUNNEL_ENTRY_ATTR_TUNNEL_ID
Action tunnel_encap parameter tunnel_id.
@ SAI_TABLE_META_TUNNEL_ENTRY_ATTR_METADATA_KEY
Exact Matched key metadata.
@ SAI_TABLE_META_TUNNEL_ENTRY_ATTR_IS_DEFAULT
Is default entry.
@ SAI_TABLE_META_TUNNEL_ENTRY_ATTR_UNDERLAY_DIP
Action tunnel_encap parameter underlay_dip.
@ SAI_TABLE_META_TUNNEL_ENTRY_ATTR_END
End of attributes.
@ SAI_TABLE_META_TUNNEL_ENTRY_ATTR_CUSTOM_RANGE_START
@ SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_END
End of attributes.
@ SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_PRIORITY
Rule priority in table.
@ SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_TRAP_ID
Action to_cpu parameter trap_id.
@ SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_CUSTOM_RANGE_END
@ SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_IN_RIF_METADATA_MASK
Ternary Matched mask in_rif_metadata (mask)
@ SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_DST_IP_KEY
LPM Matched key dst_ip.
@ SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_CUSTOM_RANGE_START
@ SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_ROUTER_INTERFACE
Action to_local parameter router_interface.
@ SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_START
Start of attributes.
@ SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_IN_RIF_METADATA_KEY
Ternary Matched key in_rif_metadata (key)
@ SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_ACTION
Action.
@ SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_TUNNEL_INDEX
Action to_nexthop parameter tunnel_index.
@ SAI_TABLE_BITMAP_ROUTER_ENTRY_ATTR_NEXT_HOP
Action to_nexthop parameter next_hop.
enum _sai_stats_mode_t sai_stats_mode_t
SAI statistics modes.
This module defines SAI portable types.