Re: [PATCH rdma-next 2/4] IB/netlink: Allow multiple clients to register under the same family

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux