Try recollecting RX/TX descriptors if we are going to switch back to TX/RX
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 28 Oct 2008 07:23:28 +0000 (07:23 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 28 Oct 2008 07:23:28 +0000 (07:23 +0000)
commit64ebeab7ec942e797823b819aaa5c11fca8ddfb0
tree660f846cec8601b29a2bc2f3c6fce0b044a14a64
parent9b161cc2bdc80cc46ab3eab43aa4c77b7342652c
Try recollecting RX/TX descriptors if we are going to switch back to TX/RX
interrupts.  There seems to be a race between turning on TX/RX interrupt and
asserting TX/RX interrupt by the hardware.  This fixes the poor performance
that I have seen when using single threaded remote cpdup.
sys/dev/netif/re/if_re.c