summaryrefslogtreecommitdiff
path: root/include/rdma/rdma_vt.h
diff options
context:
space:
mode:
authorKaike Wan <kaike.wan@intel.com>2018-11-28 21:22:09 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-12-07 05:59:46 +0300
commitca95f802ef5139722acc8d30aeaab6fe5bbe939e (patch)
treeb144e55cc6723cb8bda5a5c71a87c84657e20427 /include/rdma/rdma_vt.h
parentff8b67fccdb65402df78a1695c38be805252cf8e (diff)
downloadlinux-ca95f802ef5139722acc8d30aeaab6fe5bbe939e.tar.xz
IB/hfi1: Unreserve a reserved request when it is completed
Currently, When a reserved operation is completed, its entry in the send queue will not be unreserved, which leads to the miscalculation of qp->s_avail and thus the triggering of a WARN_ON call trace. This patch fixes the problem by unreserving the reserved operation when it is completed. Fixes: 856cc4c237ad ("IB/hfi1: Add the capability for reserved operations") Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Kaike Wan <kaike.wan@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/rdma_vt.h')
0 files changed, 0 insertions, 0 deletions