/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_vnic.c | 501 ret = ibt_leave_mcg(mcg->mg_rgid, mcg->mg_mgid, in eib_vnic_join_data_mcg() 565 (void) ibt_leave_mcg(mcg->mg_rgid, mcg->mg_mgid, in eib_vnic_join_data_mcg() 1836 for (mcg = chan->ch_vhub_data; mcg; mcg = mcg->mg_next) { in eib_vnic_lookup_dest() 1880 for (mcg = mcglist; mcg != NULL; mcg = nxt) { in eib_vnic_leave_all_data_mcgs() 1889 mcg->mg_mcginfo, mcg->mg_mgid.gid_prefix, in eib_vnic_leave_all_data_mcgs() 1893 ret = ibt_leave_mcg(mcg->mg_rgid, mcg->mg_mgid, in eib_vnic_leave_all_data_mcgs() 1932 for (mcg = mcglist; mcg != NULL; mcg = next) { in eib_vnic_rejoin_data_mcgs() 2061 mcg->mg_mcginfo, mcg->mg_mgid.gid_prefix, in eib_rb_vnic_attach_vhub_table() 2107 mcg->mg_mcginfo, mcg->mg_mgid.gid_prefix, in eib_rb_vnic_attach_vhub_update() 2180 for (mcg = chan->ch_vhub_data; mcg != NULL; mcg = mcg->mg_next) { in eib_rb_vnic_join_data_mcg() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_misc.c | 514 tavor_mcghdl_t mcg, newmcg; in tavor_mcg_attach() local 595 if ((mcg->mcg_mgid_h == 0) && (mcg->mcg_mgid_l == 0)) { in tavor_mcg_attach() 648 mcg->mcg_num_qps++; in tavor_mcg_attach() 740 mcg->mcg_num_qps++; in tavor_mcg_attach() 908 tavor_mcghdl_t mcg; in tavor_mcg_detach() local 965 if (((mcg->mcg_mgid_h == 0) && (mcg->mcg_mgid_l == 0)) || in tavor_mcg_detach() 1016 if (mcg->mcg_num_qps == 1) { in tavor_mcg_detach() 1045 mcg->mcg_num_qps--; in tavor_mcg_detach() 1244 mcg->mcg_rsrcp = mcg_rsrc; in tavor_mcg_setup_new_hdr() 1245 mcg->mcg_next_indx = 0; in tavor_mcg_setup_new_hdr() [all …]
|
H A D | tavor_cmd.c | 2471 tavor_read_mgm_cmd_post(tavor_state_t *state, tavor_hw_mcg_t *mcg, in tavor_read_mgm_cmd_post() argument 2508 ((uint64_t *)mcg)[i] = data; in tavor_read_mgm_cmd_post() 2514 ((uint32_t *)mcg)[i + 8] = data; in tavor_read_mgm_cmd_post() 2535 tavor_write_mgm_cmd_post(tavor_state_t *state, tavor_hw_mcg_t *mcg, in tavor_write_mgm_cmd_post() argument 2555 data = ((uint64_t *)mcg)[i]; in tavor_write_mgm_cmd_post() 2561 data = ((uint32_t *)mcg)[i + 8]; in tavor_write_mgm_cmd_post()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_misc.c | 726 hermon_mcghdl_t mcg, newmcg; in hermon_mcg_attach() local 810 if ((mcg->mcg_mgid_h == 0) && (mcg->mcg_mgid_l == 0)) { in hermon_mcg_attach() 870 mcg->mcg_num_qps++; in hermon_mcg_attach() 972 mcg->mcg_num_qps++; in hermon_mcg_attach() 1148 hermon_mcghdl_t mcg; in hermon_mcg_detach() local 1208 if (((mcg->mcg_mgid_h == 0) && (mcg->mcg_mgid_l == 0)) || in hermon_mcg_detach() 1262 if (mcg->mcg_num_qps == 1) { in hermon_mcg_detach() 1296 mcg->mcg_num_qps--; in hermon_mcg_detach() 1494 mcg->mcg_rsrcp = mcg_rsrc; in hermon_mcg_setup_new_hdr() 1495 mcg->mcg_next_indx = 0; in hermon_mcg_setup_new_hdr() [all …]
|
H A D | hermon_cmd.c | 3266 hermon_read_mgm_cmd_post(hermon_state_t *state, hermon_hw_mcg_t *mcg, in hermon_read_mgm_cmd_post() argument 3306 ((uint64_t *)mcg)[i] = data; in hermon_read_mgm_cmd_post() 3312 ((uint32_t *)mcg)[i + 8] = data32; in hermon_read_mgm_cmd_post() 3332 hermon_write_mgm_cmd_post(hermon_state_t *state, hermon_hw_mcg_t *mcg, in hermon_write_mgm_cmd_post() argument 3354 data = ((uint64_t *)mcg)[i]; in hermon_write_mgm_cmd_post() 3360 data = ((uint32_t *)mcg)[i + 8]; in hermon_write_mgm_cmd_post()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_qp.c | 59 ibt_mcg_info_t mcg; member 2311 if (cmd.mlid == mc->mcg.mc_adds_vect.av_dlid && in sol_uverbs_attach_mcast() 2330 mc->mcg.mc_adds_vect.av_dlid = cmd.mlid; in sol_uverbs_attach_mcast() 2333 rc = ibt_attach_mcg(uqp->qp, &mc->mcg); in sol_uverbs_attach_mcast() 2376 ibt_mcg_info_t mcg; in sol_uverbs_detach_mcast() local 2397 (void) memset(&mcg, 0, sizeof (mcg)); in sol_uverbs_detach_mcast() 2410 mcg.mc_adds_vect.av_dlid = cmd.mlid; in sol_uverbs_detach_mcast() 2411 mcg.mc_adds_vect.av_dgid = mc_gid; in sol_uverbs_detach_mcast() 2413 rc = ibt_detach_mcg(uqp->qp, &mcg); in sol_uverbs_detach_mcast() 2431 if (cmd.mlid == mc->mcg.mc_adds_vect.av_dlid && in sol_uverbs_detach_mcast() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_misc.h | 116 #define TAVOR_MCG_GET_QPLIST_PTR(mcg) \ argument 117 ((tavor_hw_mcg_qp_list_t *)((uintptr_t)(mcg) + \
|
H A D | tavor_cmd.h | 732 int tavor_read_mgm_cmd_post(tavor_state_t *state, tavor_hw_mcg_t *mcg, 734 int tavor_write_mgm_cmd_post(tavor_state_t *state, tavor_hw_mcg_t *mcg,
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_misc.h | 107 #define HERMON_MCG_GET_QPLIST_PTR(mcg) \ argument 108 ((hermon_hw_mcg_qp_list_t *)((uintptr_t)(mcg) + \
|
H A D | hermon_cmd.h | 827 int hermon_read_mgm_cmd_post(hermon_state_t *state, hermon_hw_mcg_t *mcg, 829 int hermon_write_mgm_cmd_post(hermon_state_t *state, hermon_hw_mcg_t *mcg,
|
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_mca.c | 642 uint64_t mcg = gcl->gcl_mcg_status; in gcpu_ereport_add_logout() local 643 int mcip = mcg & MCG_STATUS_MCIP; in gcpu_ereport_add_logout() 715 DATA_TYPE_UINT64, mcg, NULL); in gcpu_ereport_add_logout() 726 mcg & MCG_STATUS_EIPV) { in gcpu_ereport_add_logout()
|