Date: Fri, 15 Apr 2011 03:09:27 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/cxgbe adapter.h osdep.h t4_main.c t4_sge.c src/sys/dev/cxgbe/common t4_hw.c Message-ID: <201104150309.p3F39kek064718@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
np 2011-04-15 03:09:27 UTC FreeBSD src repository Modified files: sys/dev/cxgbe adapter.h osdep.h t4_main.c t4_sge.c sys/dev/cxgbe/common t4_hw.c Log: SVN rev 220649 on 2011-04-15 03:09:27Z by np 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. MFC after: 1 week Revision Changes Path 1.10 +8 -11 src/sys/dev/cxgbe/adapter.h 1.2 +2 -0 src/sys/dev/cxgbe/common/t4_hw.c 1.2 +0 -2 src/sys/dev/cxgbe/osdep.h 1.12 +19 -3 src/sys/dev/cxgbe/t4_main.c 1.12 +68 -15 src/sys/dev/cxgbe/t4_sge.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104150309.p3F39kek064718>