]> git.karo-electronics.de Git - linux-beck.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2017 07:08:31 +0000 (08:08 +0100)
commitbf9ab22c350d17af861681348273df5420ac182d
tree8cfae24b6881542708ad31abcc373e5b9930919b
parent13363b6988f60be9f75146a52476a5e8d55f503c
iw_cxgb4: set correct FetchBurstMax for QPs

commit b414fa01c31318383ae29d9d23cb9ca4184bbd86 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/cxgb4/qp.c