From owner-cvs-src@FreeBSD.ORG Sat Oct 21 07:54:40 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E21AA16A407; Sat, 21 Oct 2006 07:54:40 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F90F43D5E; Sat, 21 Oct 2006 07:54:40 +0000 (GMT) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9L7se2f096654; Sat, 21 Oct 2006 07:54:40 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9L7sect096653; Sat, 21 Oct 2006 07:54:40 GMT (envelope-from scottl) Message-Id: <200610210754.k9L7sect096653@repoman.freebsd.org> From: Scott Long Date: Sat, 21 Oct 2006 07:54:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/bce if_bce.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Oct 2006 07:54:41 -0000 scottl 2006-10-21 07:54:40 UTC FreeBSD src repository Modified files: sys/dev/bce if_bce.c Log: Be more like the BGE driver. Ensure that at least 16 TX descriptors are kept unused in the ring. This check should probably be moved up to bce_start_locked at some point, as it'll make the loop up there slightly more efficient, and will eliminate a costly set of busdma operations when the ring is full. But this works for now. This makes all of my UDP torture tests work. I'll cautiously say that it might even work for other users now. Feedback is appreciated. Revision Changes Path 1.17 +11 -8 src/sys/dev/bce/if_bce.c