]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r220649, r220874
authornp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 22 Apr 2011 02:22:36 +0000 (02:22 +0000)
committernp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 22 Apr 2011 02:22:36 +0000 (02:22 +0000)
commitd12ef01f99289f869aaf2648b35ecc64c5ce7782
treec11d5c480583aa2ec7641bcce5f4bca78adb0500
parent5ccc9ab23b76a1338d354fc43049cc0d8c2f6824
MFC r220649, r220874

r220649:
Fix a couple of bad races that can occur when a cxgbe interface is taken
down.  The ingress queue lock was unused and has been removed as part of
these changes.

- An in-flight egress update from the SGE must be handled before the
  queue that requested it is destroyed.  Wait for the update to arrive.

- Interrupt handlers must stop processing rx events for a queue before
  the queue is destroyed.  Events that have not yet been processed
  should be ignored once the queue disappears.

r220874:
Use Toeplitz hash for RSS.

git-svn-id: svn://svn.freebsd.org/base/stable/8@220936 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/cxgbe/adapter.h
sys/dev/cxgbe/common/t4_hw.c
sys/dev/cxgbe/osdep.h
sys/dev/cxgbe/t4_main.c
sys/dev/cxgbe/t4_sge.c