Reduced stack usage of srp_recv_completion().

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2314 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-09-30 06:11:04 +00:00
parent 2bbca1d6dd
commit 9f6476426a

View File

@@ -1253,7 +1253,7 @@ index a2935e3..dda5203 100644
{
struct srp_target_port *target = target_ptr;
- struct ib_wc wc;
+ struct ib_wc wc[16];
+ struct ib_wc wc[8];
+ int i, n;
ib_req_notify_cq(cq, IB_CQ_NEXT_COMP);