From owner-cvs-src@FreeBSD.ORG Tue May 22 15:57:49 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7130616A46C; Tue, 22 May 2007 15:57:49 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5E37F13C465; Tue, 22 May 2007 15:57:49 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4MFvnaW072743; Tue, 22 May 2007 15:57:49 GMT (envelope-from gallatin@repoman.freebsd.org) Received: (from gallatin@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4MFvnbb072742; Tue, 22 May 2007 15:57:49 GMT (envelope-from gallatin) Message-Id: <200705221557.l4MFvnbb072742@repoman.freebsd.org> From: Andrew Gallatin Date: Tue, 22 May 2007 15:57:49 +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/mxge if_mxge.c if_mxge_var.h 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: Tue, 22 May 2007 15:57:49 -0000 gallatin 2007-05-22 15:57:49 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c if_mxge_var.h Log: mxge cleanups: - Remove code to use the special wc_fifo. It has been disabled by default in our other drivers as it actually slows down transmit by a small amount - Dynamically determine the amount of space required for the rx_done ring rather than hardcoding it. - Compute the number of tx descriptors we are willing to transmit per frame as the minimum of 128 or 1/4 the tx ring size. - Fix a typo in the tx dma tag setup which could lead to unnecessary defragging of TSO packets (and potentially even dropping TSO packets due to EFBIG being returned). - Add a counter to keep track of how many times we've needed to defragment a frame. It should always be zero. - Export new extended f/w counters via sysctl Sponsored by: Myricom, Inc. Revision Changes Path 1.31 +87 -111 src/sys/dev/mxge/if_mxge.c 1.12 +6 -6 src/sys/dev/mxge/if_mxge_var.h