]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
sfxge: increase default put-list limit to 1024
authorarybchik <arybchik@FreeBSD.org>
Tue, 17 Mar 2015 08:23:46 +0000 (08:23 +0000)
committerarybchik <arybchik@FreeBSD.org>
Tue, 17 Mar 2015 08:23:46 +0000 (08:23 +0000)
Drops are observed under multi-stream TCP traffic due to put-list
overflow with limit equal to 64.

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)

sys/dev/sfxge/sfxge_tx.h

index 38309a32350c900f2744a8f0bec0eed7128fdf13..35f91cfa2e792170687d76b5452380b60a65346b 100644 (file)
@@ -81,7 +81,7 @@ struct sfxge_tx_mapping {
 
 #define        SFXGE_TX_DPL_GET_PKT_LIMIT_DEFAULT              (64 * 1024)
 #define        SFXGE_TX_DPL_GET_NON_TCP_PKT_LIMIT_DEFAULT      1024
-#define        SFXGE_TX_DPL_PUT_PKT_LIMIT_DEFAULT              64
+#define        SFXGE_TX_DPL_PUT_PKT_LIMIT_DEFAULT              1024
 
 /*
  * Deferred packet list.