Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/infiniband/ulp/ipoib/
Dipoib_fs.c207 format_gid(&path.pathrec.dgid, gid_buf); in ipoib_path_seq_show()
212 gid_buf, path.pathrec.dlid ? "yes" : "no"); in ipoib_path_seq_show()
214 if (path.pathrec.dlid) { in ipoib_path_seq_show()
215 rate = ib_rate_to_mult(path.pathrec.rate) * 25; in ipoib_path_seq_show()
221 be16_to_cpu(path.pathrec.dlid), in ipoib_path_seq_show()
222 path.pathrec.sl, in ipoib_path_seq_show()
Dipoib_main.c211 ret = memcmp(gid, path->pathrec.dgid.raw, in __path_find()
237 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add()
299 memset(iter->path.pathrec.dgid.raw, 0, 16); in ipoib_path_iter_init()
323 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, in ipoib_path_iter_next()
355 be16_to_cpu(path->pathrec.dlid), in ipoib_mark_paths_invalid()
356 path->pathrec.dgid.raw); in ipoib_mark_paths_invalid()
394 struct ib_sa_path_rec *pathrec, in path_rec_completion() argument
409 be16_to_cpu(pathrec->dlid), pathrec->dgid.raw); in path_rec_completion()
412 status, path->pathrec.dgid.raw); in path_rec_completion()
419 if (!ib_init_ah_from_path(priv->ca, priv->port, pathrec, &av)) in path_rec_completion()
[all …]
Dipoib_cm.c1033 struct ib_sa_path_rec *pathrec) in ipoib_cm_send_req() argument
1042 req.primary_path = pathrec; in ipoib_cm_send_req()
1093 struct ib_sa_path_rec *pathrec) in ipoib_cm_tx_init() argument
1125 ret = ipoib_cm_send_req(p->dev, p->id, p->qp, qpn, pathrec); in ipoib_cm_tx_init()
1132 p->qp->qp_num, pathrec->dgid.raw, qpn); in ipoib_cm_tx_init()
1295 struct ib_sa_path_rec pathrec; in ipoib_cm_tx_start() local
1306 memcpy(&pathrec, &p->path->pathrec, sizeof pathrec); in ipoib_cm_tx_start()
1311 ret = ipoib_cm_tx_init(p, qpn, &pathrec); in ipoib_cm_tx_start()
Dipoib.h359 struct ib_sa_path_rec pathrec; member
/linux-2.6.39/drivers/infiniband/ulp/srp/
Dib_srp.c297 struct ib_sa_path_rec *pathrec, in srp_path_rec_completion() argument
307 target->path = *pathrec; in srp_path_rec_completion()