25#if !defined (__SAILAG_H_)
230 _Out_ sai_object_id_t *lag_id,
231 _In_ sai_object_id_t switch_id,
232 _In_ uint32_t attr_count,
243 _In_ sai_object_id_t lag_id);
254 _In_ sai_object_id_t lag_id,
267 _In_ sai_object_id_t lag_id,
268 _In_ uint32_t attr_count,
341 _Out_ sai_object_id_t *lag_member_id,
342 _In_ sai_object_id_t switch_id,
343 _In_ uint32_t attr_count,
354 _In_ sai_object_id_t lag_member_id);
365 _In_ sai_object_id_t lag_member_id,
378 _In_ sai_object_id_t lag_member_id,
379 _In_ uint32_t attr_count,
sai_status_t(* sai_remove_lag_member_fn)(_In_ sai_object_id_t lag_member_id)
Remove LAG Member.
_sai_lag_member_attr_t
List of LAG member attributes.
sai_status_t(* sai_set_lag_attribute_fn)(_In_ sai_object_id_t lag_id, _In_ const sai_attribute_t *attr)
Set LAG Attribute.
struct _sai_lag_api_t sai_lag_api_t
LAG methods table retrieved with sai_api_query()
sai_status_t(* sai_remove_lag_fn)(_In_ sai_object_id_t lag_id)
Remove LAG.
enum _sai_lag_attr_t sai_lag_attr_t
LAG attribute: List of attributes for LAG object.
sai_status_t(* sai_get_lag_attribute_fn)(_In_ sai_object_id_t lag_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get LAG Attribute.
sai_status_t(* sai_create_lag_fn)(_Out_ sai_object_id_t *lag_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create LAG.
sai_status_t(* sai_create_lag_member_fn)(_Out_ sai_object_id_t *lag_member_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create LAG Member.
_sai_lag_attr_t
LAG attribute: List of attributes for LAG object.
sai_status_t(* sai_get_lag_member_attribute_fn)(_In_ sai_object_id_t lag_member_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get LAG Member Attribute.
enum _sai_lag_member_attr_t sai_lag_member_attr_t
List of LAG member attributes.
sai_status_t(* sai_set_lag_member_attribute_fn)(_In_ sai_object_id_t lag_member_id, _In_ const sai_attribute_t *attr)
Set LAG Member Attribute.
@ SAI_LAG_MEMBER_ATTR_PORT_ID
Logical port ID.
@ SAI_LAG_MEMBER_ATTR_EGRESS_DISABLE
Disable traffic distribution to this port as part of LAG.
@ SAI_LAG_MEMBER_ATTR_END
End of attributes.
@ SAI_LAG_MEMBER_ATTR_INGRESS_DISABLE
Disable traffic collection from this port as part of LAG.
@ SAI_LAG_MEMBER_ATTR_START
Start of attributes.
@ SAI_LAG_MEMBER_ATTR_CUSTOM_RANGE_END
@ SAI_LAG_MEMBER_ATTR_LAG_ID
LAG ID.
@ SAI_LAG_MEMBER_ATTR_CUSTOM_RANGE_START
@ SAI_LAG_ATTR_CUSTOM_RANGE_START
@ SAI_LAG_ATTR_CUSTOM_RANGE_END
@ SAI_LAG_ATTR_DEFAULT_VLAN_PRIORITY
Default VLAN Priority.
@ SAI_LAG_ATTR_ARS_OBJECT_ID
Adaptive routing and switching object for this group.
@ SAI_LAG_ATTR_INGRESS_ACL
LAG bind point for ingress ACL object.
@ SAI_LAG_ATTR_SYSTEM_PORT_AGGREGATE_ID
LAG system port ID.
@ SAI_LAG_ATTR_PORT_LIST
SAI port list.
@ SAI_LAG_ATTR_START
Start of attributes.
@ SAI_LAG_ATTR_END
End of attributes.
@ SAI_LAG_ATTR_PORT_VLAN_ID
Port VLAN ID.
@ SAI_LAG_ATTR_ARS_PORT_REASSIGNMENTS
Number of ARS port reassignments done.
@ SAI_LAG_ATTR_DROP_UNTAGGED
Dropping of untagged frames on ingress.
@ SAI_LAG_ATTR_EGRESS_ACL
LAG bind point for egress ACL object.
@ SAI_LAG_ATTR_ARS_PACKET_DROPS
Number of packets dropped by ARS mechanism.
@ SAI_LAG_ATTR_LABEL
Label attribute used to unique identify empty LAG.
@ SAI_LAG_ATTR_DROP_TAGGED
Dropping of tagged frames on ingress.
sai_status_t(* sai_bulk_object_create_fn)(_In_ sai_object_id_t switch_id, _In_ uint32_t object_count, _In_ const uint32_t *attr_count, _In_ const sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_object_id_t *object_id, _Out_ sai_status_t *object_statuses)
Bulk objects creation.
sai_status_t(* sai_bulk_object_remove_fn)(_In_ uint32_t object_count, _In_ const sai_object_id_t *object_id, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk objects removal.
This module defines SAI portable types.
LAG methods table retrieved with sai_api_query()