projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RDMA/ucma: Add option to manually set IB path
[cascardo/linux.git]
/
include
/
rdma
/
ib_sa.h
diff --git
a/include/rdma/ib_sa.h
b/include/rdma/ib_sa.h
index
3841c1a
..
1082afa
100644
(file)
--- a/
include/rdma/ib_sa.h
+++ b/
include/rdma/ib_sa.h
@@
-379,4
+379,10
@@
int ib_init_ah_from_path(struct ib_device *device, u8 port_num,
struct ib_sa_path_rec *rec,
struct ib_ah_attr *ah_attr);
struct ib_sa_path_rec *rec,
struct ib_ah_attr *ah_attr);
+/**
+ * ib_sa_unpack_path - Convert a path record from MAD format to struct
+ * ib_sa_path_rec.
+ */
+void ib_sa_unpack_path(void *attribute, struct ib_sa_path_rec *rec);
+
#endif /* IB_SA_H */
#endif /* IB_SA_H */