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_stereg.h | |
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_stereg.h')
-rw-r--r-- | sys/pci/if_stereg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_stereg.h b/sys/pci/if_stereg.h index 213c82d..d5ecac7 100644 --- a/sys/pci/if_stereg.h +++ b/sys/pci/if_stereg.h @@ -466,7 +466,7 @@ struct ste_desc_onefrag { #define STE_PACKET_SIZE 1536 #define ETHER_ALIGN 2 #define STE_RX_LIST_CNT 64 -#define STE_TX_LIST_CNT 64 +#define STE_TX_LIST_CNT 128 #define STE_INC(x, y) (x) = (x + 1) % y #define STE_NEXT(x, y) (x + 1) % y |