Date: Thu, 28 Apr 2016 15:22:28 +0200 From: Hans Petter Selasky <hps@selasky.org> To: KrishnamRaju ErapaRaju <Krishna2@chelsio.com>, "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org> Subject: Re: OFED v3.2 update Message-ID: <57220E94.6050805@selasky.org> In-Reply-To: <4EAB2619577FCA4EBCE11F17B7373447C4309697@nice.asicdesigners.com> References: <4EAB2619577FCA4EBCE11F17B7373447C4309697@nice.asicdesigners.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi KrishnamRaju, On 04/28/16 15:08, KrishnamRaju ErapaRaju wrote: > Hello Hans, > > Thanks, now I am able to build successfully. > ("sys/dev/mlx5/mlx5_ib" also need to be created along with your given list of directories) > > Are these latest patches in mailing list are final now? No. > > It looks like TCP socket logic(needed for IWARP driver) is missing in the latest patchsets, for example: I'll have a look at it. > In D5791.diff > > Index: sys/ofed/drivers/infiniband/core/cma.c > =================================================================== > --- sys/ofed/drivers/infiniband/core/cma.c > +++ sys/ofed/drivers/infiniband/core/cma.c > @@ -2571,79 +2916,74 @@ > return ret; > } > > -static int cma_get_tcp_port(struct rdma_id_private *id_priv) > +static struct idr *cma_select_inet_ps(struct rdma_id_private *id_priv) > { > - int ret; > - int size; > - struct socket *sock; > - > - ret = sock_create_kern(AF_INET, SOCK_STREAM, IPPROTO_TCP, &sock); > - if (ret) > - return ret; > ----------------------------------------------------------------------------------------------------------------------- > > Also, when I try to run rping(after adding the missing TCP socket logic back,attached) I am facing the "poll error -78" error. > Were you able to run rping with IBOE successfully? With Mellanox cards rping works. It might be a verbs issue. Error code 76 is "ENOSYS Function not implemented". Just grep for that in ibcore, and I guess you'll find it. > Looks like the legacy behavior of ibv_exp_poll_cq() got changed. Will try to root cause this issue. > Thank you. I'll integrate your attached patch. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57220E94.6050805>