svn commit: r353633 - head/sys/ofed/include/rdma

Hans Petter Selasky hps at selasky.org
Wed Oct 16 20:45:22 UTC 2019


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


More information about the svn-src-head mailing list