X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Frdma%2Fib_sa.h;h=1082afaed15878aff3e37317501377f96604b746;hb=a7ca1f00ed2921b804d7ebda0f6fca8c9078fa42;hp=3841c1aff692556ed4518bfd79c56cd4f6fdce59;hpb=f6dc8ccaab6d8f63cbae1e6c73fe972b26f5376c;p=cascardo%2Flinux.git diff --git a/include/rdma/ib_sa.h b/include/rdma/ib_sa.h index 3841c1aff692..1082afaed158 100644 --- 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); +/** + * 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 */