2006-01-19 19:06:15

by Ed L. Cashin

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

Signed-off-by: "Ed L. Cashin" <[email protected]>

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" <[email protected]>