Date: Thu, 7 Apr 2016 09:06:09 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Vijay Singh <vijju.singh@gmail.com>, freebsd-infiniband@freebsd.org, "freebsd-net@freebsd.org" <net@freebsd.org> Subject: Re: IPv6 support in OFED Message-ID: <570606E1.6060504@selasky.org> In-Reply-To: <CALCNsJTwhR6YscFyFYYGedJ_LQsL-=s9qVUD0QiyPLZjZT=qGQ@mail.gmail.com> References: <CALCNsJTwhR6YscFyFYYGedJ_LQsL-=s9qVUD0QiyPLZjZT=qGQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 04/06/16 20:55, Vijay Singh wrote: > [Apologies for the cross-post] > > I see that the OFED stack supports IPv6 in many places, so I was wondering > why we have this in rdma_listen(): > > int rdma_listen(struct rdma_cm_id *id, int backlog) > { > struct rdma_id_private *id_priv; > int ret; > > id_priv = container_of(id, struct rdma_id_private, id); > if (id_priv->state == CMA_IDLE) { >>> ((struct sockaddr *) &id->route.addr.src_addr)->sa_family = > AF_INET; > ret = rdma_bind_addr(id, (struct sockaddr *) > &id->route.addr.src_addr); > if (ret) > return ret; > } > > Even for v4, should the caller already fill in the family? > Hi, Try using the patchset from here: https://lists.freebsd.org/pipermail/freebsd-infiniband/2016-March/000190.html It has better IPv6 support. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?570606E1.6060504>