[Bug 242890] vmxnet3: Problem when RSS option is configured

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 27 15:09:34 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242890

--- Comment #6 from commit-hook at freebsd.org ---
A commit references this bug:

Author: avg
Date: Thu Feb 27 15:08:44 UTC 2020
New revision: 358386
URL: https://svnweb.freebsd.org/changeset/base/358386

Log:
  MFC r357042: vmxnet3: add support for RSS kernel option

  We observe at least one problem: if a UDP socket is connect(2)-ed, then a
  received packet that matches the connection cannot be matched to the
  corresponding PCB because of an incorrect flow ID.  That was oberved for DNS
  requests from the libc resolver.  We got this problem because FreeBSD
  r343291 enabled code that can set rsstype of received packets to values
  other than M_HASHTYPE_OPAQUE_HASH.  Earlier that code was under 'ifdef
  notyet'.

  The essence of this change is to use the system-wide RSS key instead of
  some historic hardcoded key when the software RSS is enabled and it is
  configured to use Toeplitz algorithm (the default).
  In all other cases, the driver reports the opaque hash type for received
  packets while still using Toeplitz algorithm with the internal key.

  PR:           242890
  Sponsored by: Panzura

Changes:
_U  stable/12/
  stable/12/sys/dev/vmware/vmxnet3/if_vmx.c
  stable/12/sys/dev/vmware/vmxnet3/if_vmxvar.h
  stable/12/sys/modules/vmware/vmxnet3/Makefile

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list