]> asedeno.scripts.mit.edu Git - linux.git/commit
iw_cxgb4: set correct FetchBurstMax for QPs
authorSteve Wise <swise@opengridcomputing.com>
Thu, 15 Dec 2016 16:09:35 +0000 (08:09 -0800)
committerDoug Ledford <dledford@redhat.com>
Sun, 18 Dec 2016 18:35:19 +0000 (13:35 -0500)
commitb414fa01c31318383ae29d9d23cb9ca4184bbd86
treed4792f656bb122ff7519e6234da1013d75d6c446
parent6f94ba20799b98c8badf047b184fb4cd7bc45e44
iw_cxgb4: set correct FetchBurstMax for QPs

The current QP FetchBurstMax value is 256B, which
is incorrect since a WR can exceed that value.  The
result being a partial WR fetched by hardware, and
a fatal "bad WR" error posted by the SGE.

So bump the FetchBurstMax to 512B.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/qp.c