Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/qib/
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()
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()
Dqib_verbs.c1395 ibp->rvp.gid_prefix = IB_DEFAULT_GID_PREFIX; in init_ibport()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
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()
Dhfi.h2453 rdma_ah_set_subnet_prefix(attr, ibp->rvp.gid_prefix); in hfi1_update_ah_attr()
2584 grh->sgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_ext_grh()
2598 grh->dgid.global.subnet_prefix = ibp->rvp.gid_prefix; in hfi1_make_ext_grh()
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()
Dverbs.c1558 ibp->rvp.gid_prefix = IB_DEFAULT_GID_PREFIX; in init_ibport()
/linux-6.1.9/include/rdma/
Dib_smi.h61 __be64 gid_prefix; member
Drdma_vt.h43 __be64 gid_prefix; /* in network order */ member
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dvt.c234 gid->global.subnet_prefix = rvp->gid_prefix; in rvt_query_gid()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
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()
/linux-6.1.9/include/linux/mlx4/
Ddevice.h959 __be64 gid_prefix; member