SAI Metadata
Loading...
Searching...
No Matches
saiarsprofile.h File Reference

This module defines SAI QOS Maps interface. More...

#include <saitypes.h>

Go to the source code of this file.

Classes

struct  _sai_ars_profile_api_t
 ARS Profile methods table retrieved with sai_api_query() More...
 

Typedefs

typedef enum _sai_ars_profile_algo_t sai_ars_profile_algo_t
 Adaptive Routing and Switching quality measure algorithm.
 
typedef enum _sai_ars_profile_attr_t sai_ars_profile_attr_t
 Enum defining attributes for ARS profile.
 
typedef sai_status_t(* sai_create_ars_profile_fn) (_Out_ sai_object_id_t *ars_profile_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
 Create ARS Profile.
 
typedef sai_status_t(* sai_remove_ars_profile_fn) (_In_ sai_object_id_t ars_profile_id)
 Remove ARS Profile.
 
typedef sai_status_t(* sai_set_ars_profile_attribute_fn) (_In_ sai_object_id_t ars_profile_id, _In_ const sai_attribute_t *attr)
 Set attributes for ARS profile.
 
typedef sai_status_t(* sai_get_ars_profile_attribute_fn) (_In_ sai_object_id_t ars_profile_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
 Get attributes of ARS profile.
 
typedef struct _sai_ars_profile_api_t sai_ars_profile_api_t
 ARS Profile methods table retrieved with sai_api_query()
 

Enumerations

enum  _sai_ars_profile_algo_t { SAI_ARS_PROFILE_ALGO_EWMA }
 Adaptive Routing and Switching quality measure algorithm. More...
 
enum  _sai_ars_profile_attr_t {
  SAI_ARS_PROFILE_ATTR_START , SAI_ARS_PROFILE_ATTR_ALGO = SAI_ARS_PROFILE_ATTR_START , SAI_ARS_PROFILE_ATTR_SAMPLING_INTERVAL , SAI_ARS_PROFILE_ATTR_ARS_RANDOM_SEED ,
  SAI_ARS_PROFILE_ATTR_ECMP_ARS_MAX_GROUPS , SAI_ARS_PROFILE_ATTR_ECMP_ARS_MAX_MEMBERS_PER_GROUP , SAI_ARS_PROFILE_ATTR_LAG_ARS_MAX_GROUPS , SAI_ARS_PROFILE_ATTR_LAG_ARS_MAX_MEMBERS_PER_GROUP ,
  SAI_ARS_PROFILE_ATTR_PORT_LOAD_PAST , SAI_ARS_PROFILE_ATTR_PORT_LOAD_PAST_WEIGHT , SAI_ARS_PROFILE_ATTR_PORT_LOAD_FUTURE , SAI_ARS_PROFILE_ATTR_PORT_LOAD_FUTURE_WEIGHT ,
  SAI_ARS_PROFILE_ATTR_PORT_LOAD_CURRENT , SAI_ARS_PROFILE_ATTR_PORT_LOAD_EXPONENT , SAI_ARS_PROFILE_ATTR_QUANT_BANDS , SAI_ARS_PROFILE_ATTR_QUANT_BAND_0_MIN_THRESHOLD ,
  SAI_ARS_PROFILE_ATTR_QUANT_BAND_0_MAX_THRESHOLD , SAI_ARS_PROFILE_ATTR_QUANT_BAND_1_MIN_THRESHOLD , SAI_ARS_PROFILE_ATTR_QUANT_BAND_1_MAX_THRESHOLD , SAI_ARS_PROFILE_ATTR_QUANT_BAND_2_MIN_THRESHOLD ,
  SAI_ARS_PROFILE_ATTR_QUANT_BAND_2_MAX_THRESHOLD , SAI_ARS_PROFILE_ATTR_QUANT_BAND_3_MIN_THRESHOLD , SAI_ARS_PROFILE_ATTR_QUANT_BAND_3_MAX_THRESHOLD , SAI_ARS_PROFILE_ATTR_QUANT_BAND_4_MIN_THRESHOLD ,
  SAI_ARS_PROFILE_ATTR_QUANT_BAND_4_MAX_THRESHOLD , SAI_ARS_PROFILE_ATTR_QUANT_BAND_5_MIN_THRESHOLD , SAI_ARS_PROFILE_ATTR_QUANT_BAND_5_MAX_THRESHOLD , SAI_ARS_PROFILE_ATTR_QUANT_BAND_6_MIN_THRESHOLD ,
  SAI_ARS_PROFILE_ATTR_QUANT_BAND_6_MAX_THRESHOLD , SAI_ARS_PROFILE_ATTR_QUANT_BAND_7_MIN_THRESHOLD , SAI_ARS_PROFILE_ATTR_QUANT_BAND_7_MAX_THRESHOLD , SAI_ARS_PROFILE_ATTR_END ,
  SAI_ARS_PROFILE_ATTR_CUSTOM_RANGE_START = 0x10000000 , SAI_ARS_PROFILE_ATTR_CUSTOM_RANGE_END
}
 Enum defining attributes for ARS profile. More...
 

Detailed Description

This module defines SAI QOS Maps interface.

Copyright (c) 2014 Microsoft Open Technologies, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions and limitations under the License.

Microsoft would like to thank the following companies for their review and assistance with these files: Intel Corporation, Mellanox Technologies Ltd, Dell Products, L.P., Facebook, Inc., Marvell International Ltd.

Definition in file saiarsprofile.h.