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

This module defines SAI System Port interface. More...

#include <saitypes.h>

Go to the source code of this file.

Classes

struct  _sai_system_port_api_t
 Port methods table retrieved with sai_api_query() More...
 

Typedefs

typedef enum _sai_system_port_type_t sai_system_port_type_t
 Attribute data for SAI_SYSTEM_PORT_ATTR_TYPE.
 
typedef enum _sai_system_port_attr_t sai_system_port_attr_t
 Attribute Id in sai_set_system_port_attribute() and sai_get_system_port_attribute() calls.
 
typedef sai_status_t(* sai_create_system_port_fn) (_Out_ sai_object_id_t *system_port_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
 Create system port.
 
typedef sai_status_t(* sai_remove_system_port_fn) (_In_ sai_object_id_t system_port_id)
 Remove system port.
 
typedef sai_status_t(* sai_set_system_port_attribute_fn) (_In_ sai_object_id_t system_port_id, _In_ const sai_attribute_t *attr)
 Set system port attribute value.
 
typedef sai_status_t(* sai_get_system_port_attribute_fn) (_In_ sai_object_id_t system_port_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
 Get system port attribute value.
 
typedef struct _sai_system_port_api_t sai_system_port_api_t
 Port methods table retrieved with sai_api_query()
 

Enumerations

enum  _sai_system_port_type_t { SAI_SYSTEM_PORT_TYPE_LOCAL , SAI_SYSTEM_PORT_TYPE_REMOTE }
 Attribute data for SAI_SYSTEM_PORT_ATTR_TYPE. More...
 
enum  _sai_system_port_attr_t {
  SAI_SYSTEM_PORT_ATTR_START , SAI_SYSTEM_PORT_ATTR_TYPE = SAI_SYSTEM_PORT_ATTR_START , SAI_SYSTEM_PORT_ATTR_QOS_NUMBER_OF_VOQS , SAI_SYSTEM_PORT_ATTR_QOS_VOQ_LIST ,
  SAI_SYSTEM_PORT_ATTR_PORT , SAI_SYSTEM_PORT_ATTR_ADMIN_STATE , SAI_SYSTEM_PORT_ATTR_CONFIG_INFO , SAI_SYSTEM_PORT_ATTR_QOS_TC_TO_QUEUE_MAP ,
  SAI_SYSTEM_PORT_ATTR_END , SAI_SYSTEM_PORT_ATTR_CUSTOM_RANGE_START = 0x10000000 , SAI_SYSTEM_PORT_ATTR_CUSTOM_RANGE_END
}
 Attribute Id in sai_set_system_port_attribute() and sai_get_system_port_attribute() calls. More...
 

Detailed Description

This module defines SAI System Port 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 saisystemport.h.