/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_fs.c | 187 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 D | ipoib_main.c | 563 ret = memcmp(gid, path->pathrec.dgid.raw, in __path_find() 589 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add() 617 ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw); in path_free() 636 memset(iter->path.pathrec.dgid.raw, 0, 16); in ipoib_path_iter_init() 660 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, in ipoib_path_iter_next() 692 be32_to_cpu(sa_path_get_dlid(&path->pathrec)), in ipoib_mark_paths_invalid() 693 path->pathrec.dgid.raw); in ipoib_mark_paths_invalid() 740 struct sa_path_rec *pathrec, in path_rec_completion() 739 path_rec_completion(int status, struct sa_path_rec *pathrec, void *path_ptr) path_rec_completion() argument [all...] |
H A D | ipoib_cm.c | 1085 struct sa_path_rec *pathrec) in ipoib_cm_send_req() 1094 req.primary_path = pathrec; in ipoib_cm_send_req() 1145 struct sa_path_rec *pathrec) in ipoib_cm_tx_init() 1180 ret = ipoib_cm_send_req(p->dev, p->id, p->qp, qpn, pathrec); in ipoib_cm_tx_init() 1187 p->qp->qp_num, pathrec->dgid.raw, qpn); in ipoib_cm_tx_init() 1352 struct sa_path_rec pathrec; in ipoib_cm_tx_start() local 1375 memcpy(&pathrec, &path->pathrec, sizeof(pathrec)); in ipoib_cm_tx_start() 1380 ret = ipoib_cm_tx_init(p, qpn, &pathrec); in ipoib_cm_tx_start() 1082 ipoib_cm_send_req(struct net_device *dev, struct ib_cm_id *id, struct ib_qp *qp, u32 qpn, struct sa_path_rec *pathrec) ipoib_cm_send_req() argument 1144 ipoib_cm_tx_init(struct ipoib_cm_tx *p, u32 qpn, struct sa_path_rec *pathrec) ipoib_cm_tx_init() argument [all...] |
H A D | ipoib.h | 431 struct sa_path_rec pathrec; member
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_fs.c | 187 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 D | ipoib_main.c | 567 ret = memcmp(gid, path->pathrec.dgid.raw, in __path_find() 593 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add() 621 ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw); in path_free() 640 memset(iter->path.pathrec.dgid.raw, 0, 16); in ipoib_path_iter_init() 664 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, in ipoib_path_iter_next() 696 be32_to_cpu(sa_path_get_dlid(&path->pathrec)), in ipoib_mark_paths_invalid() 697 path->pathrec.dgid.raw); in ipoib_mark_paths_invalid() 744 struct sa_path_rec *pathrec, in path_rec_completion() 743 path_rec_completion(int status, struct sa_path_rec *pathrec, unsigned int num_prs, void *path_ptr) path_rec_completion() argument [all...] |
H A D | ipoib_cm.c | 1085 struct sa_path_rec *pathrec) in ipoib_cm_send_req() 1094 req.primary_path = pathrec; in ipoib_cm_send_req() 1141 struct sa_path_rec *pathrec) in ipoib_cm_tx_init() 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() 1082 ipoib_cm_send_req(struct net_device *dev, struct ib_cm_id *id, struct ib_qp *qp, u32 qpn, struct sa_path_rec *pathrec) ipoib_cm_send_req() argument 1140 ipoib_cm_tx_init(struct ipoib_cm_tx *p, u32 qpn, struct sa_path_rec *pathrec) ipoib_cm_tx_init() argument [all...] |
H A D | ipoib.h | 431 struct sa_path_rec pathrec; member
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 701 struct sa_path_rec *pathrec, in srp_path_rec_completion() 712 ch->ib_cm.path = *pathrec; in srp_path_rec_completion() 700 srp_path_rec_completion(int status, struct sa_path_rec *pathrec, void *ch_ptr) srp_path_rec_completion() argument
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 696 struct sa_path_rec *pathrec, in srp_path_rec_completion() 707 ch->ib_cm.path = *pathrec; in srp_path_rec_completion() 695 srp_path_rec_completion(int status, struct sa_path_rec *pathrec, unsigned int num_paths, void *ch_ptr) srp_path_rec_completion() argument
|