Thread (1 message) 1 message, 1 author, 2015-05-14

Re: [PATCH v3 for-next 00/13] Add network namespace support in the RDMA-CM

From: Haggai Eran <hidden>
Date: 2015-05-14 05:35:48
Also in: linux-rdma

On 13/05/2015 20:30, Hefty, Sean wrote:
quoted
quoted
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
quoted
quoted
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?
Piecemeal isn't necessarily the problem.  No thought appears to have been given to how this scheme supports iWarp at all.  My concern is around whether any changes should be made to the ib_cm, versus keeping everything contained in the rdma_cm.  I.e. do we want the same kref schemed added to the iw_cm, or keep reference counts only in the rdma_cm?
I'm not sure iWarp should use the exact same solution we use for IB. I'm
not very familiar with iWarp CM code, but intuitively I think because
iWarp is defined on top of TCP/IP, it would make sense to attach
iw_cm_ids to namespaces, even while for ib_cm_ids you can't always do that.

The problem in IB is that ib_cm doesn't care about IP addresses so there
are cases where it cannot resolve the namespace, but in iWarp you don't
have that problem, right?

In any case, the RDMA CM code handling CM events is naturally separate
between iWarp and IB, so they don't need to use the same solution.

Haggai
--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help