]> git.baikalelectronics.ru Git - kernel.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)
commit34977f16b26412ebab7ccad83e7368afc51f971a
treed4792f656bb122ff7519e6234da1013d75d6c446
parentce6fc426796875a5ec50f9d8d46847520f1da2c1
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