Mellanox SwitchX SDK API Guide  4.3.2104
Deprecated List
Global sx_api_acl_rules_get (const sx_api_handle_t handle, const sx_acl_region_id_t region_id, const sx_acl_rule_offset_t start_offset, sx_acl_rule_t *rules_list_p, uint32_t *rules_cnt_p)
This API is deprecated and will be removed in the future. Please use sx_api_acl_flex_rules_get in its place.
Global sx_api_acl_rules_set (const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_acl_region_id_t region_id, const sx_acl_rule_t *rules_list_p, const uint32_t rules_cnt)
This API is deprecated and will be removed in the future. Please use sx_api_acl_flex_rules_set in its place.
Global sx_api_bridge_port_get (const sx_api_handle_t handle, const sx_bridge_id_t bridge_id, sx_bridge_port_t *bridge_port_list_p, uint32_t *bridge_port_cnt_p)
This API is deprecated and will be removed in the future.
Global sx_api_bridge_port_set (const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_bridge_id_t bridge_id, const sx_port_log_id_t log_port, const sx_vlan_id_t vlan, const sx_untagged_member_state_t egress_mode)
This API is deprecated and will be removed in the future.
Global sx_api_cos_ip_dscp_to_prio_get (const sx_api_handle_t handle, const sx_cos_dscp_t dscp, sx_cos_priority_t *priority_p)
This API is deprecated and will be removed in the future. Please use sx_api_cos_port_dscp_to_prio_get
Global sx_api_cos_ip_dscp_to_prio_set (const sx_api_handle_t handle, const sx_cos_dscp_t dscp, const sx_cos_priority_t priority)
This API is deprecated and will be removed in the future. Please use sx_api_cos_port_dscp_to_prio_set
Global sx_api_cos_port_buff_get (const sx_api_handle_t handle, const sx_port_log_id_t log_port, sx_cos_timer_value_t *xof_timer_value_p, sx_cos_timer_value_t *xof_refresh_p, sx_cos_port_buff_size_t *total_buffer_size_p, sx_cos_port_buff_params_t *buffer_list_p)
This API is deprecated and will be removed in the future. Please use sx_api_cos_port_buff_type_get
Global sx_api_cos_port_buff_set (const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_port_log_id_t log_port, const sx_cos_timer_value_t xof_timer_value, const sx_cos_timer_value_t xof_refresh, const sx_cos_port_buff_params_t *buffer_list_p)
This API is deprecated and will be removed in the future. Please use sx_api_cos_port_buff_type_set
Global sx_api_cos_port_ets_general_configuration_get (const sx_api_handle_t handle, const sx_port_log_id_t log_port, sx_cos_port_ets_gen_config_params_t *port_config_p)
This API is deprecated and will be removed in the future. Please use sx_api_cos_port_ets_element_get
Global sx_api_cos_port_ets_general_configuration_set (const sx_api_handle_t handle, const sx_port_log_id_t log_port, const sx_cos_port_ets_gen_config_params_t *port_config_p)
This API is deprecated and will be removed in the future. Please use sx_api_cos_port_ets_element_set
Global sx_api_cos_port_ets_get (const sx_api_handle_t handle, const sx_port_log_id_t log_port, sx_cos_tc_config_params_t *tc_config_p, const uint32_t tc_config_cnt)
This API is deprecated and will be removed in the future. Please use sx_api_cos_port_ets_element_get
Global sx_api_cos_port_ets_set (const sx_api_handle_t handle, const sx_port_log_id_t log_port, const sx_cos_tc_config_params_t *tc_config_p, const uint32_t tc_config_cnt)
This API is deprecated and will be removed in the future. Please use sx_api_cos_port_ets_element_set
Global sx_api_cos_port_prio_ingress_regen_get (const sx_api_handle_t handle, const sx_port_log_id_t log_port, const sx_cos_priority_t source_priority, sx_cos_priority_t *regen_priority_p)
This API is deprecated and will be removed in the future. Please use sx_api_cos_port_pcpdei_to_prio_get
Global sx_api_cos_port_prio_ingress_regen_set (const sx_api_handle_t handle, const sx_port_log_id_t log_port, const sx_cos_priority_t source_priority, const sx_cos_priority_t regenerated_priority)
This API is deprecated and will be removed in the future. Please use sx_api_cos_port_pcpdei_to_prio_set
Global sx_api_cos_qcn_general_param_get (const sx_api_handle_t handle, const sx_swid_t swid, sx_cos_qcn_params_t *params_p)
This API is deprecated and will be removed in the future.
Global sx_api_cos_qcn_general_param_set (const sx_api_handle_t handle, const sx_swid_t swid, const sx_cos_qcn_params_t *params_p)
This API is deprecated and will be removed in the future.
Global sx_api_cos_qcn_port_prio_cpid_get (const sx_api_handle_t handle, const sx_port_log_id_t log_port, const sx_cos_priority_t priority, sx_cos_qcn_cpid_t *cpid_p)
This API is deprecated and will be removed in the future.
Global sx_api_cos_qcn_port_prio_enable_get (const sx_api_handle_t handle, const sx_port_log_id_t log_port, const sx_cos_priority_t priority, boolean_t *qcn_enable_p)
This API is deprecated and will be removed in the future.
Global sx_api_cos_qcn_port_prio_enable_set (const sx_api_handle_t handle, const sx_port_log_id_t log_port, const sx_cos_priority_t priority, const boolean_t qcn_enable)
This API is deprecated and will be removed in the future.
Global sx_api_cos_qcn_port_prio_mode_get (const sx_api_handle_t handle, const sx_port_log_id_t log_port, const sx_cos_priority_t priority, sx_cos_port_qcn_mode_t *qcn_mode_p)
This API is deprecated and will be removed in the future.
Global sx_api_cos_qcn_port_prio_mode_set (const sx_api_handle_t handle, const sx_port_log_id_t log_port, const sx_cos_priority_t priority, const sx_cos_port_qcn_mode_t qcn_mode)
This API is deprecated and will be removed in the future.
Global sx_api_cos_qcn_port_profile_bind_get (const sx_api_handle_t handle, const sx_port_log_id_t log_port, sx_cos_qcn_profile_id_t *profile_id_p)
This API is deprecated and will be removed in the future.
Global sx_api_cos_qcn_port_profile_bind_set (const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_port_log_id_t log_port, const sx_cos_qcn_profile_id_t profile_id)
This API is deprecated and will be removed in the future.
Global sx_api_cos_qcn_profile_get (const sx_api_handle_t handle, const sx_cos_qcn_profile_id_t profile_id, sx_cos_qcn_profile_params_t *params_p)
This API is deprecated and will be removed in the future.
Global sx_api_cos_qcn_profile_set (const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_cos_qcn_profile_params_t *params_p, sx_cos_qcn_profile_id_t *profile_id_p)
This API is deprecated and will be removed in the future.
Global sx_api_fcf_cntr_alloc_set (const sx_api_handle_t handle, const sx_access_cmd_t cmd, sx_fcf_cntr_id_t *cntr)
This API is deprecated and will be removed in the future
Global sx_api_fcf_cntr_bind_get (const sx_api_handle_t handle, const sx_fcf_cntr_id_t cntr, sx_fcf_v_port_handle_t *v_port_handle)
This API is deprecated and will be removed in the future
Global sx_api_fcf_cntr_bind_set (const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_fcf_cntr_id_t cntr, const sx_fcf_v_port_handle_t v_port_handle)
This API is deprecated and will be removed in the future
Global sx_api_fcf_cntr_clear_set (const sx_api_handle_t handle, const sx_fcf_cntr_id_t cntr, const boolean_t all)
This API is deprecated and will be removed in the future
Global sx_api_fcf_cntr_get (const sx_api_handle_t handle, const sx_fcf_cntr_id_t cntr, sx_fcf_cntr_set_t *cntr_set)
This API is deprecated and will be removed in the future
Global sx_api_fcf_deinit (const sx_api_handle_t handle)
This API is deprecated and will be removed in the future
Global sx_api_fcf_forwarding_get (const sx_api_handle_t handle, sx_access_cmd_t access_cmd, const sx_fcf_id_t fcf, sx_fc_addr_t *did, sx_fc_addr_t *did_mask, sx_fc_addr_t *sid, sx_fc_addr_t *sid_mask, sx_fcf_v_port_handle_t *v_port_handle)
This API is deprecated and will be removed in the future
Global sx_api_fcf_forwarding_set (const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_fcf_id_t fcf, const sx_fc_addr_t *did, const sx_fc_addr_t *did_mask, const sx_fc_addr_t *sid, const sx_fc_addr_t *sid_mask, const sx_fcf_v_port_handle_t v_port_handle)
This API is deprecated and will be removed in the future
Global sx_api_fcf_get (const sx_api_handle_t handle, const sx_access_cmd_t cmd, sx_fcf_id_t *fcf, sx_fcf_attributes_t *fcf_attr)
This API is deprecated and will be removed in the future
Global sx_api_fcf_init (const sx_api_handle_t handle, const sx_fcf_param_t *params)
This API is deprecated and will be removed in the future
Global sx_api_fcf_ipl_get (const sx_api_handle_t handle, sx_port_log_id_t port_list[], length_t *log_port_num)
This API is deprecated and will be removed in the future
Global sx_api_fcf_ipl_set (const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_port_log_id_t port_list[], const length_t log_port_num)
This API is deprecated and will be removed in the future
Global sx_api_fcf_log_verbosity_level (sx_api_handle_t handle, sx_access_cmd_t cmd, sx_log_verbosity_target_t verbosity_target, sx_verbosity_level_t *module_verbosity_level_p, sx_verbosity_level_t *api_verbosity_level_p)
This API is deprecated and will be removed in the future
Global sx_api_fcf_set (const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_fcf_attributes_t *fcf_attr, sx_fcf_id_t *fcf)
This API is deprecated and will be removed in the future
Global sx_api_fcf_v_port_interface_get (const sx_api_handle_t handle, const sx_access_cmd_t cmd, sx_fcf_v_port_handle_t *v_port_handle, sx_fcf_id_t *fcf, sx_fcf_v_port_attributes_t *v_port_attr)
This API is deprecated and will be removed in the future
Global sx_api_fcf_v_port_interface_set (const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_fcf_id_t fcf, const sx_fcf_v_port_attributes_t *v_port_attr, sx_fcf_v_port_handle_t *v_port_handle)
This API is deprecated and will be removed in the future
Global sx_api_host_ifc_trap_id_set (const sx_api_handle_t handle, const sx_swid_t swid, const sx_trap_id_t trap_id, const sx_trap_group_t trap_group, const sx_trap_action_t trap_action)
This API is deprecated and will be removed in the future. Please use sx_api_host_ifc_trap_id_ext_set in its place.
Global sx_api_router_counter_get (const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_router_counter_id_t counter, sx_router_counter_set_t *counter_set_p)

