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.c14 static int gid_ok(union ib_gid *gid, __be64 gid_prefix, __be64 id) in gid_ok() function
53 if (!gid_ok(&packet->grh->dgid, ibp->rvp.gid_prefix, in hfi1_ruc_check_hdr()
56 if (!gid_ok( in hfi1_ruc_check_hdr()
90 if (!gid_ok(&packet->grh->dgid, ibp->rvp.gid_prefix, in hfi1_ruc_check_hdr()
93 if (!gid_ok( in hfi1_ruc_check_hdr()