Re: [PATCH v3 for-next 00/13] Add network namespace support in the RDMA-CM
From: Jason Gunthorpe <hidden>
Date: 2015-05-13 17:18:23
Also in:
linux-rdma
On Wed, May 13, 2015 at 04:45:59PM +0000, Hefty, Sean wrote:
quoted
quoted
How does network namespace support work with iWarp?We did not implement network namespace support for iWarp. Only for InfiniBand. The iWarp code continues to use &init_net whenever a network namespace is needed, as it does today.We need a solution that supports both. It's odd for the RDMA CM to support a feature only for some devices, when the solution should be general.
Yes, it is not optimal, but given that every protocol uses a completely different scheme to interact with netdev, I'm not sure there is another option but to do them piecemeal? I'm happy to see this patch much smaller and without the vestigial half-roce support that the prior version included. This should be a good starting point for someone to do iWarp, it is pretty simple since there is no UD component. roce will be much harder, I think. Should we inhibit the RDMA uapi on non-init namespaces? At least that way iWarp/etc won't work at all, instead of leaking through the container. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html