Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2020 19:55:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 243126] iflib: Assertion fl->ifl_cidx == cidx failed at /usr/src/sys/net/iflib.c:2531 with if_vmx(4)
Message-ID:  <bug-243126-7501-7POPslZEpC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243126-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-243126-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243126

--- Comment #10 from commit-hook@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@gmail.com, Harald Schmalzbauer
  Reviewed by:  gallatin
  MFC after:    1 week
  Differential Revision:        https://reviews.freebsd.org/D23946

Changes:
  head/sys/net/iflib.c

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243126-7501-7POPslZEpC>