Home
last modified time | relevance | path

Searched refs:gid_ok (Results 1 – 2 of 2) sorted by relevance

/drivers/infiniband/hw/qib/
Dqib_ruc.c69 static int gid_ok(union ib_gid *gid, __be64 gid_prefix, __be64 id) in gid_ok() function
101 if (!gid_ok(&hdr->u.l.grh.dgid, in qib_ruc_check_hdr()
104 if (!gid_ok(&hdr->u.l.grh.sgid, in qib_ruc_check_hdr()
140 if (!gid_ok(&hdr->u.l.grh.dgid, in qib_ruc_check_hdr()
143 if (!gid_ok(&hdr->u.l.grh.sgid, in qib_ruc_check_hdr()
/drivers/infiniband/hw/hfi1/
Druc.c56 static int gid_ok(union ib_gid *gid, __be64 gid_prefix, __be64 id) in gid_ok() function
95 if (!gid_ok(&packet->grh->dgid, ibp->rvp.gid_prefix, in hfi1_ruc_check_hdr()
98 if (!gid_ok( in hfi1_ruc_check_hdr()
132 if (!gid_ok(&packet->grh->dgid, ibp->rvp.gid_prefix, in hfi1_ruc_check_hdr()
135 if (!gid_ok( in hfi1_ruc_check_hdr()