Merge branches 'misc' and 'rxe' into k.o/for-4.8-1
This commit is contained in:
@@ -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)
|
||||
|
||||
/*
|
||||
|
||||
@@ -333,11 +333,13 @@ int rdma_disconnect(struct rdma_cm_id *id);
|
||||
* address.
|
||||
* @id: Communication identifier associated with the request.
|
||||
* @addr: Multicast address identifying the group to join.
|
||||
* @join_state: Multicast JoinState bitmap requested by port.
|
||||
* Bitmap is based on IB_SA_MCMEMBER_REC_JOIN_STATE bits.
|
||||
* @context: User-defined context associated with the join request, returned
|
||||
* to the user through the private_data pointer in multicast events.
|
||||
*/
|
||||
int rdma_join_multicast(struct rdma_cm_id *id, struct sockaddr *addr,
|
||||
void *context);
|
||||
u8 join_state, void *context);
|
||||
|
||||
/**
|
||||
* rdma_leave_multicast - Leave the multicast group specified by the given
|
||||
|
||||
Reference in New Issue
Block a user