Home
last modified time | relevance | path

Searched refs:p_hxge_t (Results 1 – 18 of 18) sorted by relevance

/titanic_41/usr/src/uts/common/io/hxge/
H A Dhxge_impl.h212 typedef struct _hxge_t hxge_t, *p_hxge_t; typedef
261 p_hxge_t hxgep;
279 p_hxge_t hxgep;
344 extern void hxge_fm_report_error(p_hxge_t hxgep,
351 hxge_status_t hxge_classify_init(p_hxge_t hxgep);
352 hxge_status_t hxge_classify_uninit(p_hxge_t hxgep);
353 void hxge_put_tcam(p_hxge_t hxgep, p_mblk_t mp);
354 void hxge_get_tcam(p_hxge_t hxgep, p_mblk_t mp);
356 hxge_status_t hxge_classify_init_hw(p_hxge_t hxgep);
357 hxge_status_t hxge_classify_init_sw(p_hxge_t hxgep);
[all …]
H A Dhxge_txdma.h204 hxge_status_t hxge_init_txdma_channels(p_hxge_t hxgep);
205 void hxge_uninit_txdma_channels(p_hxge_t hxgep);
208 hxge_status_t hxge_reset_txdma_channel(p_hxge_t hxgep, uint16_t channel,
210 hxge_status_t hxge_init_txdma_channel_event_mask(p_hxge_t hxgep,
212 hxge_status_t hxge_enable_txdma_channel(p_hxge_t hxgep, uint16_t channel,
217 boolean_t hxge_txdma_reclaim(p_hxge_t hxgep,
223 hxge_status_t hxge_txdma_hw_mode(p_hxge_t hxgep, boolean_t enable);
224 void hxge_txdma_stop(p_hxge_t hxgep);
225 void hxge_fixup_txdma_rings(p_hxge_t hxgep);
226 void hxge_txdma_hw_kick(p_hxge_t hxgep);
[all …]
H A Dhxge_fzc.h37 hxge_status_t hxge_fzc_intr_init(p_hxge_t hxgep);
38 hxge_status_t hxge_fzc_intr_ldg_num_set(p_hxge_t hxgep);
39 hxge_status_t hxge_fzc_intr_tmres_set(p_hxge_t hxgep);
40 hxge_status_t hxge_fzc_intr_sid_set(p_hxge_t hxgep);
42 hxge_status_t hxge_init_fzc_txdma_channel(p_hxge_t hxgep, uint16_t channel,
45 hxge_status_t hxge_init_fzc_rxdma_channel(p_hxge_t hxgep, uint16_t channel,
48 hxge_status_t hxge_init_fzc_rx_common(p_hxge_t hxgep);
50 hxge_status_t hxge_init_fzc_rxdma_channel_pages(p_hxge_t hxgep,
53 hxge_status_t hxge_init_fzc_txdma_channel_pages(p_hxge_t hxgep,
56 hxge_status_t hxge_fzc_sys_err_mask_set(p_hxge_t hxgep, boolean_t mask);
H A Dhxge_vmac.c30 hxge_status_t hxge_vmac_init(p_hxge_t hxgep);
31 hxge_status_t hxge_tx_vmac_init(p_hxge_t hxgep);
32 hxge_status_t hxge_rx_vmac_init(p_hxge_t hxgep);
33 hxge_status_t hxge_tx_vmac_enable(p_hxge_t hxgep);
34 hxge_status_t hxge_tx_vmac_disable(p_hxge_t hxgep);
35 hxge_status_t hxge_rx_vmac_enable(p_hxge_t hxgep);
36 hxge_status_t hxge_rx_vmac_disable(p_hxge_t hxgep);
37 hxge_status_t hxge_tx_vmac_reset(p_hxge_t hxgep);
38 hxge_status_t hxge_rx_vmac_reset(p_hxge_t hxgep);
40 hxge_status_t hxge_set_promisc(p_hxge_t hxgep, boolean_t on);
[all …]
H A Dhxge_pfc.c34 static hxge_status_t hxge_pfc_load_hash_table(p_hxge_t hxgep);
35 static uint32_t hxge_get_blade_id(p_hxge_t hxgep);
36 static hxge_status_t hxge_tcam_default_add_entry(p_hxge_t hxgep,
38 static hxge_status_t hxge_tcam_default_config(p_hxge_t hxgep);
41 hxge_classify_init(p_hxge_t hxgep) in hxge_classify_init()
63 hxge_classify_uninit(p_hxge_t hxgep) in hxge_classify_uninit()
69 hxge_tcam_dump_entry(p_hxge_t hxgep, uint32_t location) in hxge_tcam_dump_entry()
101 hxge_get_tcam(p_hxge_t hxgep, p_mblk_t mp) in hxge_get_tcam()
130 hxge_add_tcam_entry(p_hxge_t hxgep, flow_resource_t *flow_res) in hxge_add_tcam_entry()
136 hxge_put_tcam(p_hxge_t hxgep, p_mblk_t mp) in hxge_put_tcam()
[all …]
H A Dhxge_main.c89 static void hxge_unattach(p_hxge_t);
91 static hxge_status_t hxge_setup_system_dma_pages(p_hxge_t);
93 static hxge_status_t hxge_setup_mutexes(p_hxge_t);
94 static void hxge_destroy_mutexes(p_hxge_t);
96 static hxge_status_t hxge_map_regs(p_hxge_t hxgep);
97 static void hxge_unmap_regs(p_hxge_t hxgep);
99 static hxge_status_t hxge_add_intrs(p_hxge_t hxgep);
100 static void hxge_remove_intrs(p_hxge_t hxgep);
101 static hxge_status_t hxge_add_intrs_adv(p_hxge_t hxgep);
102 static hxge_status_t hxge_add_intrs_adv_type(p_hxge_t, uint32_t);
[all …]
H A Dhxge_fzc.c36 hxge_fzc_intr_init(p_hxge_t hxgep) in hxge_fzc_intr_init()
66 hxge_fzc_intr_ldg_num_set(p_hxge_t hxgep) in hxge_fzc_intr_ldg_num_set()
114 hxge_fzc_intr_tmres_set(p_hxge_t hxgep) in hxge_fzc_intr_tmres_set()
134 hxge_fzc_intr_sid_set(p_hxge_t hxgep) in hxge_fzc_intr_sid_set()
176 hxge_init_fzc_rxdma_channel(p_hxge_t hxgep, uint16_t channel, in hxge_init_fzc_rxdma_channel()
194 hxge_init_fzc_rxdma_channel_pages(p_hxge_t hxgep, in hxge_init_fzc_rxdma_channel_pages()
218 hxge_init_fzc_txdma_channel(p_hxge_t hxgep, uint16_t channel, in hxge_init_fzc_txdma_channel()
233 hxge_init_fzc_rx_common(p_hxge_t hxgep) in hxge_init_fzc_rx_common()
262 hxge_init_fzc_txdma_channel_pages(p_hxge_t hxgep, uint16_t channel, in hxge_init_fzc_txdma_channel_pages()
284 hxge_fzc_sys_err_mask_set(p_hxge_t hxgep, boolean_t mask) in hxge_fzc_sys_err_mask_set()
H A Dhxge_ndd.c69 int hxge_param_rx_intr_pkts(p_hxge_t hxgep, queue_t *,
71 int hxge_param_rx_intr_time(p_hxge_t hxgep, queue_t *,
73 static int hxge_param_set_mac(p_hxge_t, queue_t *,
75 static int hxge_param_set_ether_usr(p_hxge_t hxgep, queue_t *, mblk_t *,
77 int hxge_param_set_ip_opt(p_hxge_t hxgep,
79 static int hxge_param_pfc_hash_init(p_hxge_t hxgep,
81 static int hxge_param_tcam_enable(p_hxge_t hxgep, queue_t *,
83 static int hxge_param_get_rxdma_info(p_hxge_t hxgep, queue_t *q,
85 static int hxge_param_set_vlan_ids(p_hxge_t hxgep, queue_t *q,
87 static int hxge_param_get_vlan_ids(p_hxge_t hxgep, queue_t *q,
[all …]
H A Dhxge_txdma.c54 static hxge_status_t hxge_map_txdma(p_hxge_t hxgep);
55 static void hxge_unmap_txdma(p_hxge_t hxgep);
56 static hxge_status_t hxge_txdma_hw_start(p_hxge_t hxgep);
57 static void hxge_txdma_hw_stop(p_hxge_t hxgep);
59 static hxge_status_t hxge_map_txdma_channel(p_hxge_t hxgep, uint16_t channel,
63 static void hxge_unmap_txdma_channel(p_hxge_t hxgep, uint16_t channel,
65 static hxge_status_t hxge_map_txdma_channel_buf_ring(p_hxge_t hxgep, uint16_t,
67 static void hxge_unmap_txdma_channel_buf_ring(p_hxge_t hxgep,
69 static void hxge_map_txdma_channel_cfg_ring(p_hxge_t, uint16_t,
71 static void hxge_unmap_txdma_channel_cfg_ring(p_hxge_t hxgep,
[all …]
H A Dhxge_hw.c35 static void hxge_rtrace_ioctl(p_hxge_t, queue_t *, mblk_t *, struct iocblk *);
38 hxge_global_reset(p_hxge_t hxgep) in hxge_global_reset()
56 hxge_hw_id_init(p_hxge_t hxgep) in hxge_hw_id_init()
76 hxge_hw_init_niu_common(p_hxge_t hxgep) in hxge_hw_init_niu_common()
113 p_hxge_t hxgep = (p_hxge_t)arg2; in hxge_intr()
225 hxge_peu_handle_sys_errors(p_hxge_t hxgep) in hxge_peu_handle_sys_errors()
342 p_hxge_t hxgep = (p_hxge_t)arg2; in hxge_syserr_intr()
421 hxge_intr_hw_enable(p_hxge_t hxgep) in hxge_intr_hw_enable()
431 hxge_intr_hw_disable(p_hxge_t hxgep) in hxge_intr_hw_disable()
444 p_hxge_t hxgep = (p_hxge_t)arg; in hxge_rx_hw_blank()
[all …]
H A Dhxge_virtual.c32 static hxge_status_t hxge_get_mac_addr_properties(p_hxge_t);
33 static void hxge_use_cfg_hydra_properties(p_hxge_t);
34 static void hxge_use_cfg_dma_config(p_hxge_t);
35 static void hxge_use_cfg_class_config(p_hxge_t);
36 static void hxge_set_hw_dma_config(p_hxge_t);
37 static void hxge_set_hw_class_config(p_hxge_t);
58 hxge_get_config_properties(p_hxge_t hxgep) in hxge_get_config_properties()
90 hxge_set_hw_vlan_class_config(p_hxge_t hxgep) in hxge_set_hw_vlan_class_config()
152 hxge_use_cfg_vlan_class_config(p_hxge_t hxgep) in hxge_use_cfg_vlan_class_config()
200 hxge_use_cfg_hydra_properties(p_hxge_t hxgep) in hxge_use_cfg_hydra_properties()
[all …]
H A Dhxge_rxdma.c60 static hxge_status_t hxge_map_rxdma(p_hxge_t hxgep);
61 static void hxge_unmap_rxdma(p_hxge_t hxgep);
62 static hxge_status_t hxge_rxdma_hw_start_common(p_hxge_t hxgep);
63 static hxge_status_t hxge_rxdma_hw_start(p_hxge_t hxgep);
64 static void hxge_rxdma_hw_stop(p_hxge_t hxgep);
65 static hxge_status_t hxge_map_rxdma_channel(p_hxge_t hxgep, uint16_t channel,
70 static void hxge_unmap_rxdma_channel(p_hxge_t hxgep, uint16_t channel,
72 static hxge_status_t hxge_map_rxdma_channel_cfg_ring(p_hxge_t hxgep,
76 static void hxge_unmap_rxdma_channel_cfg_ring(p_hxge_t hxgep,
78 static hxge_status_t hxge_map_rxdma_channel_buf_ring(p_hxge_t hxgep,
[all …]
H A Dhxge_kstats.c37 hxge_init_statsp(p_hxge_t hxgep) in hxge_init_statsp()
352 p_hxge_t hxgep; in hxge_tdc_stat_update()
358 hxgep = (p_hxge_t)ksp->ks_private; in hxge_tdc_stat_update()
410 p_hxge_t hxgep; in hxge_tdc_sys_stat_update()
414 hxgep = (p_hxge_t)ksp->ks_private; in hxge_tdc_sys_stat_update()
440 p_hxge_t hxgep; in hxge_rdc_stat_update()
446 hxgep = (p_hxge_t)ksp->ks_private; in hxge_rdc_stat_update()
494 p_hxge_t hxgep; in hxge_rdc_sys_stat_update()
498 hxgep = (p_hxge_t)ksp->ks_private; in hxge_rdc_sys_stat_update()
523 p_hxge_t hxgep; in hxge_vmac_stat_update()
[all …]
H A Dhxge_rxdma.h477 hxge_status_t hxge_init_rxdma_channels(p_hxge_t hxgep);
478 void hxge_uninit_rxdma_channels(p_hxge_t hxgep);
479 hxge_status_t hxge_init_rxdma_channel_cntl_stat(p_hxge_t hxgep,
481 hxge_status_t hxge_enable_rxdma_channel(p_hxge_t hxgep,
484 hxge_status_t hxge_rxdma_hw_mode(p_hxge_t hxgep, boolean_t enable);
485 int hxge_rxdma_get_ring_index(p_hxge_t hxgep, uint16_t channel);
486 hxge_status_t hxge_rxdma_handle_sys_errors(p_hxge_t hxgep);
H A Dhxge_fm.c174 hxge_fm_init(p_hxge_t hxgep, ddi_device_acc_attr_t *reg_attr, in hxge_fm_init()
242 hxge_fm_fini(p_hxge_t hxgep) in hxge_fm_fini()
318 hxge_fm_ereport(p_hxge_t hxgep, uint8_t err_chan, in hxge_fm_ereport()
469 hxge_fm_report_error(p_hxge_t hxgep, uint8_t err_chan, in hxge_fm_report_error()
H A Dhxge.h633 hxge_status_t hxge_init(p_hxge_t);
634 void hxge_uninit(p_hxge_t);
637 timeout_id_t hxge_start_timer(p_hxge_t hxgep, fptrv_t func, int msec);
638 void hxge_stop_timer(p_hxge_t hxgep, timeout_id_t timerid);
H A Dhxge_virtual.h49 hxge_status_t hxge_intr_mask_mgmt(p_hxge_t hxgep);
H A Dhxge_send.c39 static int hxge_start(p_hxge_t hxgep, p_tx_ring_t tx_ring_p, p_mblk_t mp);
67 p_hxge_t hxgep; in hxge_tx_ring_send()
88 hxge_start(p_hxge_t hxgep, p_tx_ring_t tx_ring_p, p_mblk_t mp) in hxge_start()