OFED v3.2 update
Hans Petter Selasky
hps at selasky.org
Thu Apr 28 13:19:15 UTC 2016
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
More information about the freebsd-infiniband
mailing list