summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2019-06-13 08:30:44 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-16 08:23:21 +0200
commit9d3d11319bd20c7d8935f9368dc5566867b5e203 (patch)
treec964502f9e0299c6b25599548c39b471d458fb97 /mm
parent16d2d609ff0f1aded31913e4ff887007961085f8 (diff)
downloadlinux-stable-9d3d11319bd20c7d8935f9368dc5566867b5e203.tar.gz
linux-stable-9d3d11319bd20c7d8935f9368dc5566867b5e203.tar.bz2
linux-stable-9d3d11319bd20c7d8935f9368dc5566867b5e203.zip
IB/rdmavt: Add new completion inline
There is opencoded send completion logic all over all the drivers. We need to convert to this routine to enforce ordering issues for completions. This routine fixes an ordering issue where the read of the SWQE fields necessary for creating the completion can race with a post send if the post send catches a send queue at the edge of being full. Is is possible in that situation to read SWQE fields that are being written. This new routine insures that SWQE fields are read prior to advancing the index that post send uses to determine queue fullness. Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions