cvs commit: src/sys/dev/mxge if_mxge.c if_mxge_var.h
Andrew Gallatin
gallatin at FreeBSD.org
Tue May 22 15:57:49 UTC 2007
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
More information about the cvs-src
mailing list