Thread (20 messages) 20 messages, 3 authors, 2016-08-22
STALE3627d

Re: [PATCH 2/2] nvme-rdma: Add handling for connecting to IPv6 targets

From: Sagi Grimberg <hidden>
Date: 2016-08-02 06:41:41
Also in: linux-nvme

quoted
quoted
quoted
Currently the target driver doesn't support ipv6 addresses.

These complementary patches [1,2] makes the it work e2e! So,
I think we should use the same ipv6 addr parsing that Roland used
in the host, and preferably have another module export that as a helper.
I can try to unify them, but unlike the host that first tries ipv4 and
then fall to ipv6, the target needs to enforce the address family so
it's somewhat different. I kinda think that these are different enough
to stay separate don't you think?
It'd still need all the scope ID handling similar to what Roland did,
and that's a fair chunk of code.  We have a few options to handle the
different allowed addresses:

 (1) v4/v6 only flags
 (2) having low-level v4/v6 handlers and one that tries these both
 (3) using the try both handler and rejecting the wrong one after
     parsing.

(3) seems easiest, but (2) sounds fine to me.  But I'd really like to
hear from folks on the netdev list what they think of that idea first.
(2) sounds fine to me too.
--
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