in counter_set_p, router_ingress_bad_unicast_packets is deprecated and will be removed in the future.

in counter_set_p, router_ingress_bad_multicast_packets is deprecated and will be removed in the future.

in counter_set_p, router_ingress_bad_unicast_bytes is deprecated and will be removed in the future.

in counter_set_p, router_ingress_bad_multicast_bytes is deprecated and will be removed in the future.

in counter_set_p, router_egress_bad_unicast_packets is deprecated and will be removed in the future.

in counter_set_p, router_egress_bad_multicast_packets is deprecated and will be removed in the future.

in counter_set_p, router_egress_bad_unicast_bytes is deprecated and will be removed in the future.

in counter_set_p, router_egress_bad_multicast_bytes is deprecated and will be removed in the future.

in counter_set_p, router_ingress_error_packets is deprecated and will be removed in the future.

in counter_set_p, router_ingress_error_bytes is deprecated and will be removed in the future.

in counter_set_p, router_egress_error_packets is deprecated and will be removed in the future.

in counter_set_p, router_egress_error_bytes is deprecated and will be removed in the future.

Global sx_api_router_init_set (const sx_api_handle_t handle, const sx_router_general_param_t *general_params_p, const sx_router_resources_param_t *router_resource_p)

In router_resource_p, max_vlan_router_interfaces is deprecated and will be removed in the future.

In router_resource_p, max_port_router_interfaces is deprecated and will be removed in the future.

Global sx_api_router_mc_route_set (const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_router_id_t vrid, const sx_mc_route_key_t *mc_route_key_p, const sx_mc_route_attributes_t *mc_route_attr_p, const sx_mc_route_data_t *mc_route_data_p)
In mc_router_attr_p, assert_en is deprecated and will be removed.
Global sx_api_router_neigh_set (const sx_api_handle_t handle, const sx_access_cmd_t cmd, const sx_router_interface_t rif, const sx_ip_addr_t *ip_addr_p, const sx_neigh_data_t *neigh_data_p)
In neigh_data_p, rif is deprecated and will be removed in the future.
Global sx_lib_host_ifc_data_send (const sx_fd_t *fd, const void *packet, const uint32_t packet_size, const sx_swid_t swid, const sx_cos_priority_t prio)
Prio parameter is deprecated and will be removed in the future.
Global sx_lib_host_ifc_unicast_ctrl_send (const sx_fd_t *fd_p, const void *packet_p, const uint32_t packet_size, const sx_swid_t swid, const sx_port_log_id_t egress_log_port, const sx_cos_priority_t prio)
Prio parameter is deprecated and will be removed in the future.