svn commit: r283948 - head/sys/dev/dwc
Gleb Smirnoff
glebius at FreeBSD.org
Wed Jun 3 20:01:03 UTC 2015
On Wed, Jun 03, 2015 at 02:48:04PM +0000, Luiz Otavio O Souza wrote:
L> Author: loos
L> Date: Wed Jun 3 14:48:03 2015
L> New Revision: 283948
L> URL: https://svnweb.freebsd.org/changeset/base/283948
L>
L> Log:
L> Fix the OACTIVE handling on if_dwc.
L>
L> Previously the OACTIVE flag was being set when the tx descriptors are fully
L> allocated but it wasn't unset anywhere.
L>
L> As soon as a packet is transmitted, unset the OACTIVE flag and call start
L> routine to push any pending packets from the tx queue.
L>
L> This closes another race where a full tx queue would jam the tx path (tx
L> queue is full, new packets cannot be added to queue and dwc_txstart never
L> gets called).
The only real fix of OACTIVE handling is removing OACTIVE :)
--
Totus tuus, Glebius.
More information about the svn-src-all
mailing list