From owner-cvs-all@FreeBSD.ORG Sat Mar 29 09:50:39 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DB8A37B401; Sat, 29 Mar 2003 09:50:39 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD8F943FDF; Sat, 29 Mar 2003 09:50:38 -0800 (PST) (envelope-from silby@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2THoc0U087474; Sat, 29 Mar 2003 09:50:38 -0800 (PST) (envelope-from silby@repoman.freebsd.org) Received: (from silby@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2THocYb087471; Sat, 29 Mar 2003 09:50:38 -0800 (PST) Message-Id: <200303291750.h2THocYb087471@repoman.freebsd.org> From: Mike Silbersack Date: Sat, 29 Mar 2003 09:50:38 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/pci if_sis.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2003 17:50:40 -0000 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