SAI Metadata
|
This module defines SAI interface for adaptive routing and switching. More...
#include <saitypes.h>
Go to the source code of this file.
Classes | |
struct | _sai_ars_api_t |
Adaptive routing and switching methods table retrieved with sai_api_query() More... | |
Typedefs | |
typedef enum _sai_ars_mode_t | sai_ars_mode_t |
Adaptive routing and switching path (re)assignment mode. | |
typedef enum _sai_ars_attr_t | sai_ars_attr_t |
Attribute id for adaptive routing and switching. | |
typedef sai_status_t(* | sai_create_ars_fn) (_Out_ sai_object_id_t *ars_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create adaptive routing and switching object. | |
typedef sai_status_t(* | sai_remove_ars_fn) (_In_ sai_object_id_t ars_id) |
Remove adaptive routing and switching object. | |
typedef sai_status_t(* | sai_set_ars_attribute_fn) (_In_ sai_object_id_t ars_id, _In_ const sai_attribute_t *attr) |
Set Adaptive routing and switching attribute. | |
typedef sai_status_t(* | sai_get_ars_attribute_fn) (_In_ sai_object_id_t ars_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get Adaptive routing and switching attribute. | |
typedef struct _sai_ars_api_t | sai_ars_api_t |
Adaptive routing and switching methods table retrieved with sai_api_query() | |
Enumerations | |
enum | _sai_ars_mode_t { SAI_ARS_MODE_FLOWLET_QUALITY , SAI_ARS_MODE_FLOWLET_RANDOM , SAI_ARS_MODE_PER_PACKET_QUALITY , SAI_ARS_MODE_PER_PACKET_RANDOM , SAI_ARS_MODE_FIXED } |
Adaptive routing and switching path (re)assignment mode. More... | |
enum | _sai_ars_attr_t { SAI_ARS_ATTR_START , SAI_ARS_ATTR_MODE = SAI_ARS_ATTR_START , SAI_ARS_ATTR_IDLE_TIME , SAI_ARS_ATTR_MAX_FLOWS , SAI_ARS_ATTR_MON_ENABLE , SAI_ARS_ATTR_SAMPLEPACKET_ENABLE , SAI_ARS_ATTR_MAX_ALT_MEMEBERS_PER_GROUP , SAI_ARS_ATTR_MAX_PRIMARY_MEMEBERS_PER_GROUP , SAI_ARS_ATTR_PRIMARY_PATH_QUALITY_THRESHOLD , SAI_ARS_ATTR_ALTERNATE_PATH_COST , SAI_ARS_ATTR_ALTERNATE_PATH_BIAS , SAI_ARS_ATTR_END , SAI_ARS_ATTR_CUSTOM_RANGE_START = 0x10000000 , SAI_ARS_ATTR_CUSTOM_RANGE_END } |
Attribute id for adaptive routing and switching. More... | |
This module defines SAI interface for adaptive routing and switching.
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 saiars.h.