SAI Metadata
|
Classes | |
struct | _sai_port_oper_status_notification_t |
Defines the operational status of the port. More... | |
struct | _sai_port_api_t |
Port methods table retrieved with sai_api_query() More... | |
Typedefs | |
typedef enum _sai_port_type_t | sai_port_type_t |
Attribute data for SAI_PORT_ATTR_TYPE. | |
typedef enum _sai_port_oper_status_t | sai_port_oper_status_t |
Attribute data for SAI_PORT_ATTR_OPER_STATUS. | |
typedef struct _sai_port_oper_status_notification_t | sai_port_oper_status_notification_t |
Defines the operational status of the port. | |
typedef enum _sai_port_flow_control_mode_t | sai_port_flow_control_mode_t |
Attribute data for SAI_PORT_ATTR_GLOBAL_FLOW_CONTROL_MODE. | |
typedef enum _sai_port_internal_loopback_mode_t | sai_port_internal_loopback_mode_t |
Attribute data for SAI_PORT_ATTR_INTERNAL_LOOPBACK_MODE To be deprecated, use sai_port_loopback_mode_t instead. | |
typedef enum _sai_port_loopback_mode_t | sai_port_loopback_mode_t |
Attribute data for SAI_PORT_ATTR_LOOPBACK_MODE. | |
typedef enum _sai_port_media_type_t | sai_port_media_type_t |
Attribute data for SAI_PORT_ATTR_MEDIA_TYPE. | |
typedef enum _sai_port_cable_pair_state_t | sai_port_cable_pair_state_t |
Attribute data for SAI_PORT_ATTR_CABLE_PAIR_STATE Copper cable pair states. | |
typedef enum _sai_port_cable_type_t | sai_port_cable_type_t |
Attribute data for SAI_PORT_ATTR_CABLE_TYPE Copper cable types. | |
typedef enum _sai_port_breakout_mode_type_t | sai_port_breakout_mode_type_t |
Breakout Mode types based on number of SerDes lanes used in a port. | |
typedef enum _sai_port_fec_mode_t | sai_port_fec_mode_t |
Attribute data for SAI_PORT_ATTR_FEC_MODE. | |
typedef enum _sai_port_fec_mode_extended_t | sai_port_fec_mode_extended_t |
Attribute data for SAI_PORT_ATTR_FEC_MODE_EXTENDED. | |
typedef enum _sai_port_datapath_enable_t | sai_port_datapath_enable_t |
Attribute data for SAI_PORT_ATTR_DATAPATH_ENABLE. | |
typedef enum _sai_port_priority_flow_control_mode_t | sai_port_priority_flow_control_mode_t |
Priority flow control mode. | |
typedef enum _sai_port_ptp_mode_t | sai_port_ptp_mode_t |
PTP mode. | |
typedef enum _sai_port_interface_type_t | sai_port_interface_type_t |
Attribute data for SAI_PORT_ATTR_INTERFACE_TYPE Used for selecting electrical interface with specific electrical pin and signal quality. | |
typedef enum _sai_port_link_training_failure_status_t | sai_port_link_training_failure_status_t |
Attribute data for SAI_PORT_ATTR_LINK_TRAINING_FAILURE_STATUS Used for Link Training failure status and error codes. | |
typedef enum _sai_port_link_training_rx_status_t | sai_port_link_training_rx_status_t |
Attribute data for SAI_PORT_ATTR_LINK_TRAINING_RX_STATUS Used for receiver status for link training. | |
typedef enum _sai_port_prbs_config_t | sai_port_prbs_config_t |
Attribute data for SAI_PORT_ATTR_PRBS_CONFIG PRBS configuration to enable transmitter, receiver or both. | |
typedef enum _sai_port_connector_failover_mode_t | sai_port_connector_failover_mode_t |
Attribute data for SAI_PORT_CONNECTOR_ATTR_FAILOVER_MODE Used for Failover mode configuration on port. | |
typedef enum _sai_port_mdix_mode_status_t | sai_port_mdix_mode_status_t |
Attribute data for SAI_PORT_ATTR_MDIX_MODE_STATUS Used for MDIX mode status. | |
typedef enum _sai_port_mdix_mode_config_t | sai_port_mdix_mode_config_t |
Attribute data for SAI_PORT_ATTR_MDIX_MODE_CONFIG Used for MDIX mode configuration. | |
typedef enum _sai_port_auto_neg_config_mode_t | sai_port_auto_neg_config_mode_t |
Attribute data for SAI_PORT_ATTR_AUTO_NEG_CONFIG_MODE Used for auto negotiation mode to configure master or slave mode. | |
typedef enum _sai_port_module_type_t | sai_port_module_type_t |
Attribute data for SAI_PORT_ATTR_MODULE_TYPE Used for configuring Fiber module type. | |
typedef enum _sai_port_dual_media_t | sai_port_dual_media_t |
Attribute data for SAI_PORT_ATTR_DUAL_MEDIA Used to configure media type for dual media supported PHY. | |
typedef enum _sai_port_host_tx_ready_status_t | sai_port_host_tx_ready_status_t |
Attribute data for SAI_PORT_ATTR_HOST_TX_READY_STATUS. | |
typedef enum _sai_port_path_tracing_timestamp_type_t | sai_port_path_tracing_timestamp_type_t |
Attribute data for SAI_PORT_ATTR_PATH_TRACING_TIMESTAMP_TYPE. | |
typedef enum _sai_port_attr_t | sai_port_attr_t |
Attribute Id in sai_set_port_attribute() and sai_get_port_attribute() calls. | |
typedef enum _sai_port_stat_t | sai_port_stat_t |
Port counter IDs in sai_get_port_stats() call. | |
typedef sai_status_t(* | sai_create_port_fn) (_Out_ sai_object_id_t *port_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create port. | |
typedef sai_status_t(* | sai_remove_port_fn) (_In_ sai_object_id_t port_id) |
Remove port. | |
typedef sai_status_t(* | sai_set_port_attribute_fn) (_In_ sai_object_id_t port_id, _In_ const sai_attribute_t *attr) |
Set port attribute value. | |
typedef sai_status_t(* | sai_get_port_attribute_fn) (_In_ sai_object_id_t port_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get port attribute value. | |
typedef sai_status_t(* | sai_get_port_stats_fn) (_In_ sai_object_id_t port_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters) |
Get port statistics counters. Deprecated for backward compatibility. | |
typedef sai_status_t(* | sai_get_port_stats_ext_fn) (_In_ sai_object_id_t port_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 port statistics counters extended. | |
typedef sai_status_t(* | sai_clear_port_stats_fn) (_In_ sai_object_id_t port_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids) |
Clear port statistics counters. | |
typedef sai_status_t(* | sai_clear_port_all_stats_fn) (_In_ sai_object_id_t port_id) |
Clear port's all statistics counters. | |
typedef void(* | sai_port_state_change_notification_fn) (_In_ uint32_t count, _In_ const sai_port_oper_status_notification_t *data) |
Port state change notification. | |
typedef void(* | sai_port_host_tx_ready_notification_fn) (_In_ sai_object_id_t switch_id, _In_ sai_object_id_t port_id, _In_ sai_port_host_tx_ready_status_t host_tx_ready_status) |
Port host tx ready notification. | |
typedef enum _sai_port_pool_attr_t | sai_port_pool_attr_t |
List of Port buffer pool attributes. | |
typedef enum _sai_port_pool_stat_t | sai_port_pool_stat_t |
Port pool counter IDs in sai_get_port_pool_stats() call. | |
typedef sai_status_t(* | sai_create_port_pool_fn) (_Out_ sai_object_id_t *port_pool_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create port pool. | |
typedef sai_status_t(* | sai_remove_port_pool_fn) (_In_ sai_object_id_t port_pool_id) |
Remove port pool. | |
typedef sai_status_t(* | sai_set_port_pool_attribute_fn) (_In_ sai_object_id_t port_pool_id, _In_ const sai_attribute_t *attr) |
Set port pool attribute value. | |
typedef sai_status_t(* | sai_get_port_pool_attribute_fn) (_In_ sai_object_id_t port_pool_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get port pool attribute value. | |
typedef sai_status_t(* | sai_get_port_pool_stats_fn) (_In_ sai_object_id_t port_pool_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters) |
Get port pool statistics counters. Deprecated for backward compatibility. | |
typedef sai_status_t(* | sai_get_port_pool_stats_ext_fn) (_In_ sai_object_id_t port_pool_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 port pool statistics counters extended. | |
typedef sai_status_t(* | sai_clear_port_pool_stats_fn) (_In_ sai_object_id_t port_pool_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids) |
Clear port pool statistics counters. | |
typedef enum _sai_port_serdes_attr_t | sai_port_serdes_attr_t |
List of Port Serdes attributes. | |
typedef sai_status_t(* | sai_create_port_serdes_fn) (_Out_ sai_object_id_t *port_serdes_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create port serdes. | |
typedef sai_status_t(* | sai_remove_port_serdes_fn) (_In_ sai_object_id_t port_serdes_id) |
Remove port serdes. | |
typedef sai_status_t(* | sai_set_port_serdes_attribute_fn) (_In_ sai_object_id_t port_serdes_id, _In_ const sai_attribute_t *attr) |
Set Port serdes attribute value. | |
typedef sai_status_t(* | sai_get_port_serdes_attribute_fn) (_In_ sai_object_id_t port_serdes_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get Port serdes attribute value. | |
typedef enum _sai_port_connector_attr_t | sai_port_connector_attr_t |
List of Port connector attributes. | |
typedef sai_status_t(* | sai_create_port_connector_fn) (_Out_ sai_object_id_t *port_connector_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create port connector Port connector uses to define logical relation between system side port to line side port. | |
typedef sai_status_t(* | sai_remove_port_connector_fn) (_In_ sai_object_id_t port_connector_id) |
Remove port connector. | |
typedef sai_status_t(* | sai_set_port_connector_attribute_fn) (_In_ sai_object_id_t port_connector_id, _In_ const sai_attribute_t *attr) |
Set port connector attribute value. | |
typedef sai_status_t(* | sai_get_port_connector_attribute_fn) (_In_ sai_object_id_t port_connector_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get port connector attribute value. | |
typedef struct _sai_port_api_t | sai_port_api_t |
Port methods table retrieved with sai_api_query() | |
typedef sai_status_t(* sai_clear_port_all_stats_fn) (_In_ sai_object_id_t port_id) |
Clear port's all statistics counters.
[in] | port_id | Port id |
typedef sai_status_t(* sai_clear_port_pool_stats_fn) (_In_ sai_object_id_t port_pool_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids) |
Clear port pool statistics counters.
[in] | port_pool_id | Port pool id |
[in] | number_of_counters | Number of counters in the array |
[in] | counter_ids | Specifies the array of counter ids |
typedef sai_status_t(* sai_clear_port_stats_fn) (_In_ sai_object_id_t port_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids) |
Clear port statistics counters.
[in] | port_id | Port id |
[in] | number_of_counters | Number of counters in the array |
[in] | counter_ids | Specifies the array of counter ids |
typedef sai_status_t(* sai_create_port_connector_fn) (_Out_ sai_object_id_t *port_connector_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create port connector Port connector uses to define logical relation between system side port to line side port.
[out] | port_connector_id | Port connector id |
[in] | switch_id | Switch id |
[in] | attr_count | Number of attributes |
[in] | attr_list | Array of attributes |
typedef sai_status_t(* sai_create_port_fn) (_Out_ sai_object_id_t *port_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create port.
[out] | port_id | Port id |
[in] | switch_id | Switch id |
[in] | attr_count | Number of attributes |
[in] | attr_list | Array of attributes |
typedef sai_status_t(* sai_create_port_pool_fn) (_Out_ sai_object_id_t *port_pool_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create port pool.
[out] | port_pool_id | Port pool id |
[in] | switch_id | Switch id |
[in] | attr_count | Number of attributes |
[in] | attr_list | Array of attributes |
typedef sai_status_t(* sai_create_port_serdes_fn) (_Out_ sai_object_id_t *port_serdes_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create port serdes.
[out] | port_serdes_id | Port serdes id |
[in] | switch_id | Switch id |
[in] | attr_count | Number of attributes |
[in] | attr_list | Array of attributes |
typedef sai_status_t(* sai_get_port_attribute_fn) (_In_ sai_object_id_t port_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get port attribute value.
[in] | port_id | Port id |
[in] | attr_count | Number of attributes |
[in,out] | attr_list | Array of attributes |
typedef sai_status_t(* sai_get_port_connector_attribute_fn) (_In_ sai_object_id_t port_connector_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get port connector attribute value.
[in] | port_connector_id | Port connector id |
[in] | attr_count | Number of attributes |
[in,out] | attr_list | Array of attributes |
typedef sai_status_t(* sai_get_port_pool_attribute_fn) (_In_ sai_object_id_t port_pool_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get port pool attribute value.
[in] | port_pool_id | Port pool id |
[in] | attr_count | Number of attributes |
[in,out] | attr_list | Array of attributes |
typedef sai_status_t(* sai_get_port_pool_stats_ext_fn) (_In_ sai_object_id_t port_pool_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 port pool statistics counters extended.
[in] | port_pool_id | Port pool id |
[in] | number_of_counters | Number of counters in the array |
[in] | counter_ids | Specifies the array of counter ids |
[in] | mode | Statistics mode |
[out] | counters | Array of resulting counter values. |
typedef sai_status_t(* sai_get_port_pool_stats_fn) (_In_ sai_object_id_t port_pool_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters) |
Get port pool statistics counters. Deprecated for backward compatibility.
[in] | port_pool_id | Port pool id |
[in] | number_of_counters | Number of counters in the array |
[in] | counter_ids | Specifies the array of counter ids |
[out] | counters | Array of resulting counter values. |
typedef sai_status_t(* sai_get_port_serdes_attribute_fn) (_In_ sai_object_id_t port_serdes_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get Port serdes attribute value.
[in] | port_serdes_id | Port serdes id |
[in] | attr_count | Number of attributes |
[in,out] | attr_list | Array of attributes |
typedef sai_status_t(* sai_get_port_stats_ext_fn) (_In_ sai_object_id_t port_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 port statistics counters extended.
[in] | port_id | Port id |
[in] | number_of_counters | Number of counters in the array |
[in] | counter_ids | Specifies the array of counter ids |
[in] | mode | Statistics mode |
[out] | counters | Array of resulting counter values. |
typedef sai_status_t(* sai_get_port_stats_fn) (_In_ sai_object_id_t port_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters) |
Get port statistics counters. Deprecated for backward compatibility.
[in] | port_id | Port id |
[in] | number_of_counters | Number of counters in the array |
[in] | counter_ids | Specifies the array of counter ids |
[out] | counters | Array of resulting counter values. |
typedef void(* sai_port_host_tx_ready_notification_fn) (_In_ sai_object_id_t switch_id, _In_ sai_object_id_t port_id, _In_ sai_port_host_tx_ready_status_t host_tx_ready_status) |
Port host tx ready notification.
Passed as a parameter into sai_initialize_switch()
[in] | switch_id | Switch Id |
[in] | port_id | Port Id |
[in] | host_tx_ready_status | New tx ready status |
typedef enum _sai_port_stat_t sai_port_stat_t |
Port counter IDs in sai_get_port_stats() call.
typedef void(* sai_port_state_change_notification_fn) (_In_ uint32_t count, _In_ const sai_port_oper_status_notification_t *data) |
typedef sai_status_t(* sai_remove_port_connector_fn) (_In_ sai_object_id_t port_connector_id) |
Remove port connector.
[in] | port_connector_id | Port connector id |
typedef sai_status_t(* sai_remove_port_fn) (_In_ sai_object_id_t port_id) |
Remove port.
[in] | port_id | Port id |
typedef sai_status_t(* sai_remove_port_pool_fn) (_In_ sai_object_id_t port_pool_id) |
Remove port pool.
[in] | port_pool_id | Port pool id |
typedef sai_status_t(* sai_remove_port_serdes_fn) (_In_ sai_object_id_t port_serdes_id) |
Remove port serdes.
[in] | port_serdes_id | Port serdes id |
typedef sai_status_t(* sai_set_port_attribute_fn) (_In_ sai_object_id_t port_id, _In_ const sai_attribute_t *attr) |
Set port attribute value.
[in] | port_id | Port id |
[in] | attr | Attribute |
typedef sai_status_t(* sai_set_port_connector_attribute_fn) (_In_ sai_object_id_t port_connector_id, _In_ const sai_attribute_t *attr) |
Set port connector attribute value.
[in] | port_connector_id | Port connector id |
[in] | attr | Attribute |
typedef sai_status_t(* sai_set_port_pool_attribute_fn) (_In_ sai_object_id_t port_pool_id, _In_ const sai_attribute_t *attr) |
Set port pool attribute value.
[in] | port_pool_id | Port pool id |
[in] | attr | Attribute |
typedef sai_status_t(* sai_set_port_serdes_attribute_fn) (_In_ sai_object_id_t port_serdes_id, _In_ const sai_attribute_t *attr) |
Set Port serdes attribute value.
[in] | port_serdes_id | Port serdes id |
[in] | attr | Attribute |
enum _sai_port_attr_t |
Attribute Id in sai_set_port_attribute() and sai_get_port_attribute() calls.
Enumerator | |
---|---|
SAI_PORT_ATTR_START | Start of attributes. |
SAI_PORT_ATTR_TYPE | Port Type.
|
SAI_PORT_ATTR_OPER_STATUS | Operational Status.
|
SAI_PORT_ATTR_SUPPORTED_BREAKOUT_MODE_TYPE | Breakout mode(s) supported.
|
SAI_PORT_ATTR_CURRENT_BREAKOUT_MODE_TYPE | Current breakout mode.
|
SAI_PORT_ATTR_QOS_NUMBER_OF_QUEUES | Number of queues on port.
|
SAI_PORT_ATTR_QOS_QUEUE_LIST | List of Queues for the port.
|
SAI_PORT_ATTR_QOS_NUMBER_OF_SCHEDULER_GROUPS | Number of Scheduler groups on port.
|
SAI_PORT_ATTR_QOS_SCHEDULER_GROUP_LIST | List of Scheduler groups for the port.
|
SAI_PORT_ATTR_QOS_MAXIMUM_HEADROOM_SIZE | The sum of the headroom size of the ingress priority groups belonging to this port should not exceed the SAI_PORT_ATTR_QOS_MAXIMUM_HEADROOM_SIZE value. This attribute is applicable only for per-port, per-PG headroom model (which means SAI_BUFFER_POOL_ATTR_XOFF_SIZE is zero) For the platforms which don't have this limitation, 0 should be returned.
|
SAI_PORT_ATTR_SUPPORTED_SPEED | Query list of supported port speed(full-duplex) in Mbps.
|
SAI_PORT_ATTR_SUPPORTED_FEC_MODE | Query list of supported port FEC mode.
|
SAI_PORT_ATTR_SUPPORTED_FEC_MODE_EXTENDED | Query extended list of supported port FEC modes.
|
SAI_PORT_ATTR_SUPPORTED_HALF_DUPLEX_SPEED | Query list of Supported HALF-Duplex speed in Mbps.
|
SAI_PORT_ATTR_SUPPORTED_AUTO_NEG_MODE | Query auto-negotiation support.
|
SAI_PORT_ATTR_SUPPORTED_FLOW_CONTROL_MODE | Query port supported flow control mode.
|
SAI_PORT_ATTR_SUPPORTED_ASYMMETRIC_PAUSE_MODE | Query port supported asymmetric pause mode.
|
SAI_PORT_ATTR_SUPPORTED_MEDIA_TYPE | Query port supported MEDIA type.
|
SAI_PORT_ATTR_REMOTE_ADVERTISED_SPEED | Query list of Advertised remote port speed (Full-Duplex) in Mbps.
|
SAI_PORT_ATTR_REMOTE_ADVERTISED_FEC_MODE | Query list of Advertised remote port FEC control.
|
SAI_PORT_ATTR_REMOTE_ADVERTISED_FEC_MODE_EXTENDED | Query extended list of Advertised remote port FEC control.
|
SAI_PORT_ATTR_REMOTE_ADVERTISED_HALF_DUPLEX_SPEED | Query list of Remote Port's Advertised HALF-Duplex speed in Mbps.
|
SAI_PORT_ATTR_REMOTE_ADVERTISED_AUTO_NEG_MODE | Query Remote Port's auto-negotiation Advertisement.
|
SAI_PORT_ATTR_REMOTE_ADVERTISED_FLOW_CONTROL_MODE | Query Remote port Advertised flow control mode.
|
SAI_PORT_ATTR_REMOTE_ADVERTISED_ASYMMETRIC_PAUSE_MODE | Query Remote port Advertised asymmetric pause mode.
|
SAI_PORT_ATTR_REMOTE_ADVERTISED_MEDIA_TYPE | Query Remote port Advertised MEDIA type.
|
SAI_PORT_ATTR_REMOTE_ADVERTISED_OUI_CODE | Query Remote port Advertised OUI Code.
|
SAI_PORT_ATTR_NUMBER_OF_INGRESS_PRIORITY_GROUPS | Number of ingress priority groups.
|
SAI_PORT_ATTR_INGRESS_PRIORITY_GROUP_LIST | List of ingress priority groups.
|
SAI_PORT_ATTR_EYE_VALUES | List of port's lanes eye values.
|
SAI_PORT_ATTR_OPER_SPEED | Operational speed in Mbps. If port is down, the returned value should be zero. If auto negotiation is on, the returned value should be the negotiated speed.
|
SAI_PORT_ATTR_HW_LANE_LIST | Hardware Lane list.
|
SAI_PORT_ATTR_SPEED | Speed in Mbps. On get, returns the configured port speed.
|
SAI_PORT_ATTR_FULL_DUPLEX_MODE | Full Duplex setting.
|
SAI_PORT_ATTR_AUTO_NEG_MODE | Auto Negotiation configuration.
|
SAI_PORT_ATTR_ADMIN_STATE | Admin Mode.
|
SAI_PORT_ATTR_MEDIA_TYPE | Media Type.
|
SAI_PORT_ATTR_ADVERTISED_SPEED | Query/Configure list of Advertised port speed (Full-Duplex) in Mbps. Used when auto negotiation is on. Empty list means all supported values are enabled.
|
SAI_PORT_ATTR_ADVERTISED_FEC_MODE | Query/Configure list of Advertised port FEC Mode.
|
SAI_PORT_ATTR_ADVERTISED_FEC_MODE_EXTENDED | Query/Configure extended list of Advertised port FEC Mode.
|
SAI_PORT_ATTR_ADVERTISED_HALF_DUPLEX_SPEED | Query/Configure list of Advertised HALF-Duplex speed in Mbps.
|
SAI_PORT_ATTR_ADVERTISED_AUTO_NEG_MODE | Query/Configure Port's Advertised auto-negotiation configuration.
|
SAI_PORT_ATTR_ADVERTISED_FLOW_CONTROL_MODE | Query/Configure Port's Advertised flow control mode.
|
SAI_PORT_ATTR_ADVERTISED_ASYMMETRIC_PAUSE_MODE | Query port's Advertised asymmetric pause mode.
|
SAI_PORT_ATTR_ADVERTISED_MEDIA_TYPE | Query/Configure Port's Advertised media type.
|
SAI_PORT_ATTR_ADVERTISED_OUI_CODE | Query/Configure Port's Advertised OUI code. Organizationally Unique Identifier for 25G/50G auto negotiation. Default is 0x6A737D for Ethernet Consortium
|
SAI_PORT_ATTR_PORT_VLAN_ID | Port VLAN ID. Untagged ingress frames are tagged with Port VLAN ID (PVID).
|
SAI_PORT_ATTR_DEFAULT_VLAN_PRIORITY | Default VLAN Priority.
|
SAI_PORT_ATTR_DROP_UNTAGGED | Dropping of untagged frames on ingress.
|
SAI_PORT_ATTR_DROP_TAGGED | Dropping of tagged frames on ingress.
|
SAI_PORT_ATTR_INTERNAL_LOOPBACK_MODE | Internal loopback control To be deprecated, use SAI_PORT_ATTR_LOOPBACK_MODE.
|
SAI_PORT_ATTR_USE_EXTENDED_FEC | Forward Error Correction (FEC) extended control. Enables use of extended FEC controls as opposed to their non-extended counterparts.
|
SAI_PORT_ATTR_FEC_MODE | Forward Error Correction (FEC) control.
|
SAI_PORT_ATTR_FEC_MODE_EXTENDED | Forward Error Correction (FEC) extended control.
|
SAI_PORT_ATTR_UPDATE_DSCP | Update DSCP of outgoing packets.
|
SAI_PORT_ATTR_MTU | MTU.
|
SAI_PORT_ATTR_FLOOD_STORM_CONTROL_POLICER_ID | Enable flood (unknown unicast or unknown multicast) storm control policer on port. Set policer id = SAI_NULL_OBJECT_ID to disable policer on port.
|
SAI_PORT_ATTR_BROADCAST_STORM_CONTROL_POLICER_ID | Enable broadcast storm control policer on port. Set Policer id = SAI_NULL_OBJECT_ID to disable policer on port.
|
SAI_PORT_ATTR_MULTICAST_STORM_CONTROL_POLICER_ID | Enable multicast storm control policer on port. Set policer id = SAI_NULL_OBJECT_ID to disable policer on port.
|
SAI_PORT_ATTR_GLOBAL_FLOW_CONTROL_MODE | Global flow control.
|
SAI_PORT_ATTR_INGRESS_ACL | Port bind point for ingress ACL object. Bind (or unbind) an ingress ACL table or ACL group on a port. Enable/Update ingress ACL table or ACL group filtering by assigning a valid object id. Disable ingress filtering by assigning SAI_NULL_OBJECT_ID in the attribute value.
|
SAI_PORT_ATTR_EGRESS_ACL | Port bind point for egress ACL object. Bind (or unbind) an egress ACL tables or ACL group on a port. Enable/Update egress ACL table or ACL group filtering by assigning a valid object id. Disable egress filtering by assigning SAI_NULL_OBJECT_ID in the attribute value.
|
SAI_PORT_ATTR_INGRESS_MACSEC_ACL | Port bind point for ingress MACsec ACL object. Bind (or unbind) an ingress MACsec ACL table on a port. Enable/Update ingress MACsec ACL table filtering by assigning a valid object id. Disable ingress filtering by assigning SAI_NULL_OBJECT_ID in the attribute value.
|
SAI_PORT_ATTR_EGRESS_MACSEC_ACL | Port bind point for egress MACsec ACL object. Bind (or unbind) an egress MACsec ACL tables on a port. Enable/Update egress MACsec ACL table filtering by assigning a valid object id. Disable egress filtering by assigning SAI_NULL_OBJECT_ID in the attribute value.
|
SAI_PORT_ATTR_MACSEC_PORT_LIST | List of MACsec ports.
|
SAI_PORT_ATTR_INGRESS_MIRROR_SESSION | Enable/Disable Mirror session. Enable ingress mirroring by assigning list of mirror session object id as attribute value, disable ingress mirroring by assigning object_count as 0 in objlist.
|
SAI_PORT_ATTR_EGRESS_MIRROR_SESSION | Enable/Disable Mirror session. Enable egress mirroring by assigning list of mirror session object id as attribute value Disable egress mirroring by assigning object_count as 0 in objlist.
|
SAI_PORT_ATTR_INGRESS_SAMPLEPACKET_ENABLE | Enable/Disable Samplepacket session. Enable ingress sampling by assigning samplepacket object id Disable ingress sampling by assigning SAI_NULL_OBJECT_ID as attribute value.
|
SAI_PORT_ATTR_EGRESS_SAMPLEPACKET_ENABLE | Enable/Disable Samplepacket session. Enable egress sampling by assigning samplepacket object id Disable egress sampling by assigning SAI_NULL_OBJECT_ID as attribute value.
|
SAI_PORT_ATTR_INGRESS_SAMPLE_MIRROR_SESSION | Enable/Disable Samplepacket session. Enable sample ingress mirroring by assigning list of mirror object ids Disable sample ingress mirroring by assigning object_count as 0 in objlist
|
SAI_PORT_ATTR_EGRESS_SAMPLE_MIRROR_SESSION | Enable/Disable Samplepacket session. Enable sample egress mirroring by assigning list of mirror object ids Disable sample egress mirroring by assigning object_count as 0 in objlist
|
SAI_PORT_ATTR_POLICER_ID | Attach/Detach policer to port. Set policer id = SAI_NULL_OBJECT_ID to disable policer on port.
|
SAI_PORT_ATTR_QOS_DEFAULT_TC | Port default Traffic class Mapping.
|
SAI_PORT_ATTR_QOS_DOT1P_TO_TC_MAP | Enable DOT1P -> TC MAP on port. Map id = SAI_NULL_OBJECT_ID to disable map on port. To enable/disable trust Dot1p, map ID should be added/removed on port. Default no map.
|
SAI_PORT_ATTR_QOS_DOT1P_TO_COLOR_MAP | Enable DOT1P -> COLOR MAP on port. Map id = SAI_NULL_OBJECT_ID to disable map on port. To enable/disable trust Dot1p, map ID should be added/removed on port.
|
SAI_PORT_ATTR_QOS_DSCP_TO_TC_MAP | Enable DSCP -> TC MAP on port. Map id = SAI_NULL_OBJECT_ID to disable map on port. To enable/disable trust DSCP, map ID should be added/removed on port. Default no map.
|
SAI_PORT_ATTR_QOS_DSCP_TO_COLOR_MAP | Enable DSCP -> COLOR MAP on port. Map id = SAI_NULL_OBJECT_ID to disable map on port. To enable/disable trust DSCP, map ID should be added/removed on port.
|
SAI_PORT_ATTR_QOS_TC_TO_QUEUE_MAP | Enable TC -> Queue MAP on port. Map id = SAI_NULL_OBJECT_ID to disable map on port. Default no map, i.e. all packets to queue 0.
|
SAI_PORT_ATTR_QOS_TC_AND_COLOR_TO_DOT1P_MAP | Enable TC AND COLOR -> DOT1P MAP. Map id = SAI_NULL_OBJECT_ID to disable map on port. Default no map.
|
SAI_PORT_ATTR_QOS_TC_AND_COLOR_TO_DSCP_MAP | Enable TC AND COLOR -> DSCP MAP. Map id = SAI_NULL_OBJECT_ID to disable map on port. Default no map.
|
SAI_PORT_ATTR_QOS_TC_TO_PRIORITY_GROUP_MAP | Enable TC -> Priority Group MAP. Map id = SAI_NULL_OBJECT_ID to disable map on port. Default no map
|
SAI_PORT_ATTR_QOS_PFC_PRIORITY_TO_PRIORITY_GROUP_MAP | Enable PFC Priority -> Priority Group MAP. Map id = SAI_NULL_OBJECT_ID to disable map on port. Default no map
|
SAI_PORT_ATTR_QOS_PFC_PRIORITY_TO_QUEUE_MAP | Enable PFC Priority -> Queue MAP. Map id = SAI_NULL_OBJECT_ID to disable map on port. Default no map
|
SAI_PORT_ATTR_QOS_SCHEDULER_PROFILE_ID | Scheduler for port, Default no limits. SAI_SCHEDULER_ATTR_MAX_BANDWIDTH_RATE & SAI_SCHEDULER_ATTR_MAX_BANDWIDTH_BURST_RATE attributes alone valid. Rest will be ignored.
|
SAI_PORT_ATTR_QOS_INGRESS_BUFFER_PROFILE_LIST | Ingress buffer profiles for port. There can be up to SAI_SWITCH_ATTR_INGRESS_BUFFER_POOL_NUM profiles.
|
SAI_PORT_ATTR_QOS_EGRESS_BUFFER_PROFILE_LIST | Egress buffer profiles for port. There can be up to SAI_SWITCH_ATTR_EGRESS_BUFFER_POOL_NUM profiles.
|
SAI_PORT_ATTR_PRIORITY_FLOW_CONTROL_MODE | Combined or separate Bit vectors for port PFC RX/TX.
|
SAI_PORT_ATTR_PRIORITY_FLOW_CONTROL | Bit vector enable/disable port PFC. Valid from bit 0 to bit 7, for combined RX/TX control mode
|
SAI_PORT_ATTR_PRIORITY_FLOW_CONTROL_RX | Bit vector enable/disable port PFC RX. Valid from bit 0 to bit 7, for separate RX/TX control mode
|
SAI_PORT_ATTR_PRIORITY_FLOW_CONTROL_TX | Bit vector enable/disable port PFC TX. Valid from bit 0 to bit 7, for separate RX/TX control mode
|
SAI_PORT_ATTR_META_DATA | User based Meta Data. Value Range SAI_SWITCH_ATTR_PORT_USER_META_DATA_RANGE.
|
SAI_PORT_ATTR_EGRESS_BLOCK_PORT_LIST | Egress block port list. Needs to be deprecated. Isolation group can be used instead. Traffic ingressing on this port and egressing out of the ports in the given port list will be dropped.
|
SAI_PORT_ATTR_HW_PROFILE_ID | Port Hardware Configuration Profile ID. Port can require different hardware configuration based on the attached media type, cable length etc. A Profile ID maps to a Port Hardware configuration settings that needs to be applied on the Port. This attribute need not be implemented and can be ignored if the port doesn't require any specific hardware settings based on media type/cable.
|
SAI_PORT_ATTR_EEE_ENABLE | Port EEE Configuration. Energy Efficient Ethernet(EEE) is an IEEE 802.3az standard aiming to reduce power consumption on Ethernet ports (native copper ports). Enable the EEE on port level.
|
SAI_PORT_ATTR_EEE_IDLE_TIME | Port EEE IDLE time configuration. Time (in microseconds) to move to Low power state (No traffic), at the end of which MAC transitions to Low power state. Max value set more benefit.
|
SAI_PORT_ATTR_EEE_WAKE_TIME | Port EEE Wakeup time configuration. Time (in microseconds) to wait before transmitter is leaving Low Power Mode State. Min value set avoid latency.
|
SAI_PORT_ATTR_PORT_POOL_LIST | List of port pools for the port.
|
SAI_PORT_ATTR_ISOLATION_GROUP | Isolation group id. Packets ingressing on the port should not be forwarded to the members present in the isolation group.The isolation group type should be SAI_ISOLATION_GROUP_TYPE_PORT.
|
SAI_PORT_ATTR_PKT_TX_ENABLE | Port packet transmission enable. Enable/Disable packet transmission of a port. When packet transmission is disabled on a port, packets are still subject to regular ingress and egress admission control to determine the actions on a packet: whether it is dropped (immediately or after timeout), or whether it is kept in buffers internal to the switch before packet transmission is enabled on the port.
|
SAI_PORT_ATTR_TAM_OBJECT | Port bind point for TAM object.
|
SAI_PORT_ATTR_SERDES_PREEMPHASIS | Port serdes control pre-emphasis. Deprecated. Use SAI_OBJECT_TYPE_PORT_SERDES List of port serdes pre-emphasis values. The values are of type sai_u32_list_t where the count is number lanes in a port and the list specifies list of values to be applied to each lane.
|
SAI_PORT_ATTR_SERDES_IDRIVER | Port serdes control idriver. Deprecated. Use SAI_OBJECT_TYPE_PORT_SERDES List of port serdes idriver values. The values are of type sai_u32_list_t where the count is number lanes in a port and the list specifies list of values to be applied to each lane.
|
SAI_PORT_ATTR_SERDES_IPREDRIVER | Port serdes control ipredriver. Deprecated. Use SAI_OBJECT_TYPE_PORT_SERDES List of port serdes ipredriver values. The values are of type sai_u32_list_t where the count is number lanes in a port and the list specifies list of values to be applied to each lane.
|
SAI_PORT_ATTR_LINK_TRAINING_ENABLE | Enable/Disable Port Link Training.
|
SAI_PORT_ATTR_PTP_MODE | Configure PTP mode on the port.
|
SAI_PORT_ATTR_INTERFACE_TYPE | Configure Interface type.
|
SAI_PORT_ATTR_ADVERTISED_INTERFACE_TYPE | Configure advertised interface type list. Used when auto negotiation is on. Empty list means all supported values are enabled.
|
SAI_PORT_ATTR_REFERENCE_CLOCK | Configure port reference clock in hertz.
|
SAI_PORT_ATTR_PRBS_POLYNOMIAL | Port PRBS Polynomial.
|
SAI_PORT_ATTR_PORT_SERDES_ID | Serdes object ID for the port.
|
SAI_PORT_ATTR_LINK_TRAINING_FAILURE_STATUS | Link training failure status and error codes.
|
SAI_PORT_ATTR_LINK_TRAINING_RX_STATUS | Status whether the receiver trained or not trained to receive data.
|
SAI_PORT_ATTR_PRBS_CONFIG | Attribute data for SAI_PORT_ATTR_PRBS_CONFIG. PRBS configuration to enable transmitter, receiver or both
|
SAI_PORT_ATTR_PRBS_LOCK_STATUS | Attribute data for SAI_PORT_ATTR_PRBS_LOCK_STATUS. PRBS lock status: 1 for locked, 0 for unlocked
|
SAI_PORT_ATTR_PRBS_LOCK_LOSS_STATUS | Attribute data for SAI_PORT_ATTR_PRBS_LOCK_LOSS_STATUS. PRBS unlocked status since last read: 1 for lock loss, 0 for no lock loss
|
SAI_PORT_ATTR_PRBS_RX_STATUS | Attribute data for SAI_PORT_ATTR_PRBS_RX_STATUS.
|
SAI_PORT_ATTR_PRBS_RX_STATE | Attribute data for SAI_PORT_ATTR_PRBS_RX_STATE Used for clear on read status/count register. Adapter should return SAI_STATUS_NOT_SUPPORTED if not supported.
|
SAI_PORT_ATTR_AUTO_NEG_STATUS | Attribute data for SAI_PORT_ATTR_AUTO_NEG_STATUS. Auto negotiation (AN) done state: 0 for AN in progress, 1 for AN done If auto negotiation is off, the returned value should be 0.
|
SAI_PORT_ATTR_DISABLE_DECREMENT_TTL | To enable/disable Decrement TTL.
|
SAI_PORT_ATTR_QOS_MPLS_EXP_TO_TC_MAP | Enable EXP -> TC MAP on port. Map id = SAI_NULL_OBJECT_ID to disable map on port. To enable/disable trust EXP, map ID should be added/removed on port. Default no map. If present overrides SAI_SWITCH_ATTR_QOS_MPLS_EXP_TO_TC_MAP.
|
SAI_PORT_ATTR_QOS_MPLS_EXP_TO_COLOR_MAP | Enable EXP -> COLOR MAP on port. Map id = SAI_NULL_OBJECT_ID to disable map on port. To enable/disable trust EXP, map ID should be added/removed on port. Default no map. If present overrides SAI_SWITCH_ATTR_QOS_MPLS_EXP_TO_COLOR_MAP.
|
SAI_PORT_ATTR_QOS_TC_AND_COLOR_TO_MPLS_EXP_MAP | Enable TC AND COLOR -> EXP MAP. Map id = SAI_NULL_OBJECT_ID to disable map on port. Default no map. If present overrides SAI_SWITCH_ATTR_QOS_TC_AND_COLOR_TO_MPLS_EXP_MAP.
|
SAI_PORT_ATTR_TPID | TPID.
|
SAI_PORT_ATTR_ERR_STATUS_LIST | Port Down Error Status.
|
SAI_PORT_ATTR_FABRIC_ATTACHED | Fabric port Attached. Signifies if the fabric port is attached
|
SAI_PORT_ATTR_FABRIC_ATTACHED_SWITCH_TYPE | Attached Switch type. Signifies the attached switch type
|
SAI_PORT_ATTR_FABRIC_ATTACHED_SWITCH_ID | Attached Switch ID. Signifies the attached switch ID
|
SAI_PORT_ATTR_FABRIC_ATTACHED_PORT_INDEX | Attached Port Index. Signifies the attached port index
|
SAI_PORT_ATTR_FABRIC_REACHABILITY | Fabric port reachability.
|
SAI_PORT_ATTR_SYSTEM_PORT | System port for the port.
|
SAI_PORT_ATTR_AUTO_NEG_FEC_MODE_OVERRIDE | FEC mode auto-negotiation override status. If set to true, any auto-negotiated FEC mode will be overridden by the value configured in SAI_PORT_ATTR_FEC_MODE
|
SAI_PORT_ATTR_LOOPBACK_MODE | Internal or External loopback control.
|
SAI_PORT_ATTR_MDIX_MODE_STATUS | MDIX mode status for the port.
|
SAI_PORT_ATTR_MDIX_MODE_CONFIG | MDIX mode configuration for the port.
|
SAI_PORT_ATTR_AUTO_NEG_CONFIG_MODE | Configure auto negotiation configuration mode for the port.
|
SAI_PORT_ATTR_1000X_SGMII_SLAVE_AUTODETECT | Enable auto detection between 1000X and SGMII slave mode.
|
SAI_PORT_ATTR_MODULE_TYPE | Configure Fiber module type.
|
SAI_PORT_ATTR_DUAL_MEDIA | Configure media types for dual media supported PHY.
|
SAI_PORT_ATTR_AUTO_NEG_FEC_MODE_EXTENDED | Query the Auto Negotiated Resolved FEC. Auto negotiated FEC status is applicable on Auto Negotiation good state
|
SAI_PORT_ATTR_IPG | Configures inter frame gap for an ethernet port. IPG is mandated by IEEE 802.3 to ensure reliable communication between two Ethernet devices. The minimum recommended inter-packet gap(IPG) by IEEE 802.3 is 96 bits (12 bytes)
|
SAI_PORT_ATTR_GLOBAL_FLOW_CONTROL_FORWARD | Forward or terminate the global flow control(802.3X) frame. If true, flow control frames are switched between ports. If false, flow control frames are terminated by the switch.
|
SAI_PORT_ATTR_PRIORITY_FLOW_CONTROL_FORWARD | Forward or terminate the PFC(802.1Qbb) frame. If true, flow control frames are switched between ports. If false, flow control frames are terminated by the switch.
|
SAI_PORT_ATTR_QOS_DSCP_TO_FORWARDING_CLASS_MAP | Enable DSCP -> Forwarding Class MAP on port. Map id = SAI_NULL_OBJECT_ID to disable map on port. Default no map.
|
SAI_PORT_ATTR_QOS_MPLS_EXP_TO_FORWARDING_CLASS_MAP | Enable EXP -> Forwarding Class MAP on port. Map id = SAI_NULL_OBJECT_ID to disable map on port. Default no map.
|
SAI_PORT_ATTR_IPSEC_PORT | Associated IPsec port.
|
SAI_PORT_ATTR_PFC_TC_DLD_INTERVAL_RANGE | PFC Deadlock Detection timer interval range.
|
SAI_PORT_ATTR_PFC_TC_DLD_INTERVAL | PFC Deadlock Detection timer interval in milliseconds. If the monitored queue is in XOFF state for more than this duration then its considered to be in a PFC deadlock state and recovery process is kicked off. Note: Use TC (Traffic Class) value as key and timer interval as value.
|
SAI_PORT_ATTR_PFC_TC_DLR_INTERVAL_RANGE | PFC Deadlock Recovery timer interval range.
|
SAI_PORT_ATTR_PFC_TC_DLR_INTERVAL | PFC Deadlock Recovery timer interval in milliseconds. The PFC deadlock recovery process will run for this amount of time and then normal state will resume. If the system remains in a deadlock state then the detection and recovery will resume again after the configured detection timer interval. Note: Use TC (Traffic Class) value as key and timer interval as value.
|
SAI_PORT_ATTR_SUPPORTED_LINK_TRAINING_MODE | Query link-training support.
|
SAI_PORT_ATTR_RX_SIGNAL_DETECT | List of port's PMD lanes rx signal detect.
|
SAI_PORT_ATTR_RX_LOCK_STATUS | List of port's PMD lanes rx lock status.
|
SAI_PORT_ATTR_PCS_RX_LINK_STATUS | Port's PCS RX Link Status.
|
SAI_PORT_ATTR_FEC_ALIGNMENT_LOCK | List of port's FEC lanes alignment marker lock.
|
SAI_PORT_ATTR_FABRIC_ISOLATE | Fabric port isolation setting. true: The link may be enabled in serdes level and the MAC level, but the link partner will not use it for traffic distribution. false: Undo the isolation operation. This attribute is for fabric links only.
|
SAI_PORT_ATTR_MAX_FEC_SYMBOL_ERRORS_DETECTABLE | Query the maximum number of symbols with errors that can be detected by the current FEC code (per FEC codeword).
|
SAI_PORT_ATTR_ARS_ENABLE | Enable ARS on port. This enables the control for quality measure in switch pipeline.
|
SAI_PORT_ATTR_ARS_PORT_LOAD_SCALING_FACTOR | Scaling factor to account for different port speeds. Port speed is normalized using the scaling factor specified 10G:1, 25G:2.5, 40G:4, 50G:5, 100G:10, 200G:20, 400G:40.
|
SAI_PORT_ATTR_ARS_PORT_LOAD_PAST_ENABLE | Enable historical or past port load quality measure in switch pipeline.
|
SAI_PORT_ATTR_ARS_PORT_LOAD_FUTURE_ENABLE | Enable future load quality measure in switch pipeline.
|
SAI_PORT_ATTR_ARS_ALTERNATE_PATH | Port is part of primary or alternate path set false: Port is part of primary path set true: Port is part of alternate path set.
|
SAI_PORT_ATTR_JSON_FORMATTED_DEBUG_DATA | Gather port debug information. Standard attribute to retrieve vendor-specific debug information about the port's current status. The returned data should be in the form of a JSON-encoded string. Example possible response: { "port_index": "123", "lane_1": { "serdes_fw_rev": "B345", "dc_offset": "1" }, "additional_debug_data": "Some\n additional\n information" }
|
SAI_PORT_ATTR_ECMP_HASH_ALGORITHM | SAI ECMP hash algorithm which can override algorithm set by SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_ALGORITHM for this port.
|
SAI_PORT_ATTR_ECMP_HASH_SEED | SAI ECMP hash seed which can override seed set by SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_SEED for this port.
|
SAI_PORT_ATTR_ECMP_HASH_OFFSET | SAI ECMP hash offset which can override offset set by SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_OFFSET for this port.
|
SAI_PORT_ATTR_OPER_PORT_FEC_MODE | Operational FEC mode. If port is down or auto negotiation is in progress, the returned value should be SAI_PORT_FEC_MODE_NONE. If auto negotiation is on, the returned value should be the negotiated FEC. If auto negotiation is off, the returned value should be the set value.
|
SAI_PORT_ATTR_HOST_TX_SIGNAL_ENABLE | Enable host_tx_signal (high-speed signal from ASIC to module) required to start the CMIS module initialization.
|
SAI_PORT_ATTR_HOST_TX_READY_STATUS | Host tx ready status. It will be used for query and capability query of "host_tx_ready" signal
|
SAI_PORT_ATTR_PATH_TRACING_INTF | Configure path tracing interface id.
|
SAI_PORT_ATTR_PATH_TRACING_TIMESTAMP_TYPE | Configure path tracing timestamp template.
|
SAI_PORT_ATTR_RX_FREQUENCY_OFFSET_PPM | List of per lane RX Frequency PPM for a port.
|
SAI_PORT_ATTR_RX_SNR | List of per lane RX SNR for a port.
|
SAI_PORT_ATTR_DATAPATH_ENABLE | Port's DATA PATH Enable. true: If NO FEC is selected and the data path is enabled as PCS, the packet is checked for lane alignment marker and it aligns recovered data in receive direction. PCS RX link status is set if the packet is properly aligned. SAI_PORT_DATAPATH_ENABLE_PASS_THROUGH_MODE: Default pass-through data path is used where packet is passed without any processing. This attribute is valid only if SAI_PORT_ATTR_FEC_MODE_EXTENDED is selected as SAI_PORT_FEC_MODE_EXTENDED_NONE.
|
SAI_PORT_ATTR_CABLE_PAIR_STATE | Read ethernet copper cable pair status. Returns pair states sequentially from list index 0 to n (n = number of pairs - 1) value of n depends on number of pairs in twisted ethernet copper cable Cable diagnostics triggers ECD once cable pair states is requested, it is synchronous call.
|
SAI_PORT_ATTR_CABLE_PAIR_LENGTH | Get ethernet copper cable pair length (unit meter) Returns ethernet cable pair length sequentially from list index 0 to n (n = number of pairs - 1) value of n depends on number of pairs in twisted ethernet copper cable Cable diagnostics runs once cable pair length is requested, it is synchronous call.
|
SAI_PORT_ATTR_CABLE_TYPE | Configure ethernet copper cable type to check the cable status.
|
SAI_PORT_ATTR_END | End of attributes. |
SAI_PORT_ATTR_CUSTOM_RANGE_START | Custom range base value |
SAI_PORT_ATTR_CUSTOM_RANGE_END | End of custom range base |
Attribute data for SAI_PORT_ATTR_AUTO_NEG_CONFIG_MODE Used for auto negotiation mode to configure master or slave mode.
Breakout Mode types based on number of SerDes lanes used in a port.
Attribute data for SAI_PORT_ATTR_CABLE_PAIR_STATE Copper cable pair states.
Attribute data for SAI_PORT_ATTR_CABLE_TYPE Copper cable types.
List of Port connector attributes.
Attribute data for SAI_PORT_CONNECTOR_ATTR_FAILOVER_MODE Used for Failover mode configuration on port.
Attribute data for SAI_PORT_ATTR_DATAPATH_ENABLE.
Enumerator | |
---|---|
SAI_PORT_DATAPATH_ENABLE_PASS_THROUGH_MODE | PASS through data path |
SAI_PORT_DATAPATH_ENABLE_PCS_IEEE_MODE | PCS IEEE data path |
Attribute data for SAI_PORT_ATTR_DUAL_MEDIA Used to configure media type for dual media supported PHY.
Attribute data for SAI_PORT_ATTR_FEC_MODE_EXTENDED.
enum _sai_port_fec_mode_t |
Attribute data for SAI_PORT_ATTR_FEC_MODE.
Attribute data for SAI_PORT_ATTR_GLOBAL_FLOW_CONTROL_MODE.
Attribute data for SAI_PORT_ATTR_HOST_TX_READY_STATUS.
Enumerator | |
---|---|
SAI_PORT_HOST_TX_READY_STATUS_NOT_READY | Host TX ready status not_ready |
SAI_PORT_HOST_TX_READY_STATUS_READY | Host TX ready status ready |
Attribute data for SAI_PORT_ATTR_INTERFACE_TYPE Used for selecting electrical interface with specific electrical pin and signal quality.
Attribute data for SAI_PORT_ATTR_INTERNAL_LOOPBACK_MODE To be deprecated, use sai_port_loopback_mode_t instead.
Attribute data for SAI_PORT_ATTR_LINK_TRAINING_FAILURE_STATUS Used for Link Training failure status and error codes.
Attribute data for SAI_PORT_ATTR_LINK_TRAINING_RX_STATUS Used for receiver status for link training.
Enumerator | |
---|---|
SAI_PORT_LINK_TRAINING_RX_STATUS_NOT_TRAINED | Receiver not trained |
SAI_PORT_LINK_TRAINING_RX_STATUS_TRAINED | Receiver trained |
Attribute data for SAI_PORT_ATTR_LOOPBACK_MODE.
Attribute data for SAI_PORT_ATTR_MDIX_MODE_CONFIG Used for MDIX mode configuration.
Enumerator | |
---|---|
SAI_PORT_MDIX_MODE_CONFIG_AUTO | MDIX mode status auto |
SAI_PORT_MDIX_MODE_CONFIG_STRAIGHT | MDIX mode status straight |
SAI_PORT_MDIX_MODE_CONFIG_CROSSOVER | MDIX mode status cross over |
Attribute data for SAI_PORT_ATTR_MDIX_MODE_STATUS Used for MDIX mode status.
Enumerator | |
---|---|
SAI_PORT_MDIX_MODE_STATUS_STRAIGHT | MDIX mode status straight |
SAI_PORT_MDIX_MODE_STATUS_CROSSOVER | MDIX mode status cross over |
Attribute data for SAI_PORT_ATTR_MEDIA_TYPE.
Attribute data for SAI_PORT_ATTR_MODULE_TYPE Used for configuring Fiber module type.
Enumerator | |
---|---|
SAI_PORT_MODULE_TYPE_1000BASE_X | Module Type Fiber |
SAI_PORT_MODULE_TYPE_100FX | Module Type 100FX |
SAI_PORT_MODULE_TYPE_SGMII_SLAVE | Module Type SGMII-Slave |
Attribute data for SAI_PORT_ATTR_OPER_STATUS.
Enumerator | |
---|---|
SAI_PORT_OPER_STATUS_UNKNOWN | Unknown |
SAI_PORT_OPER_STATUS_UP | Up |
SAI_PORT_OPER_STATUS_DOWN | Down |
SAI_PORT_OPER_STATUS_TESTING | Test Running |
SAI_PORT_OPER_STATUS_NOT_PRESENT | Not Present |
Attribute data for SAI_PORT_ATTR_PATH_TRACING_TIMESTAMP_TYPE.
List of Port buffer pool attributes.
Enumerator | |
---|---|
SAI_PORT_POOL_ATTR_START | Start of attributes. |
SAI_PORT_POOL_ATTR_PORT_ID | Port ID.
|
SAI_PORT_POOL_ATTR_BUFFER_POOL_ID | Buffer pool id.
|
SAI_PORT_POOL_ATTR_QOS_WRED_PROFILE_ID | Attach WRED to port pool. ID = SAI_NULL_OBJECT_ID to disable WRED. WRED Drop/ECN marking based on port thresholds will happen only when one of queue referring to this port configured with non default value for SAI_QUEUE_ATTR_WRED_PROFILE_ID. ID = SAI_NULL_OBJECT_ID to disable WRED
|
SAI_PORT_POOL_ATTR_END | End of attributes. |
SAI_PORT_POOL_ATTR_CUSTOM_RANGE_START | Custom range base value |
SAI_PORT_POOL_ATTR_CUSTOM_RANGE_END | End of custom range base |
Port pool counter IDs in sai_get_port_pool_stats() call.
Attribute data for SAI_PORT_ATTR_PRBS_CONFIG PRBS configuration to enable transmitter, receiver or both.
enum _sai_port_ptp_mode_t |
List of Port Serdes attributes.
enum _sai_port_stat_t |
Port counter IDs in sai_get_port_stats() call.
enum _sai_port_type_t |
Attribute data for SAI_PORT_ATTR_TYPE.
Enumerator | |
---|---|
SAI_PORT_TYPE_LOGICAL | Actual port. N.B. Different from the physical port. |
SAI_PORT_TYPE_CPU | CPU Port |
SAI_PORT_TYPE_FABRIC | Fabric Port |
SAI_PORT_TYPE_RECYCLE | Recycle Port |