Patchwork netxen: revert jumbo ringsize

login
register
mail settings
Submitter Dhananjay Phadke
Date Jan. 29, 2009, 8:30 p.m.
Message ID <1233261028-27584-1-git-send-email-dhananjay@netxen.com>
Download mbox | patch
Permalink /patch/21083/
State Accepted
Delegated to: David Miller
Headers show

Comments

Dhananjay Phadke - Jan. 29, 2009, 8:30 p.m.
Reducing jumbo ring size below 1024 reduces throughput for old
firmwares (3.4.216 and older) running on older (NX2031) chip,
so restore it back to 1024.

This was reduced in commit 32ec803348b4d5f1353e1d7feae30880b8b3e342.

Raising jumbo ring size from 512 to 1024, adds ~4MB per port, but
there's still big saving because of original patch (~20MB per port).

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
---
 drivers/net/netxen/netxen_nic.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
David Miller - Jan. 30, 2009, 12:05 a.m.
From: Dhananjay Phadke <dhananjay@netxen.com>
Date: Thu, 29 Jan 2009 12:30:28 -0800

> Reducing jumbo ring size below 1024 reduces throughput for old
> firmwares (3.4.216 and older) running on older (NX2031) chip,
> so restore it back to 1024.
> 
> This was reduced in commit 32ec803348b4d5f1353e1d7feae30880b8b3e342.
> 
> Raising jumbo ring size from 512 to 1024, adds ~4MB per port, but
> there's still big saving because of original patch (~20MB per port).
> 
> Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h
index a75a310..9c78c96 100644
--- a/drivers/net/netxen/netxen_nic.h
+++ b/drivers/net/netxen/netxen_nic.h
@@ -210,7 +210,7 @@ 
 #define MAX_CMD_DESCRIPTORS_HOST	1024
 #define MAX_RCV_DESCRIPTORS_1G		2048
 #define MAX_RCV_DESCRIPTORS_10G		4096
-#define MAX_JUMBO_RCV_DESCRIPTORS	512
+#define MAX_JUMBO_RCV_DESCRIPTORS	1024
 #define MAX_LRO_RCV_DESCRIPTORS		8
 #define MAX_RCVSTATUS_DESCRIPTORS	MAX_RCV_DESCRIPTORS
 #define MAX_JUMBO_RCV_DESC	MAX_JUMBO_RCV_DESCRIPTORS