[Bug 248494] if_vmx(4) duplicate packets in netmap mode

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 12 14:46:31 UTC 2020


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

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

Author: vmaffione
Date: Wed Aug 12 14:45:32 UTC 2020
New revision: 364165
URL: https://svnweb.freebsd.org/changeset/base/364165

Log:
  iflib: netmap: improve rxsync to support IFLIB_HAS_RXCQ

  For drivers with IFLIB_HAS_RXCQ set, there is a separate completion
  queue. In this case, the netmap rxsync routine needs to update
  rxq->ifr_cq_cidx in the same way it is updated by iflib_rxeof().
  This improves the situation for vmx(4) and bnxt(4) drivers, which
  use iflib and have the IFLIB_HAS_RXCQ bit set.

  PR:   248494
  MFC after:    3 weeks

Changes:
  head/sys/net/iflib.c
  head/sys/net/iflib.h

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list