Searched refs:mcg (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_vnic.c422 eib_mcg_t *mcg; local
441 * Allocate for and prepare the mcg to add to our list
446 "no memory, failed to join mcg (mac=%x:%x:%x:%x:%x:%x)",
453 mcg = kmem_zalloc(sizeof (eib_mcg_t), KM_NOSLEEP);
454 if (mcg == NULL) {
456 "no memory, failed to join mcg (mac=%x:%x:%x:%x:%x:%x)",
463 mcg->mg_next = NULL;
464 mcg->mg_rgid = ss->ei_props->ep_sgid;
465 mcg->mg_mgid = mcg_attr.mc_mgid;
466 mcg
1527 eib_mcg_t *mcg; local
1632 eib_mcg_t *mcg; local
1770 eib_mcg_t *mcg; local
1864 eib_mcg_t *mcg; local
1915 eib_mcg_t *mcg; local
2041 eib_mcg_t *mcg; local
2087 eib_mcg_t *mcg; local
2171 eib_mcg_t *mcg; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_misc.c51 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; local
642 mcg = &state->ts_mcghdl[end_indx];
649 if ((mcg->mcg_mgid_h == 0) && (mcg->mcg_mgid_l == 0)) {
652 tavor_mcg_setup_new_hdr(mcg, mcg_entry, gid, NULL);
663 status = tavor_mcg_qplist_add(state, mcg, mcg_entry_qplist, qp,
666 bzero(mcg, sizeo
999 tavor_mcghdl_t mcg; local
1200 tavor_mcg_qplist_add(tavor_state_t *state, tavor_mcghdl_t mcg, tavor_hw_mcg_qp_list_t *mcg_qplist, tavor_qphdl_t qp, uint_t *qp_found) argument
1268 tavor_mcg_qplist_remove(tavor_mcghdl_t mcg, tavor_hw_mcg_qp_list_t *mcg_qplist, tavor_qphdl_t qp) argument
1364 tavor_mcg_setup_new_hdr(tavor_mcghdl_t mcg, tavor_hw_mcg_t *mcg_hdr, ib_gid_t mgid, tavor_rsrc_t *mcg_rsrc) argument
[all...]
H A Dtavor_cmd.c2773 * Note: It is assumed that the "mcg" parameter is actually a pointer to a
2779 tavor_read_mgm_cmd_post(tavor_state_t *state, tavor_hw_mcg_t *mcg, argument
2816 /* Copy the READ_MGM command results into "mcg" */
2821 ((uint64_t *)mcg)[i] = data;
2827 ((uint32_t *)mcg)[i + 8] = data;
2843 * Note: It is assumed that the "mcg" parameter is actually a pointer to a
2849 tavor_write_mgm_cmd_post(tavor_state_t *state, tavor_hw_mcg_t *mcg, argument
2873 data = ((uint64_t *)mcg)[i];
2879 data = ((uint32_t *)mcg)[i + 8];
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_misc.c51 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; local
803 mcg = &state->hs_mcghdl[end_indx];
810 if ((mcg->mcg_mgid_h == 0) && (mcg->mcg_mgid_l == 0)) {
813 hermon_mcg_setup_new_hdr(mcg, mcg_entry, gid, NULL);
824 status = hermon_mcg_qplist_add(state, mcg, mcg_entry_qplist, qp,
827 bzero(mcg, sizeo
1148 hermon_mcghdl_t mcg; local
1336 hermon_mcg_qplist_add(hermon_state_t *state, hermon_mcghdl_t mcg, hermon_hw_mcg_qp_list_t *mcg_qplist, hermon_qphdl_t qp, uint_t *qp_found) argument
1398 hermon_mcg_qplist_remove(hermon_mcghdl_t mcg, hermon_hw_mcg_qp_list_t *mcg_qplist, hermon_qphdl_t qp) argument
1485 hermon_mcg_setup_new_hdr(hermon_mcghdl_t mcg, hermon_hw_mcg_t *mcg_hdr, ib_gid_t mgid, hermon_rsrc_t *mcg_rsrc) argument
[all...]
H A Dhermon_cmd.c3260 * Note: It is assumed that the "mcg" parameter is actually a pointer to a
3266 hermon_read_mgm_cmd_post(hermon_state_t *state, hermon_hw_mcg_t *mcg, argument
3301 /* Copy the READ_MGM command results into "mcg" */
3306 ((uint64_t *)mcg)[i] = data;
3312 ((uint32_t *)mcg)[i + 8] = data32;
3326 * Note: It is assumed that the "mcg" parameter is actually a pointer to a
3332 hermon_write_mgm_cmd_post(hermon_state_t *state, hermon_hw_mcg_t *mcg, argument
3354 data = ((uint64_t *)mcg)[i];
3360 data = ((uint32_t *)mcg)[i + 8];
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_misc.h116 #define TAVOR_MCG_GET_QPLIST_PTR(mcg) \
117 ((tavor_hw_mcg_qp_list_t *)((uintptr_t)(mcg) + \
H A Dtavor_cmd.h732 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/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_qp.c59 ibt_mcg_info_t mcg; member in struct:uverbs_mcast_entry
2311 if (cmd.mlid == mc->mcg.mc_adds_vect.av_dlid &&
2312 !memcmp(&mc_gid.gid, &mc->mcg.mc_adds_vect.av_dgid,
2330 mc->mcg.mc_adds_vect.av_dlid = cmd.mlid;
2331 bcopy(&mc_gid, &(mc->mcg.mc_adds_vect.av_dgid), sizeof (mc_gid));
2333 rc = ibt_attach_mcg(uqp->qp, &mc->mcg);
2376 ibt_mcg_info_t mcg; local
2397 (void) memset(&mcg, 0, sizeof (mcg));
2410 mcg
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_misc.h107 #define HERMON_MCG_GET_QPLIST_PTR(mcg) \
108 ((hermon_hw_mcg_qp_list_t *)((uintptr_t)(mcg) + \
H A Dhermon_cmd.h827 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 Dgcpu_mca.c633 uint64_t mcg = gcl->gcl_mcg_status; local
634 int mcip = mcg & MCG_STATUS_MCIP;
706 DATA_TYPE_UINT64, mcg, NULL);
717 mcg & MCG_STATUS_EIPV) {

Completed in 136 milliseconds