* Resend [PATCH] qla1280: wasted space in allocated pages for request and response ring
@ 2007-10-03 11:23 Johannes Dickgreber
0 siblings, 0 replies; only message in thread
From: Johannes Dickgreber @ 2007-10-03 11:23 UTC (permalink / raw)
To: linux-scsi
Hi
Sorry I Got no answer, so i resend
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
Thanks
tanzy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-03 11:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-03 11:23 Resend [PATCH] qla1280: wasted space in allocated pages for request and response ring Johannes Dickgreber
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).