/illumos-gate/usr/src/uts/common/sys/ib/clients/eoib/ |
H A D | eib_impl.h | 789 } eib_t; typedef in typeref:struct:eib_s 805 extern int eib_fip_login(eib_t *, eib_vnic_t *, int *); 806 extern int eib_fip_heartbeat(eib_t *, eib_vnic_t *, int *); 807 extern int eib_fip_vhub_table(eib_t *, eib_vnic_t *, int *); 808 extern int eib_fip_logout(eib_t *, eib_vnic_t *, int *); 809 extern int eib_fip_parse_login_ack(eib_t *, uint8_t *, eib_login_data_t *); 815 extern void eib_events_handler(eib_t *); 816 extern void eib_svc_enqueue_event(eib_t *, eib_event_t *); 817 extern void eib_refill_rwqes(eib_t *); 818 extern void eib_vnic_creator(eib_t *); [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_mac.c | 43 static void eib_rb_mac_start(eib_t *, eib_vnic_t *); 53 eib_mac_set_nic_state(eib_t *ss, uint_t flags) 69 eib_mac_clr_nic_state(eib_t *ss, uint_t flags) 82 eib_mac_upd_nic_state(eib_t *ss, uint_t clr_flags, uint_t set_flags) 96 eib_mac_get_nic_state(eib_t *ss) 109 eib_mac_link_state(eib_t *ss, link_state_t new_link_state, 146 eib_mac_link_up(eib_t *ss, boolean_t force) 152 eib_mac_link_down(eib_t *ss, boolean_t force) 158 eib_mac_start(eib_t *ss) 220 eib_mac_stop(eib_t *s [all...] |
H A D | eib_adm.c | 38 static int eib_adm_setup_cq(eib_t *); 39 static int eib_adm_setup_ud_channel(eib_t *); 41 static void eib_adm_rx_comp(eib_t *, eib_wqe_t *); 42 static void eib_adm_tx_comp(eib_t *, eib_wqe_t *); 43 static void eib_adm_err_comp(eib_t *, eib_wqe_t *, ibt_wc_t *); 44 static void eib_rb_adm_setup_cq(eib_t *); 45 static void eib_rb_adm_setup_ud_channel(eib_t *); 48 eib_adm_setup_qp(eib_t *ss, int *err) 120 eib_t *ss = (eib_t *)(voi [all...] |
H A D | eib_main.c | 133 static int eib_state_init(eib_t *); 134 static int eib_add_event_callbacks(eib_t *); 135 static int eib_register_with_mac(eib_t *, dev_info_t *); 136 static void eib_rb_attach(eib_t *, uint_t); 137 static void eib_rb_state_init(eib_t *); 138 static void eib_rb_add_event_callbacks(eib_t *); 139 static void eib_rb_register_with_mac(eib_t *); 159 if ((ret = ddi_soft_state_init(&eib_state, sizeof (eib_t), 0)) != 0) 199 eib_t *ss; 282 eib_t *s [all...] |
H A D | eib_rsrc.c | 38 static int eib_rsrc_setup_txbufs(eib_t *, int *); 39 static int eib_rsrc_setup_rxbufs(eib_t *, int *); 40 static int eib_rsrc_setup_lsobufs(eib_t *, int *); 41 static void eib_rsrc_init_wqe_pool(eib_t *, eib_wqe_pool_t **, 43 static void eib_rsrc_fini_wqe_pool(eib_t *, eib_wqe_pool_t **); 44 static boolean_t eib_rsrc_ok_to_free_pool(eib_t *, eib_wqe_pool_t *, boolean_t); 45 static int eib_rsrc_grab_wqes(eib_t *, eib_wqe_pool_t *, eib_wqe_t **, uint_t, 47 static void eib_rsrc_return_wqes(eib_t *, eib_wqe_pool_t *, eib_wqe_t **, 50 static void eib_rb_rsrc_setup_txbufs(eib_t *, boolean_t); 51 static void eib_rb_rsrc_setup_rxbufs(eib_t *, boolean_ [all...] |
H A D | eib_vnic.c | 38 static int eib_vnic_get_instance(eib_t *, int *); 39 static void eib_vnic_ret_instance(eib_t *, int); 40 static void eib_vnic_modify_enter(eib_t *, uint_t); 41 static void eib_vnic_modify_exit(eib_t *, uint_t); 42 static int eib_vnic_create_common(eib_t *, eib_vnic_t *, int *); 43 static int eib_vnic_set_partition(eib_t *, eib_vnic_t *, int *); 46 static int eib_vnic_attach_ctl_mcgs(eib_t *, eib_vnic_t *, int *); 47 static int eib_vnic_attach_vhub_table(eib_t *, eib_vnic_t *); 48 static int eib_vnic_attach_vhub_update(eib_t *, eib_vnic_t *); 49 static void eib_vnic_start_keepalives(eib_t *, eib_vnic_ [all...] |
H A D | eib_ctl.c | 38 static int eib_ctl_setup_cq(eib_t *, eib_vnic_t *); 39 static int eib_ctl_setup_ud_channel(eib_t *, eib_vnic_t *); 44 static void eib_rb_ctl_setup_cq(eib_t *, eib_vnic_t *); 45 static void eib_rb_ctl_setup_ud_channel(eib_t *, eib_vnic_t *); 48 eib_ctl_create_qp(eib_t *ss, eib_vnic_t *vnic, int *err) 98 eib_t *ss = vnic->vn_ss; 137 eib_rb_ctl_create_qp(eib_t *ss, eib_vnic_t *vnic) 148 eib_ctl_setup_cq(eib_t *ss, eib_vnic_t *vnic) 214 eib_ctl_setup_ud_channel(eib_t *ss, eib_vnic_t *vnic) 275 eib_t *s [all...] |
H A D | eib_svc.c | 41 eib_events_handler(eib_t *ss) 271 eib_svc_enqueue_event(eib_t *ss, eib_event_t *evi) 304 eib_refill_rwqes(eib_t *ss) 380 eib_vnic_creator(eib_t *ss) 536 eib_monitor_tx_wqes(eib_t *ss) 633 eib_monitor_lso_bufs(eib_t *ss) 727 eib_manage_keepalives(eib_t *ss) 833 eib_stop_events_handler(eib_t *ss) 847 eib_stop_refill_rwqes(eib_t *ss) 860 eib_stop_vnic_creator(eib_t *s [all...] |
H A D | eib_fip.c | 37 static int eib_fip_make_login(eib_t *, eib_vnic_t *, eib_wqe_t *, int *); 38 static int eib_fip_make_update(eib_t *, eib_vnic_t *, eib_wqe_t *, int, int *); 39 static int eib_fip_make_table(eib_t *, eib_vnic_t *, eib_wqe_t *, int *); 40 static int eib_fip_make_ka(eib_t *, eib_vnic_t *, eib_wqe_t *, int *); 41 static int eib_fip_make_logout(eib_t *, eib_vnic_t *, eib_wqe_t *, int *); 43 static int eib_fip_send_login(eib_t *, eib_vnic_t *, eib_wqe_t *, int *); 44 static int eib_fip_send_update(eib_t *, eib_vnic_t *, eib_wqe_t *, 46 static int eib_fip_send_table(eib_t *, eib_vnic_t *, eib_wqe_t *, int *); 47 static int eib_fip_send_ka(eib_t *, eib_vnic_t *, eib_wqe_t *, int *); 48 static int eib_fip_send_logout(eib_t *, eib_vnic_ [all...] |
H A D | eib_ibt.c | 41 static void eib_ibt_reset_partitions(eib_t *); 42 static void eib_ibt_wakeup_sqd_waiters(eib_t *, ibt_channel_hdl_t); 43 static int eib_ibt_chan_pkey(eib_t *, eib_chan_t *, ib_pkey_t, boolean_t, 45 static boolean_t eib_ibt_has_chan_pkey_changed(eib_t *, eib_chan_t *); 46 static boolean_t eib_ibt_has_any_pkey_changed(eib_t *); 47 static int eib_ibt_fill_avect(eib_t *, eib_avect_t *, ib_lid_t); 48 static void eib_ibt_record_srate(eib_t *); 74 eib_ibt_hca_init(eib_t *ss) 171 eib_ibt_link_mod(eib_t *ss) 330 eib_ibt_modify_chan_pkey(eib_t *s [all...] |
H A D | eib_data.c | 43 static int eib_data_setup_cqs(eib_t *, eib_vnic_t *); 44 static int eib_data_setup_ud_channel(eib_t *, eib_vnic_t *); 55 static void eib_rb_data_setup_cqs(eib_t *, eib_vnic_t *); 56 static void eib_rb_data_setup_ud_channel(eib_t *, eib_vnic_t *); 60 eib_data_create_qp(eib_t *ss, eib_vnic_t *vnic, int *err) 111 eib_t *ss = vnic->vn_ss; 231 eib_t *ss = vnic->vn_ss; 277 eib_t *ss = rwqe->qe_pool->wp_ss; 346 eib_t *ss = vnic->vn_ss; 485 eib_data_lookup_vnic(eib_t *s [all...] |
H A D | eib_chan.c | 78 eib_chan_post_rx(eib_t *ss, eib_chan_t *chan, uint_t *n_posted) 154 eib_chan_post_recv(eib_t *ss, eib_chan_t *chan, eib_wqe_t *rwqe)
|
H A D | eib_cmn.c | 157 eib_get_props(eib_t *ss) 269 eib_update_props(eib_t *ss, eib_gw_info_t *new_gw_info) 366 eib_rb_get_props(eib_t *ss)
|