All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qla1280: wasted space in allocated pages for request and response ring
@ 2007-09-19 23:07 Johannes Dickgreber
  0 siblings, 0 replies; only message in thread
From: Johannes Dickgreber @ 2007-09-19 23:07 UTC (permalink / raw)
  To: linux-scsi

Hi

i think there is wasted space in allocated pages for
request and response rings.
The allocations are made with REQUEST_ENTRY_CNT + 1 and
RESPONSE_ENTRY_CNT + 1, but they are set with 256 and 16.

So we got more pages, which we dont use very much.

Can you please check.

Signed-off-by: Johannes Dickgreber tanzy@gmx.de
---
--- qla1280.h.orig	2007-09-19 23:32:42 +0200
+++ qla1280.h	2007-09-19 23:44:37 +0200
@@ -91,8 +91,8 @@
 #define INVALID_HANDLE			(MAX_OUTSTANDING_COMMANDS + 2)

 /* ISP request and response entry counts (37-65535) */
-#define REQUEST_ENTRY_CNT		256 /* Number of request entries. */
-#define RESPONSE_ENTRY_CNT		16  /* Number of response entries. */
+#define REQUEST_ENTRY_CNT		255 /* Number of request entries. */
+#define RESPONSE_ENTRY_CNT		63  /* Number of response entries. */

 /*
  * SCSI Request Block structure  (sp)  that is placed


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-19 23:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19 23:07 [PATCH] qla1280: wasted space in allocated pages for request and response ring Johannes Dickgreber

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.