From: Johannes Dickgreber Date: Wed, 19 Sep 2007 23:07:50 +0000 (+0200) Subject: [SCSI] qla1280: eliminate wasted space in request and response ring X-Git-Tag: v2.6.24-rc1~19^2~25 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=20d2d3afa87781fe2674ce17bfb16af08a436e81;p=linux-2.6-omap-h63xx.git [SCSI] qla1280: eliminate wasted space in request and response ring 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 so eliminate them. Signed-off-by: Johannes Dickgreber Acked-by: Jes Sorensen Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla1280.h b/drivers/scsi/qla1280.h index 59915fb7030..ff2c363ead2 100644 --- a/drivers/scsi/qla1280.h +++ b/drivers/scsi/qla1280.h @@ -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