* [PATCH] netxen: revert jumbo ringsize
@ 2009-01-29 20:30 Dhananjay Phadke
2009-01-30 0:05 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Dhananjay Phadke @ 2009-01-29 20:30 UTC (permalink / raw)
To: netdev; +Cc: davem
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(-)
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
--
1.6.0.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] netxen: revert jumbo ringsize
2009-01-29 20:30 [PATCH] netxen: revert jumbo ringsize Dhananjay Phadke
@ 2009-01-30 0:05 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-01-30 0:05 UTC (permalink / raw)
To: dhananjay; +Cc: netdev
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-30 0:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-29 20:30 [PATCH] netxen: revert jumbo ringsize Dhananjay Phadke
2009-01-30 0:05 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).