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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to