From owner-freebsd-stable@freebsd.org Fri Mar 16 16:44:50 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E7D0F5CD4A; Fri, 16 Mar 2018 16:44:50 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ED7E268A27; Fri, 16 Mar 2018 16:44:49 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 857B12603AE; Fri, 16 Mar 2018 17:44:47 +0100 (CET) Subject: Re: [HEADS UP] - OFED/RDMA stack update To: Konstantin Belousov , Navdeep Parhar Cc: "'freebsd-infiniband@freebsd.org'" , freebsd-drivers , Meny Yossefi , "'FreeBSD-stable@FreeBSD.org'" , freebsd-arch References: <1519683699.47932.5.camel@FreeBSD.org> <20180226224311.GT94212@kib.kiev.ua> From: Hans Petter Selasky Message-ID: <3027f48e-0ba8-555d-df23-d638303cb125@selasky.org> Date: Fri, 16 Mar 2018 17:44:41 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180226224311.GT94212@kib.kiev.ua> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2018 16:44:50 -0000 Hi, The bsd_rdma_4_9_stable_11 projects branch is close to being merged into FreeBSD 11-stable. Mellanox plans to merge no later than 12:00 CEST TUE 20th of March 2018, unless objections are received. A compatibility header file has been created, ib_verbs_compat.h, which offers full source compatibility to existing OFED kernel applications, as a response to the raised conserns. User-space compatibility is maintained through library symbol versioning. https://svnweb.freebsd.org/base/projects/bsd_rdma_4_9_stable_11/sys/ofed/include/rdma/ib_verbs_compat.h An example client for this header file can be found here: https://svnweb.freebsd.org/base/projects/bsd_rdma_4_9_stable_11/sys/contrib/rdma/krping_compat/ Currently the cxgb and cxgbe i-Warp drivers are not building, and will be stubbed from the kernel build before the branch is merged, unless Chelsio can add patches for these. Here is a quick and dirty patch to make the bsd_rdma_4_9_stable_11 branch build: > diff --git a/sys/modules/Makefile b/sys/modules/Makefile > index 6b005c854d7..b918a208f21 100644 > --- a/sys/modules/Makefile > +++ b/sys/modules/Makefile > @@ -530,7 +530,7 @@ _txp= txp > .if ${MK_SOURCELESS_UCODE} != "no" && ${MACHINE_CPUARCH} != "arm" && \ > ${MACHINE_ARCH:C/mips(el)?/mips/} != "mips" && \ > ${MACHINE_ARCH} != "powerpc" && ${MACHINE_CPUARCH} != "riscv" > -_cxgbe= cxgbe > +#_cxgbe= cxgbe > .endif > > .if ${MK_TESTS} != "no" || defined(ALL_MODULES) > @@ -554,7 +554,7 @@ _vpo= vpo > _sym= sym > # intr_disable() is a macro, causes problems > .if ${MK_SOURCELESS_UCODE} != "no" > -_cxgb= cxgb > +#_cxgb= cxgb > .endif > .endif --HPS