Re: [PATCH rfc 0/4] Introduce a new helper for parsing ipv[4|6]:port to socket address
From: Chuck Lever <hidden>
Date: 2017-02-16 17:59:24
Also in:
linux-nvme, linux-rdma
From: Chuck Lever <hidden>
Date: 2017-02-16 17:59:24
Also in:
linux-nvme, linux-rdma
On Feb 16, 2017, at 12:53 PM, Sagi Grimberg [off-list ref] wrote: Hey Chuck,quoted
quoted
As a side-effect, this set adds ipv6 support for nvme over fabrics. I also converted iscsi target and plan to convert nfs/cifs next but wanted to get some feedback before doing that.At least NFS/RDMA already supports IPv6. You might not need many changes there, but I'll hold off on further comments.Yea, I wanted to get all the rpc_pton/rpc_ntop (which handle both ipv4 and ipv6 with scopes) converted to use a common helper.
RPC is dealing with universal addresses, which are not quite the same as IP presentation addresses. The port number is expressed as: hi8.lo8 And universal IPv6 addresses don't have a mechanism for conveying scope information. -- Chuck Lever -- 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