[PATCH 2.6.15-git9] aoe [3/8]: increase allowed outstanding packets

From: Ed L. Cashin
Date: Thu Jan 19 2006 - 14:05:17 EST


Signed-off-by: "Ed L. Cashin" <ecashin@xxxxxxxxxx>

Increase the number of AoE packets per device that can be outstanding
at one time, increasing performance.

diff -upr 2.6.15-git9-orig/drivers/block/aoe/aoecmd.c 2.6.15-git9-aoe/drivers/block/aoe/aoecmd.c
--- 2.6.15-git9-orig/drivers/block/aoe/aoecmd.c 2006-01-19 13:31:22.000000000 -0500
+++ 2.6.15-git9-aoe/drivers/block/aoe/aoecmd.c 2006-01-19 13:31:22.000000000 -0500
@@ -647,7 +647,7 @@ aoecmd_cfg_rsp(struct sk_buff *skb)
ulong flags, sysminor, aoemajor;
u16 bufcnt;
struct sk_buff *sl;
- enum { MAXFRAMES = 8 };
+ enum { MAXFRAMES = 16 };

h = (struct aoe_hdr *) skb->mac.raw;
ch = (struct aoe_cfghdr *) (h+1);


--
"Ed L. Cashin" <ecashin@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/