/titanic_44/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_vnic.c | 422 eib_mcg_t *mcg; in eib_vnic_join_data_mcg() local 453 mcg = kmem_zalloc(sizeof (eib_mcg_t), KM_NOSLEEP); in eib_vnic_join_data_mcg() 454 if (mcg == NULL) { in eib_vnic_join_data_mcg() 463 mcg->mg_next = NULL; in eib_vnic_join_data_mcg() 464 mcg->mg_rgid = ss->ei_props->ep_sgid; in eib_vnic_join_data_mcg() 465 mcg->mg_mgid = mcg_attr.mc_mgid; in eib_vnic_join_data_mcg() 466 mcg->mg_join_state = IB_MC_JSTATE_FULL; in eib_vnic_join_data_mcg() 467 mcg->mg_mcginfo = mcg_info; in eib_vnic_join_data_mcg() 468 bcopy(mcast_mac, mcg->mg_mac, ETHERADDRL); in eib_vnic_join_data_mcg() 476 mcg_attr.mc_join_state = mcg->mg_join_state; in eib_vnic_join_data_mcg() [all …]
|
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_misc.c | 51 static int tavor_mcg_qplist_add(tavor_state_t *state, tavor_mcghdl_t mcg, 53 static int tavor_mcg_qplist_remove(tavor_mcghdl_t mcg, 59 static void tavor_mcg_setup_new_hdr(tavor_mcghdl_t mcg, 556 tavor_mcghdl_t mcg, newmcg; in tavor_mcg_attach() local 642 mcg = &state->ts_mcghdl[end_indx]; in tavor_mcg_attach() 649 if ((mcg->mcg_mgid_h == 0) && (mcg->mcg_mgid_l == 0)) { in tavor_mcg_attach() 652 tavor_mcg_setup_new_hdr(mcg, mcg_entry, gid, NULL); in tavor_mcg_attach() 663 status = tavor_mcg_qplist_add(state, mcg, mcg_entry_qplist, qp, in tavor_mcg_attach() 666 bzero(mcg, sizeof (struct tavor_sw_mcg_list_s)); in tavor_mcg_attach() 686 bzero(mcg, sizeof (struct tavor_sw_mcg_list_s)); in tavor_mcg_attach() [all …]
|
H A D | tavor_cmd.c | 2779 tavor_read_mgm_cmd_post(tavor_state_t *state, tavor_hw_mcg_t *mcg, in tavor_read_mgm_cmd_post() argument 2821 ((uint64_t *)mcg)[i] = data; in tavor_read_mgm_cmd_post() 2827 ((uint32_t *)mcg)[i + 8] = data; in tavor_read_mgm_cmd_post() 2849 tavor_write_mgm_cmd_post(tavor_state_t *state, tavor_hw_mcg_t *mcg, in tavor_write_mgm_cmd_post() argument 2873 data = ((uint64_t *)mcg)[i]; in tavor_write_mgm_cmd_post() 2879 data = ((uint32_t *)mcg)[i + 8]; in tavor_write_mgm_cmd_post()
|
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_misc.c | 51 static int hermon_mcg_qplist_add(hermon_state_t *state, hermon_mcghdl_t mcg, 53 static int hermon_mcg_qplist_remove(hermon_mcghdl_t mcg, 59 static void hermon_mcg_setup_new_hdr(hermon_mcghdl_t mcg, 726 hermon_mcghdl_t mcg, newmcg; in hermon_mcg_attach() local 803 mcg = &state->hs_mcghdl[end_indx]; in hermon_mcg_attach() 810 if ((mcg->mcg_mgid_h == 0) && (mcg->mcg_mgid_l == 0)) { in hermon_mcg_attach() 813 hermon_mcg_setup_new_hdr(mcg, mcg_entry, gid, NULL); in hermon_mcg_attach() 824 status = hermon_mcg_qplist_add(state, mcg, mcg_entry_qplist, qp, in hermon_mcg_attach() 827 bzero(mcg, sizeof (struct hermon_sw_mcg_list_s)); in hermon_mcg_attach() 832 mcg_entry->member_cnt = (mcg->mcg_num_qps + 1); in hermon_mcg_attach() [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()
|
/titanic_44/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() 2312 !memcmp(&mc_gid.gid, &mc->mcg.mc_adds_vect.av_dgid, in sol_uverbs_attach_mcast() 2330 mc->mcg.mc_adds_vect.av_dlid = cmd.mlid; in sol_uverbs_attach_mcast() 2331 bcopy(&mc_gid, &(mc->mcg.mc_adds_vect.av_dgid), sizeof (mc_gid)); 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() [all …]
|
/titanic_44/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,
|
/titanic_44/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,
|
/titanic_44/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_mca.c | 633 uint64_t mcg = gcl->gcl_mcg_status; in gcpu_ereport_add_logout() local 634 int mcip = mcg & MCG_STATUS_MCIP; in gcpu_ereport_add_logout() 706 DATA_TYPE_UINT64, mcg, NULL); in gcpu_ereport_add_logout() 717 mcg & MCG_STATUS_EIPV) { in gcpu_ereport_add_logout()
|