Date: Sat, 29 Mar 2003 09:50:38 -0800 (PST) From: Mike Silbersack <silby@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_sis.c Message-ID: <200303291750.h2THocYb087471@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
silby 2003/03/29 09:50:38 PST
FreeBSD src repository
Modified files:
sys/pci if_sis.c
Log:
Have sis_encap use m_defrag if:
1. The chain passed in is > 31 fragments long
or
2. The chain will not fit in the remaining descriptors without
defragmentation.
This is slightly less clear than other network drivers because the sis
chips share one descriptor list for all packets, it seems.
Before this change, a > 127 fragment chain would get stuck in the IFQUEUE
permanently, bringing all network traffic to a halt.
MFC after: 2 weeks
Revision Changes Path
1.66 +25 -1 src/sys/pci/if_sis.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303291750.h2THocYb087471>
