bcm_subport_* (50)

void BCM_SUBPORT_LINKPHY_RX_ERROR_CLEAR(bcm_subport_linkphy_rx_errors_t *_error_types, int *_error_type);
void BCM_SUBPORT_LINKPHY_RX_ERROR_CLEAR_ALL(bcm_subport_linkphy_rx_errors_t *_error_types);
int BCM_SUBPORT_LINKPHY_RX_ERROR_GET(bcm_subport_linkphy_rx_errors_t *_error_types, int *_error_type);
void BCM_SUBPORT_LINKPHY_RX_ERROR_SET(bcm_subport_linkphy_rx_errors_t *_error_types, int *_error_type);
void BCM_SUBPORT_LINKPHY_RX_ERROR_SET_ALL(bcm_subport_linkphy_rx_errors_t *_error_types);
int bcm_subport_cleanup(int unit);
void bcm_subport_config_t_init(bcm_subport_config_t *config);
void bcm_subport_cos_to_e2ecc_pri_map_t_init(bcm_subport_cos_to_e2ecc_pri_map_t *cos_to_e2ecc_map);  /* not in OpenBCM 6.5.27 */
void bcm_subport_cos_to_pfc_pri_map_t_init(bcm_subport_cos_to_pfc_pri_map_t *cos_to_pfc_map);
int bcm_subport_flow_control_add(int unit, bcm_subport_flow_control_config_t *fc_config);  /* not in OpenBCM 6.5.27 */
void bcm_subport_flow_control_config_t_init(bcm_subport_flow_control_config_t *fc_config);  /* not in OpenBCM 6.5.27 */
int bcm_subport_flow_control_delete(int unit, bcm_subport_flow_control_config_t *fc_config);  /* not in OpenBCM 6.5.27 */
int bcm_subport_flow_control_delete_all(int unit);  /* not in OpenBCM 6.5.27 */
int bcm_subport_flow_control_get(int unit, bcm_subport_flow_control_config_t *fc_config);  /* not in OpenBCM 6.5.27 */
int bcm_subport_flow_control_traverse(int unit, bcm_subport_flow_control_traverse_cb cb, void *user_data);  /* not in OpenBCM 6.5.27 */
int bcm_subport_gport_modport_get(int unit, bcm_gport_t subport_gport, bcm_module_t *module, bcm_port_t *port);
void bcm_subport_group_config_t_init(bcm_subport_group_config_t *config);
int bcm_subport_group_create(int unit, bcm_subport_group_config_t *config, bcm_gport_t *group);
int bcm_subport_group_destroy(int unit, bcm_gport_t group);
int bcm_subport_group_get(int unit, bcm_gport_t group, bcm_subport_group_config_t *config);
int bcm_subport_group_linkphy_config_get(int unit, bcm_gport_t port, bcm_subport_group_linkphy_config_t *linkphy_config);
int bcm_subport_group_linkphy_config_set(int unit, bcm_gport_t port, bcm_subport_group_linkphy_config_t *linkphy_config);
void bcm_subport_group_linkphy_config_t_init(bcm_subport_group_linkphy_config_t *linkphy_config);
int bcm_subport_group_traverse(int unit, bcm_gport_t subport_group, bcm_subport_port_traverse_cb cb, void *user_data);
int bcm_subport_id_map_add(int unit, bcm_subport_id_map_entry_t *subport_entry);
int bcm_subport_id_map_delete(int unit, bcm_subport_id_map_entry_t *subport_entry);
void bcm_subport_id_map_entry_t_init(bcm_subport_id_map_entry_t *subport_entry);
int bcm_subport_id_map_get(int unit, bcm_subport_id_map_entry_t *subport_entry);
int bcm_subport_id_map_traverse(int unit, bcm_subport_id_map_traverse_cb cb, void *user_data);
int bcm_subport_init(int unit);
void bcm_subport_linkphy_rx_error_reg_info_t_init(bcm_subport_linkphy_rx_error_reg_info_t *reg_info);
int bcm_subport_linkphy_rx_error_register(int unit, bcm_subport_linkphy_rx_errors_t errors, bcm_subport_linkphy_rx_error_reg_info_t *reg_info, void *user_data);
int bcm_subport_linkphy_rx_error_unregister(int unit, bcm_subport_linkphy_rx_errors_t errors);
int bcm_subport_port_add(int unit, bcm_subport_config_t *config, bcm_gport_t *port);
int bcm_subport_port_delete(int unit, bcm_gport_t port);
int bcm_subport_port_get(int unit, bcm_gport_t port, bcm_subport_config_t *config);
int bcm_subport_port_group_id_create(int unit, uint32 options, bcm_subport_port_group_t *port_group_id);
int bcm_subport_port_group_id_destroy(int unit, bcm_subport_port_group_t port_group_id);
int bcm_subport_port_group_id_destroy_all(int unit);
int bcm_subport_port_group_id_get(int unit, bcm_subport_port_group_t port_group_id);
int bcm_subport_port_group_id_get_all(int unit, int max_size, bcm_subport_port_group_t *port_group_id_array, int *array_size);
int bcm_subport_port_group_subport_multi_get(int unit, bcm_subport_port_group_t port_group_id, int max_subports, bcm_gport_t *subport_gports, int *num_subports);
int bcm_subport_port_group_subport_multi_set(int unit, bcm_subport_port_group_t port_group_id, int num_subports, bcm_gport_t *subport_gports);
int bcm_subport_port_stat_get(int unit, bcm_gport_t port, int stream_id, bcm_subport_stat_t stat_type, uint64 *val);
int bcm_subport_port_stat_set(int unit, bcm_gport_t port, int stream_id, bcm_subport_stat_t stat_type, uint64 val);
int bcm_subport_port_traverse(int unit, bcm_subport_port_traverse_cb cb, void *user_data);
int bcm_subport_tunnel_pbmp_profile_create(int unit, int num_subports, bcm_gport_t *subport_gport, int *subport_pbmp_profile_id);
int bcm_subport_tunnel_pbmp_profile_destroy(int unit, int subport_pbmp_profile_id);
int bcm_subport_tunnel_pbmp_profile_destroy_all(int unit);
int bcm_subport_tunnel_pbmp_profile_get(int unit, int num_subports, bcm_gport_t *subport_gport, int *subport_pbmp_profile_id);