Date: Mon, 29 Nov 2010 21:04:00 +0000 (UTC) From: Juli Mallett <jmallett@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/mips/cavium/octe ethernet-tx.c Message-ID: <201011292104.oATL4Kfd009238@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jmallett 2010-11-29 21:04:00 UTC
FreeBSD src repository
Modified files:
sys/mips/cavium/octe ethernet-tx.c
Log:
SVN rev 216064 on 2010-11-29 21:04:00Z by jmallett
Don't free the work queue entry that we're using to hold the scatter-gather
list on exit from the transmit path. The scatter-gather list itself can be
asynchronously DMAed to the transmit hardware, and we could actually lock up
the transmitter if any of a number of races around this were lost.
Instead, let the PKO free the scatter-gather list when it is done with it, and
use the "i" bit in each segment of the packet to avoid having them go into the
FPA.
This fixes an unrecoverable transmit stall under transmit load.
MFC after: 3 days
Revision Changes Path
1.4 +8 -4 src/sys/mips/cavium/octe/ethernet-tx.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011292104.oATL4Kfd009238>
