X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Frdma%2Fib_sa.h;h=5ee7aab95eb8499239ae2f74b0534dd393290a95;hb=65fc7d54efb6b03dcf61d98aa0fd68fe968c211c;hp=384041669489e196a1732b6419520b2a054ea651;hpb=b6d90158c935d4a22e56f41647b479ab5ea449d4;p=deliverable%2Flinux.git diff --git a/include/rdma/ib_sa.h b/include/rdma/ib_sa.h index 384041669489..5ee7aab95eb8 100644 --- a/include/rdma/ib_sa.h +++ b/include/rdma/ib_sa.h @@ -94,6 +94,19 @@ enum ib_sa_selector { IB_SA_BEST = 3 }; +/* + * There are 4 types of join states: + * FullMember, NonMember, SendOnlyNonMember, SendOnlyFullMember. + * The order corresponds to JoinState bits in MCMemberRecord. + */ +enum ib_sa_mc_join_states { + FULLMEMBER_JOIN, + NONMEMBER_JOIN, + SENDONLY_NONMEBER_JOIN, + SENDONLY_FULLMEMBER_JOIN, + NUM_JOIN_MEMBERSHIP_TYPES, +}; + #define IB_SA_CAP_MASK2_SENDONLY_FULL_MEM_SUPPORT BIT(12) /*