/titanic_50/usr/src/uts/common/sys/nxge/ |
H A D | nxge_fzc.h | 36 nxge_status_t nxge_fzc_intr_init(p_nxge_t); 37 nxge_status_t nxge_fzc_intr_ldg_num_set(p_nxge_t); 38 nxge_status_t nxge_fzc_intr_tmres_set(p_nxge_t); 39 nxge_status_t nxge_fzc_intr_sid_set(p_nxge_t); 41 nxge_status_t nxge_fzc_dmc_rx_log_page_vld(p_nxge_t, uint16_t, 43 nxge_status_t nxge_fzc_dmc_rx_log_page_mask(p_nxge_t, uint16_t, 46 void nxge_init_fzc_txdma_channels(p_nxge_t); 48 nxge_status_t nxge_init_fzc_tdc(p_nxge_t, uint16_t); 49 nxge_status_t nxge_init_fzc_txdma_channel(p_nxge_t, uint16_t, 51 nxge_status_t nxge_init_fzc_txdma_port(p_nxge_t); [all …]
|
H A D | nxge_impl.h | 593 typedef struct _nxge_t nxge_t, *p_nxge_t; typedef 643 p_nxge_t nxgep; 663 p_nxge_t nxgep; 821 extern void nxge_fm_report_error(p_nxge_t, uint8_t, 827 nxge_status_t nxge_classify_init(p_nxge_t); 828 nxge_status_t nxge_classify_uninit(p_nxge_t); 829 nxge_status_t nxge_set_hw_classify_config(p_nxge_t); 830 nxge_status_t nxge_classify_exit_sw(p_nxge_t); 833 void nxge_put_tcam(p_nxge_t, p_mblk_t); 834 void nxge_get_tcam(p_nxge_t, p_mblk_t); [all …]
|
H A D | nxge_txdma.h | 228 nxge_status_t nxge_init_txdma_channels(p_nxge_t); 229 void nxge_uninit_txdma_channels(p_nxge_t); 231 nxge_status_t nxge_init_txdma_channel(p_nxge_t, int); 232 void nxge_uninit_txdma_channel(p_nxge_t, int); 236 nxge_status_t nxge_reset_txdma_channel(p_nxge_t, uint16_t, 238 nxge_status_t nxge_init_txdma_channel_event_mask(p_nxge_t, 240 nxge_status_t nxge_init_txdma_channel_cntl_stat(p_nxge_t, 242 nxge_status_t nxge_enable_txdma_channel(p_nxge_t, uint16_t, 247 boolean_t nxge_txdma_reclaim(p_nxge_t, p_tx_ring_t, int); 252 nxge_status_t nxge_txdma_hw_mode(p_nxge_t, boolean_t); [all …]
|
H A D | nxge_rxdma.h | 407 nxge_status_t nxge_init_rxdma_channels(p_nxge_t); 408 void nxge_uninit_rxdma_channels(p_nxge_t); 410 nxge_status_t nxge_init_rxdma_channel(p_nxge_t, int); 411 void nxge_uninit_rxdma_channel(p_nxge_t, int); 413 nxge_status_t nxge_init_rxdma_channel_rcrflush(p_nxge_t, uint8_t); 414 nxge_status_t nxge_reset_rxdma_channel(p_nxge_t, uint16_t); 415 nxge_status_t nxge_init_rxdma_channel_cntl_stat(p_nxge_t, 417 nxge_status_t nxge_enable_rxdma_channel(p_nxge_t, 420 nxge_status_t nxge_init_rxdma_channel_event_mask(p_nxge_t, 423 nxge_status_t nxge_rxdma_hw_mode(p_nxge_t, boolean_t); [all …]
|
H A D | nxge_ipp.h | 72 nxge_status_t nxge_ipp_reset(p_nxge_t); 73 nxge_status_t nxge_ipp_init(p_nxge_t); 74 nxge_status_t nxge_ipp_disable(p_nxge_t); 75 nxge_status_t nxge_ipp_drain(p_nxge_t); 76 nxge_status_t nxge_ipp_handle_sys_errors(p_nxge_t); 77 nxge_status_t nxge_ipp_fatal_err_recover(p_nxge_t); 78 nxge_status_t nxge_ipp_eccue_valid_check(p_nxge_t, boolean_t *); 79 void nxge_ipp_inject_err(p_nxge_t, uint32_t);
|
H A D | nxge_txc.h | 74 nxge_status_t nxge_txc_init(p_nxge_t); 75 nxge_status_t nxge_txc_uninit(p_nxge_t); 76 nxge_status_t nxge_txc_tdc_bind(p_nxge_t, int); 77 nxge_status_t nxge_txc_tdc_unbind(p_nxge_t, int); 78 nxge_status_t nxge_txc_handle_sys_errors(p_nxge_t); 79 void nxge_txc_inject_err(p_nxge_t, uint32_t);
|
H A D | nxge_zcp.h | 67 nxge_status_t nxge_zcp_init(p_nxge_t nxgep); 68 void nxge_zcp_inject_err(p_nxge_t nxgep, uint32_t); 69 nxge_status_t nxge_zcp_fatal_err_recover(p_nxge_t nxgep);
|
H A D | nxge_virtual.h | 75 nxge_status_t nxge_intr_mask_mgmt(p_nxge_t nxgep); 76 void nxge_virint_regs_dump(p_nxge_t nxgep);
|
H A D | nxge.h | 216 typedef int (*nxge_ndgetf_t)(p_nxge_t, queue_t *, MBLKP, caddr_t, cred_t *); 217 typedef int (*nxge_ndsetf_t)(p_nxge_t, queue_t *, 586 p_nxge_t nxgep; 600 p_nxge_t nxgep; 611 p_nxge_t nxgep; /* Driver Handle */ 1178 nxge_status_t nxge_init(p_nxge_t); 1179 void nxge_uninit(p_nxge_t); 1180 void nxge_get64(p_nxge_t, p_mblk_t); 1181 void nxge_put64(p_nxge_t, p_mblk_t); 1182 void nxge_pio_loop(p_nxge_t, p_mblk_t); [all …]
|
H A D | nxge_hio.h | 379 extern nxge_status_t nxge_tdc_lp_conf(p_nxge_t, int); 380 extern nxge_status_t nxge_rdc_lp_conf(p_nxge_t, int); 406 extern int nxge_hio_hostinfo_get_rdc_table(p_nxge_t);
|
/titanic_50/usr/src/uts/common/io/nxge/ |
H A D | nxge_ndd.c | 83 int nxge_param_set_mac(p_nxge_t, queue_t *, 85 static int nxge_param_set_port_rdc(p_nxge_t, queue_t *, 87 static int nxge_param_set_grp_rdc(p_nxge_t, queue_t *, 89 static int nxge_param_set_ether_usr(p_nxge_t, 91 static int nxge_param_set_ip_usr(p_nxge_t, 93 static int nxge_param_set_vlan_rdcgrp(p_nxge_t, 95 static int nxge_param_set_mac_rdcgrp(p_nxge_t, 97 static int nxge_param_fflp_hash_init(p_nxge_t, 99 static int nxge_param_llc_snap_enable(p_nxge_t, queue_t *, 101 static int nxge_param_hash_lookup_enable(p_nxge_t, queue_t *, [all …]
|
H A D | nxge_fflp.c | 40 static nxge_status_t nxge_fflp_vlan_tbl_clear_all(p_nxge_t); 41 static nxge_status_t nxge_fflp_tcam_invalidate_all(p_nxge_t); 42 static nxge_status_t nxge_fflp_tcam_init(p_nxge_t); 43 static nxge_status_t nxge_fflp_fcram_invalidate_all(p_nxge_t); 44 static nxge_status_t nxge_fflp_fcram_init(p_nxge_t); 45 static int nxge_flow_need_hash_lookup(p_nxge_t, flow_resource_t *); 46 static void nxge_fill_tcam_entry_tcp(p_nxge_t, flow_spec_t *, tcam_entry_t *); 47 static void nxge_fill_tcam_entry_udp(p_nxge_t, flow_spec_t *, tcam_entry_t *); 48 static void nxge_fill_tcam_entry_sctp(p_nxge_t, flow_spec_t *, tcam_entry_t *); 49 static void nxge_fill_tcam_entry_tcp_ipv6(p_nxge_t, flow_spec_t *, [all …]
|
H A D | nxge_main.c | 189 static int nxge_hsvc_register(p_nxge_t); 197 static void nxge_unattach(p_nxge_t); 201 static void nxge_remove_hard_properties(p_nxge_t); 208 extern void nxge_grp_cleanup(p_nxge_t nxge); 210 static nxge_status_t nxge_setup_system_dma_pages(p_nxge_t); 212 static nxge_status_t nxge_setup_mutexes(p_nxge_t); 213 static void nxge_destroy_mutexes(p_nxge_t); 215 static nxge_status_t nxge_map_regs(p_nxge_t nxgep); 216 static void nxge_unmap_regs(p_nxge_t nxgep); 218 static void nxge_test_map_regs(p_nxge_t nxgep); [all …]
|
H A D | nxge_fzc.c | 34 static uint64_t nxge_init_hv_fzc_lp_op(p_nxge_t, uint64_t, 38 static nxge_status_t nxge_init_fzc_rdc_pages(p_nxge_t, 41 static nxge_status_t nxge_init_fzc_tdc_pages(p_nxge_t, 52 nxge_test_and_set(p_nxge_t nxgep, uint8_t tas) in nxge_test_and_set() 67 nxge_set_fzc_multi_part_ctl(p_nxge_t nxgep, boolean_t mpc) in nxge_set_fzc_multi_part_ctl() 96 nxge_get_fzc_multi_part_ctl(p_nxge_t nxgep, boolean_t *mpc_p) in nxge_get_fzc_multi_part_ctl() 119 nxge_fzc_intr_init(p_nxge_t nxgep) in nxge_fzc_intr_init() 151 nxge_fzc_intr_ldg_num_set(p_nxge_t nxgep) in nxge_fzc_intr_ldg_num_set() 202 nxge_fzc_intr_tmres_set(p_nxge_t nxgep) in nxge_fzc_intr_tmres_set() 221 nxge_fzc_intr_sid_set(p_nxge_t nxgep) in nxge_fzc_intr_sid_set() [all …]
|
H A D | nxge_txdma.c | 59 static nxge_status_t nxge_map_txdma(p_nxge_t, int); 61 static nxge_status_t nxge_txdma_hw_start(p_nxge_t, int); 63 static nxge_status_t nxge_map_txdma_channel(p_nxge_t, uint16_t, 67 static void nxge_unmap_txdma_channel(p_nxge_t, uint16_t); 69 static nxge_status_t nxge_map_txdma_channel_buf_ring(p_nxge_t, uint16_t, 71 static void nxge_unmap_txdma_channel_buf_ring(p_nxge_t, p_tx_ring_t); 73 static void nxge_map_txdma_channel_cfg_ring(p_nxge_t, uint16_t, 76 static void nxge_unmap_txdma_channel_cfg_ring(p_nxge_t, 79 static nxge_status_t nxge_txdma_start_channel(p_nxge_t, uint16_t, 81 static nxge_status_t nxge_txdma_stop_channel(p_nxge_t, uint16_t); [all …]
|
H A D | nxge_espc.c | 31 static void nxge_check_vpd_version(p_nxge_t nxgep); 57 nxge_espc_mac_addrs_get(p_nxge_t nxgep) in nxge_espc_mac_addrs_get() 90 nxge_espc_num_macs_get(p_nxge_t nxgep, uint8_t *nmacs) in nxge_espc_num_macs_get() 109 nxge_espc_num_ports_get(p_nxge_t nxgep) in nxge_espc_num_ports_get() 132 nxge_espc_phy_type_get(p_nxge_t nxgep) in nxge_espc_phy_type_get() 187 nxge_espc_max_frame_sz_get(p_nxge_t nxgep) in nxge_espc_max_frame_sz_get() 207 nxge_vpd_info_get(p_nxge_t nxgep) in nxge_vpd_info_get() 278 nxge_check_vpd_version(p_nxge_t nxgep) in nxge_check_vpd_version()
|
H A D | nxge_hw.c | 48 void nxge_get_mii(p_nxge_t nxgep, p_mblk_t mp); 49 void nxge_put_mii(p_nxge_t nxgep, p_mblk_t mp); 50 static nxge_status_t nxge_check_xaui_xfp(p_nxge_t nxgep); 57 nxge_rtrace_ioctl(p_nxge_t, queue_t *, mblk_t *, struct iocblk *); 61 nxge_global_reset(p_nxge_t nxgep) in nxge_global_reset() 96 nxge_hw_id_init(p_nxge_t nxgep) in nxge_hw_id_init() 119 nxge_hw_init_niu_common(p_nxge_t nxgep) in nxge_hw_init_niu_common() 195 p_nxge_t nxgep = (p_nxge_t)arg2; in nxge_intr() 323 nxge_check_xaui_xfp(p_nxge_t nxgep) in nxge_check_xaui_xfp() 395 p_nxge_t nxgep = (p_nxge_t)arg2; in nxge_syserr_intr() [all …]
|
H A D | nxge_rxdma.c | 72 static nxge_status_t nxge_map_rxdma(p_nxge_t, int); 73 static void nxge_unmap_rxdma(p_nxge_t, int); 75 static nxge_status_t nxge_rxdma_hw_start_common(p_nxge_t); 77 static nxge_status_t nxge_rxdma_hw_start(p_nxge_t, int); 78 static void nxge_rxdma_hw_stop(p_nxge_t, int); 80 static nxge_status_t nxge_map_rxdma_channel(p_nxge_t, uint16_t, 85 static void nxge_unmap_rxdma_channel(p_nxge_t, uint16_t, 88 static nxge_status_t nxge_map_rxdma_channel_cfg_ring(p_nxge_t, 92 static void nxge_unmap_rxdma_channel_cfg_ring(p_nxge_t, 95 static nxge_status_t nxge_map_rxdma_channel_buf_ring(p_nxge_t, [all …]
|
H A D | nxge_mac.c | 86 static uint32_t nxge_get_cl45_pma_pmd_id(p_nxge_t, int); 87 static uint32_t nxge_get_cl45_pcs_id(p_nxge_t, int); 88 static uint32_t nxge_get_cl22_phy_id(p_nxge_t, int); 90 static boolean_t nxge_hswap_phy_present(p_nxge_t, uint8_t); 91 static boolean_t nxge_is_phy_present(p_nxge_t, int, uint32_t, uint32_t); 92 static nxge_status_t nxge_n2_serdes_init(p_nxge_t); 93 static nxge_status_t nxge_n2_kt_serdes_init(p_nxge_t); 94 static nxge_status_t nxge_neptune_10G_serdes_init(p_nxge_t); 95 static nxge_status_t nxge_1G_serdes_init(p_nxge_t); 96 static nxge_status_t nxge_10G_link_intr_stop(p_nxge_t); [all …]
|
H A D | nxge_classify.c | 168 nxge_classify_init(p_nxge_t nxgep) in nxge_classify_init() 187 nxge_classify_uninit(p_nxge_t nxgep) in nxge_classify_uninit() 200 nxge_classify_get_cfg_value(p_nxge_t nxgep, uint8_t cfg_type, uint8_t cfg_param) in nxge_classify_get_cfg_value() 219 nxge_set_hw_classify_config(p_nxge_t nxgep) in nxge_set_hw_classify_config()
|
H A D | nxge_txc.c | 32 nxge_txc_handle_port_errors(p_nxge_t, uint32_t); 36 extern nxge_status_t nxge_tx_port_fatal_err_recover(p_nxge_t); 39 nxge_txc_init(p_nxge_t nxgep) in nxge_txc_init() 83 nxge_txc_uninit(p_nxge_t nxgep) in nxge_txc_uninit() 148 p_nxge_t nxgep, in nxge_txc_tdc_bind() 250 p_nxge_t nxgep, in nxge_txc_tdc_unbind() 298 nxge_txc_regs_dump(p_nxge_t nxgep) in nxge_txc_regs_dump() 335 nxge_txc_handle_sys_errors(p_nxge_t nxgep) in nxge_txc_handle_sys_errors() 389 nxge_txc_handle_port_errors(p_nxge_t nxgep, uint32_t err_status) in nxge_txc_handle_port_errors() 522 nxge_txc_inject_err(p_nxge_t nxgep, uint32_t err_id) in nxge_txc_inject_err()
|
H A D | nxge_virtual.c | 41 static nxge_status_t nxge_get_mac_addr_properties(p_nxge_t); 42 static nxge_status_t nxge_use_cfg_n2niu_properties(p_nxge_t); 43 static void nxge_use_cfg_neptune_properties(p_nxge_t); 44 static void nxge_use_cfg_dma_config(p_nxge_t); 45 static void nxge_use_cfg_vlan_class_config(p_nxge_t); 46 static void nxge_use_cfg_mac_class_config(p_nxge_t); 47 static void nxge_use_cfg_class_config(p_nxge_t); 48 static void nxge_use_cfg_link_cfg(p_nxge_t); 49 static void nxge_set_hw_dma_config(p_nxge_t); 50 static void nxge_set_hw_vlan_class_config(p_nxge_t); [all …]
|
H A D | nxge_kstats.c | 37 void nxge_mac_init_kstats(p_nxge_t, struct kstat *); 43 nxge_init_statsp(p_nxge_t nxgep) in nxge_init_statsp() 523 p_nxge_t nxgep; in nxge_tdc_stat_update() 529 nxgep = (p_nxge_t)ksp->ks_private; in nxge_tdc_stat_update() 592 p_nxge_t nxgep; in nxge_rdc_stat_update() 598 nxgep = (p_nxge_t)ksp->ks_private; in nxge_rdc_stat_update() 683 p_nxge_t nxgep; in nxge_rdc_sys_stat_update() 687 nxgep = (p_nxge_t)ksp->ks_private; in nxge_rdc_sys_stat_update() 716 p_nxge_t nxgep; in nxge_txc_stat_update() 720 nxgep = (p_nxge_t)ksp->ks_private; in nxge_txc_stat_update() [all …]
|
H A D | nxge_ipp.c | 35 nxge_ipp_init(p_nxge_t nxgep) in nxge_ipp_init() 126 nxge_ipp_disable(p_nxge_t nxgep) in nxge_ipp_disable() 182 nxge_ipp_reset(p_nxge_t nxgep) in nxge_ipp_reset() 250 nxge_ipp_enable(p_nxge_t nxgep) in nxge_ipp_enable() 286 nxge_ipp_drain(p_nxge_t nxgep) in nxge_ipp_drain() 331 nxge_ipp_handle_sys_errors(p_nxge_t nxgep) in nxge_ipp_handle_sys_errors() 506 nxge_ipp_inject_err(p_nxge_t nxgep, uint32_t err_id) in nxge_ipp_inject_err() 596 nxge_ipp_fatal_err_recover(p_nxge_t nxgep) in nxge_ipp_fatal_err_recover() 723 nxge_ipp_eccue_valid_check(p_nxge_t nxgep, boolean_t *valid) in nxge_ipp_eccue_valid_check()
|
H A D | nxge_zcp.c | 33 nxge_zcp_init(p_nxge_t nxgep) in nxge_zcp_init() 113 nxge_zcp_handle_sys_errors(p_nxge_t nxgep) in nxge_zcp_handle_sys_errors() 274 nxge_zcp_inject_err(p_nxge_t nxgep, uint32_t err_id) in nxge_zcp_inject_err() 389 nxge_zcp_fatal_err_recover(p_nxge_t nxgep) in nxge_zcp_fatal_err_recover()
|