Date: Thu, 4 Mar 2021 11:13:36 +0100 From: Hans Petter Selasky <hps@selasky.org> To: "Foster, Greg" <gfoster@panasas.com>, "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org> Cc: "Pokala, Ravi" <rpokala@panasas.com> Subject: Re: Changing Between Infiniband Connected Mode and Datagram Mode at Runtime on FreeBSD 12.2 Message-ID: <fff5885b-468e-7bef-d9d7-fc6e43d5b246@selasky.org> In-Reply-To: <BYAPR08MB60387BEF8DB1F72ADEAF480FB4979@BYAPR08MB6038.namprd08.prod.outlook.com> References: <BYAPR08MB60387BEF8DB1F72ADEAF480FB4979@BYAPR08MB6038.namprd08.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/4/21 3:49 AM, Foster, Greg wrote: > Hello FreeBSD IB, > > What is the procedure to change between Infiniband Connected Mode and Datagram Mode > at runtime on FreeBSD 12.2? > > I've seen different references on the WEB, but the procedure still seems unclear. > > In one reference https://lists.freebsd.org/pipermail/freebsd-infiniband/2013-May/000032.html > refers to the Linux procedure, which is not applicable on FreeBSD. > > Another reference, https://wiki.freebsd.org/InfiniBand, implies the driver must be recompiled > to change modes. > > Yet another, https://lists.freebsd.org/pipermail/freebsd-infiniband/2013-June/000047.html > Suggests it can be done at runtime to add a tuneable/sysctl but doesn't specify any details... > > Is the solution to maybe compile the drivers twice, once for CM and once for DM, keeping both around > and loading the desired one? Hi, For IPoIB there is an option you need to set at compile time for this feature to be activated: sys/conf/options:IPOIB_CM opt_ofed.h --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fff5885b-468e-7bef-d9d7-fc6e43d5b246>