Home
last modified time | relevance | path

Searched refs:pathrec (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_fs.c187 format_gid(&path.pathrec.dgid, gid_buf); in ipoib_path_seq_show()
192 gid_buf, sa_path_get_dlid(&path.pathrec) ? "yes" : "no"); in ipoib_path_seq_show()
194 if (sa_path_get_dlid(&path.pathrec)) { in ipoib_path_seq_show()
195 rate = ib_rate_to_mbps(path.pathrec.rate); in ipoib_path_seq_show()
201 be32_to_cpu(sa_path_get_dlid(&path.pathrec)), in ipoib_path_seq_show()
202 path.pathrec.sl, in ipoib_path_seq_show()
H A Dipoib_main.c593 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add()
664 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, in ipoib_path_iter_next()
697 path->pathrec.dgid.raw); in ipoib_mark_paths_invalid()
760 pathrec->dgid.raw); in path_rec_completion()
785 if (memcmp(pathrec->dgid.raw, path->pathrec.dgid.raw, in path_rec_completion()
791 path->pathrec.dgid.raw); in path_rec_completion()
792 memcpy(pathrec->dgid.raw, path->pathrec.dgid.raw, in path_rec_completion()
796 path->pathrec = *pathrec; in path_rec_completion()
803 pathrec->sl); in path_rec_completion()
905 path->pathrec.dgid.raw); in path_rec_start()
[all …]
H A Dipoib_cm.c1085 struct sa_path_rec *pathrec) in ipoib_cm_send_req() argument
1094 req.primary_path = pathrec; in ipoib_cm_send_req()
1141 struct sa_path_rec *pathrec) in ipoib_cm_tx_init() argument
1176 ret = ipoib_cm_send_req(p->dev, p->id, p->qp, qpn, pathrec); in ipoib_cm_tx_init()
1183 p->qp->qp_num, pathrec->dgid.raw, qpn); in ipoib_cm_tx_init()
1348 struct sa_path_rec pathrec; in ipoib_cm_tx_start() local
1371 memcpy(&pathrec, &path->pathrec, sizeof(pathrec)); in ipoib_cm_tx_start()
1376 ret = ipoib_cm_tx_init(p, qpn, &pathrec); in ipoib_cm_tx_start()
H A Dipoib.h431 struct sa_path_rec pathrec; member
/openbmc/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.c696 struct sa_path_rec *pathrec, in srp_path_rec_completion() argument
707 ch->ib_cm.path = *pathrec; in srp_path_rec_completion()