Home
last modified time | relevance | path

Searched refs:gid_prefix (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_ruc.c69 static int gid_ok(union ib_gid *gid, __be64 gid_prefix, __be64 id) in gid_ok() argument
72 (gid->global.subnet_prefix == gid_prefix || in gid_ok()
102 ibp->rvp.gid_prefix, guid)) in qib_ruc_check_hdr()
141 ibp->rvp.gid_prefix, guid)) in qib_ruc_check_hdr()
195 hdr->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in qib_make_grh()
H A Dqib_mad.c497 pip->gid_prefix = ibp->rvp.gid_prefix; in subn_get_portinfo()
691 ibp->rvp.gid_prefix = pip->gid_prefix; in subn_set_portinfo()
H A Dqib_verbs.c1395 ibp->rvp.gid_prefix = IB_DEFAULT_GID_PREFIX; in init_ibport()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Druc.c14 static int gid_ok(union ib_gid *gid, __be64 gid_prefix, __be64 id) in gid_ok() argument
17 (gid->global.subnet_prefix == gid_prefix || in gid_ok()
53 if (!gid_ok(&packet->grh->dgid, ibp->rvp.gid_prefix, in hfi1_ruc_check_hdr()
90 if (!gid_ok(&packet->grh->dgid, ibp->rvp.gid_prefix, in hfi1_ruc_check_hdr()
138 hdr->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_grh()
H A Dhfi.h2451 rdma_ah_set_subnet_prefix(attr, ibp->rvp.gid_prefix); in hfi1_update_ah_attr()
2582 grh->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_ext_grh()
2596 grh->dgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_ext_grh()
H A Dmad.c228 ibp->rvp.gid_prefix; in hfi1_update_sm_ah_attr()
796 pi->subnet_prefix = ibp->rvp.gid_prefix; in __subn_get_opa_portinfo()
1366 if (ibp->rvp.gid_prefix != pi->subnet_prefix) { in __subn_set_opa_portinfo()
1367 ibp->rvp.gid_prefix = pi->subnet_prefix; in __subn_set_opa_portinfo()
H A Dverbs.c1558 ibp->rvp.gid_prefix = IB_DEFAULT_GID_PREFIX; in init_ibport()
/openbmc/linux/include/rdma/
H A Dib_smi.h61 __be64 gid_prefix; member
H A Drdma_vt.h43 __be64 gid_prefix; /* in network order */ member
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dvt.c234 gid->global.subnet_prefix = rvp->gid_prefix; in rvt_query_gid()
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dmad.c1209 if (!eqe->event.port_mgmt_change.params.port_info.gid_prefix) in handle_port_mgmt_change_event()
1213 eqe->event.port_mgmt_change.params.port_info.gid_prefix; in handle_port_mgmt_change_event()
/openbmc/linux/include/linux/mlx4/
H A Ddevice.h966 __be64 gid_prefix; member