RDMA/bnxt_re: Fix WQE Size posted to HW to prevent it from throwing error
authorSomnath Kotur <somnath.kotur@broadcom.com>
Thu, 29 Jun 2017 19:28:09 +0000 (12:28 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 20 Jul 2017 15:20:49 +0000 (11:20 -0400)
commitab69d4c8da38024191f3514c1296e9e8deea4e98
tree618d110aa7b9ca30ea560259a49d127d817bfdac
parentb3b2c7c5506bd8d15214136f8b11a2e6c9728033
RDMA/bnxt_re: Fix WQE Size posted to HW to prevent it from throwing error

Posting WQE size of 2 results in a WQE_FORMAT_ERROR
thrown by the HW as it requires host to supply WQE Size with room
for atleast one SGE so that the resulting WQE size be atleast 3.

Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/bnxt_re/qplib_fp.c