On Wed, May 04, 2016 at 06:41:56PM +0300, Leon Romanovsky wrote:
From: Mark Bloch <markb@xxxxxxxxxxxx>
This commit adds the ability for multiple clients to register to the same
family. We will allow this only if there isn't an overlap between them.
If there is an overlap, we will fail the latest client registration.
Can you expand on why we need to do this and what you mean by "overlap"?
Maybe I'm not clear on the terminology. I thought the "family" was something
like NETLINK_RDMA, which we already allow multiple "clients" to register with.
These things:
enum {
RDMA_NL_RDMA_CM = 1,
RDMA_NL_IWCM,
RDMA_NL_RSVD,
RDMA_NL_LS, /* RDMA Local Services */
RDMA_NL_I40IW,
RDMA_NL_NUM_CLIENTS
};
It seems what you are trying to do is allow the same "client" to register
multiple times, but with differing numbers of ops?
Is there a reason to not just have another client index?
-Denny
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html