Date: Tue, 22 May 2007 15:57:49 +0000 (UTC) From: Andrew Gallatin <gallatin@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h Message-ID: <200705221557.l4MFvnbb072742@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705221557.l4MFvnbb072742>
