[Bug 243126] iflib: Assertion fl->ifl_cidx == cidx failed at /usr/src/sys/net/iflib.c:2531 with if_vmx(4)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 14 19:55:55 UTC 2020


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

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

Author: pkelsey
Date: Sat Mar 14 19:55:06 UTC 2020
New revision: 358997
URL: https://svnweb.freebsd.org/changeset/base/358997

Log:
  Remove freelist contiguous-indexes assertion from rxd_frag_to_sd()

  The vmx driver is an example of an iflib driver that might report
  packets using non-contiguous descriptors (with unused descriptors
  either between received packets or between the fragments of a received
  packet), so this assertion needs to be removed.

  For such drivers, the freelist producer and consumer indexes don't
  relate directly to driver ring slots (the driver deals directly with
  freelist buffer indexes supplied by iflib during refill, and reports
  them with each fragment during packet reception), but do continue to
  be used by iflib for accounting, such as determining the number of
  ring slots that are refillable.

  PR:           243126, 243392, 240628
  Reported by:  avg, alexandr.oleynikov at gmail.com, Harald Schmalzbauer
  Reviewed by:  gallatin
  MFC after:    1 week
  Differential Revision:        https://reviews.freebsd.org/D23946

Changes:
  head/sys/net/iflib.c

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


More information about the freebsd-net mailing list