Date: Wed, 16 Oct 2019 22:44:23 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Gleb Smirnoff <glebius@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r353633 - head/sys/ofed/include/rdma Message-ID: <b004e453-cfff-7d69-b1ec-82176718c8c0@selasky.org> In-Reply-To: <20191016165533.GT4086@FreeBSD.org> References: <201910160856.x9G8u7Sg065578@repo.freebsd.org> <20191016165533.GT4086@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-10-16 18:55, Gleb Smirnoff wrote: > On Wed, Oct 16, 2019 at 08:56:07AM +0000, Hans Petter Selasky wrote: > H> Author: hselasky > H> Date: Wed Oct 16 08:56:07 2019 > H> New Revision: 353633 > H> URL: https://svnweb.freebsd.org/changeset/base/353633 > H> > H> Log: > H> VLAN_TRUNKDEV() requires epochification in ibcore after r353292. > > Note that neither VLAN_DEVAT() not VLAN_TRUNKDEV() reference the > returned structure, so after epoch is exited the link is no longer > safe. > > Does ibcore require these two functions in non-fast code paths? > Yes, ibcore use these in non-fast path. Typically the ifnet's used will be referenced, and only the pointer value is needed for deciding if a packet is designated for the given network device or not. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b004e453-cfff-7d69-b1ec-82176718c8c0>