Date: Fri, 17 Jun 2011 20:06:52 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/e1000 if_igb.c if_igb.h Message-ID: <201106172007.p5HK7Dou083692@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2011-06-17 20:06:52 UTC FreeBSD src repository Modified files: sys/dev/e1000 if_igb.c if_igb.h Log: SVN rev 223198 on 2011-06-17 20:06:52Z by jhb - Use a dedicated task to handle deferred transmits from the if_transmit method instead of reusing the existing per-queue interrupt task. Reusing the per-queue interrupt task could result in both an interrupt thread and the taskqueue thread trying to handle received packets on a single queue resulting in out-of-order packet processing. - Don't define igb_start() at all on 8.0 and where if_transmit is used. Replace last remaining call to igb_start() with a loop to kick off transmit on each queue instead. - Call ether_ifdetach() earlier in igb_detach(). - Drain tasks and free taskqueues during igb_detach(). Reviewed by: jfv MFC after: 1 week Revision Changes Path 1.69 +63 -10 src/sys/dev/e1000/if_igb.c 1.22 +1 -0 src/sys/dev/e1000/if_igb.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106172007.p5HK7Dou083692>