diff options
author | ru <ru@FreeBSD.org> | 2004-04-06 11:04:54 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-04-06 11:04:54 +0000 |
commit | 14f109e99ebbce64845480eeaa808d6759c0d9a7 (patch) | |
tree | a8dd2f8cf86c4a75b61485a401b61f702abc245c /sys/pci/if_ste.c | |
parent | 014c3b4511a0b855a5f01e9ff71c89ca1364bd95 (diff) | |
download | FreeBSD-src-14f109e99ebbce64845480eeaa808d6759c0d9a7.zip FreeBSD-src-14f109e99ebbce64845480eeaa808d6759c0d9a7.tar.gz |
Actually fix the TX performance with polling(4) enabled
by increasing the TX list size from 64 to 128, which is
adequate for HZ=1000.
Submitted by: Vsevolod Lobko
Diffstat (limited to 'sys/pci/if_ste.c')
-rw-r--r-- | sys/pci/if_ste.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c index 1062aed..9e419df 100644 --- a/sys/pci/if_ste.c +++ b/sys/pci/if_ste.c @@ -651,7 +651,7 @@ ste_poll(struct ifnet *ifp, enum poll_cmd cmd, int count) if (ifp->if_snd.ifq_head != NULL) ste_start(ifp); - if (sc->rxcycles > 0 && cmd == POLL_AND_CHECK_STATUS) { + if (cmd == POLL_AND_CHECK_STATUS) { u_int16_t status; status = CSR_READ_2(sc, STE_ISR_ACK); |