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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 12 14:18:25 UTC 2020


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

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

Author: vmaffione
Date: Wed Aug 12 14:17:39 UTC 2020
New revision: 364164
URL: https://svnweb.freebsd.org/changeset/base/364164

Log:
  iflib: refactor netmap_fl_refill and fix off-by-one issue

  First, fix the initialization of the fl->ifl_rxd_idxs array,
  which was affected by an off-by-one bug.
  Once there, refactor the function to use better names for
  local variables, optimize the variable assignments, and
  merge the bus_dmamap_sync() inner loop with the outer one.

  PR:   248494
  MFC after:    3 weeks

Changes:
  head/sys/net/iflib.c

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


More information about the freebsd-virtualization mailing list