]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
cxgb(4) MFCs: r204271,r204274,r204348,r204921,r205944,r205945,r205946,r205947,r205948...
authornp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 5 Apr 2010 23:29:27 +0000 (23:29 +0000)
committernp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 5 Apr 2010 23:29:27 +0000 (23:29 +0000)
commit4d4eb99b44220a5dba6a2c1e84a1810c283d8eb8
tree66a7ab2e753fd9b1585a248d79a55eee2329beb4
parent95baf82f2e21ebc2ef0b549328cc0339ca5f89ec
cxgb(4) MFCs: r204271,r204274,r204348,r204921,r205944,r205945,r205946,r205947,r205948,r205949,r205950,r206109

r204271:
Accessing an mbuf after it has been handed off to the hardware is a bad
race as it could already have been tx'd and freed by that time.  Place
the bpf tap just _before_ writing the gen bit.

This fixes a panic when running tcpdump on a cxgb interface.

r204274:
There is no need to test __FreeBSD_version for features that have
been around for a long time now (7.1-ish or even earlier); assume
they are present.  These includes MSI, TSO, LRO, VLAN, INTR_FILTERS,
FIRMWARE, etc.

Also, eliminate some dead code and clean up in other places as part
of this quick once-over.

r204348:
Support IFCAP_VLANHWTSO in cxgb(4).  It works with or without vlanhwtag.
While here, remove old DPRINTFs and tidy up the capability code a bit.

r204921:
Better TwinAx transceiver detection.

Originally submitted by: <Bruno dot Bittner at isilon dot com>
(This is a rewritten, corrected version of that patch)

r205944:
Refresh the firmware version immediately after it is upgraded (or downgraded).

r205945:
Improved PHY EDC settings.

r205946:
Do not attempt to retrieve interrupt information before it is available.

r205947:
Fix build with "nooptions INET"

r205948:
Fix tx drop statistics.

r205949:
Fix signed/unsigned mix-up that allowed txq->in_use to grow beyond txq->size.

r205950:
Multiple fixes related to queue set sizing and resources:

- Only the tunnelq (TXQ_ETH) requires a buf_ring, an ifq, and the watchdog/timer
  callouts.  Do not allocate these for the other tx queues.

- Use 16k jumbo clusters only on offload capable cards by default.

- Do not allocate a full tx ring for the offload queue if the card is not
  offload capable.

- Slightly better freelist size calculation.

- Fix nmbjumbo4 typo, remove unneeded global variables.

r206109:
Increase response queue size to avoid starvation, add a counter
to track it when it does occur.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206220 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
13 files changed:
sys/dev/cxgb/common/cxgb_ael1002.c
sys/dev/cxgb/common/cxgb_common.h
sys/dev/cxgb/common/cxgb_t3_hw.c
sys/dev/cxgb/common/cxgb_version.h [deleted file]
sys/dev/cxgb/cxgb_adapter.h
sys/dev/cxgb/cxgb_config.h [deleted file]
sys/dev/cxgb/cxgb_main.c
sys/dev/cxgb/cxgb_offload.h
sys/dev/cxgb/cxgb_osdep.h
sys/dev/cxgb/cxgb_sge.c
sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c
sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c
sys/modules/cxgb/cxgb/Makefile