X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Frdma%2Fib_sa.h;h=cdc1c81aa275bda38f97f1e71c3c774dfbc8c983;hb=fec2f3335c637ca95166a9eb753fe2b49aee4e71;hp=301969552d0a51e34dcd872daa303a6339721916;hpb=f3cf3fb7ec854c2b2429e5bb23186746e6511dae;p=karo-tx-linux.git diff --git a/include/rdma/ib_sa.h b/include/rdma/ib_sa.h index 301969552d0a..cdc1c81aa275 100644 --- a/include/rdma/ib_sa.h +++ b/include/rdma/ib_sa.h @@ -160,6 +160,7 @@ struct ib_sa_path_rec { int ifindex; /* ignored in IB */ struct net *net; + enum ib_gid_type gid_type; }; static inline struct net_device *ib_get_ndev_from_path(struct ib_sa_path_rec *rec) @@ -402,6 +403,8 @@ int ib_sa_get_mcmember_rec(struct ib_device *device, u8 port_num, */ int ib_init_ah_from_mcmember(struct ib_device *device, u8 port_num, struct ib_sa_mcmember_rec *rec, + struct net_device *ndev, + enum ib_gid_type gid_type, struct ib_ah_attr *ah_attr); /**