summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2016-02-04 11:03:19 -0800
committerDoug Ledford <dledford@redhat.com>2016-03-10 20:38:04 -0500
commit6c2ab0b857d1b674c5f710d2cbf06a0f3ac52313 (patch)
tree14fdc292197cb927dd519e65b029ea2a9fe1595a /drivers/infiniband
parent20658661bc0712c51ad9798914f5eb3e28cb8121 (diff)
downloadtalos-op-linux-6c2ab0b857d1b674c5f710d2cbf06a0f3ac52313.tar.gz
talos-op-linux-6c2ab0b857d1b674c5f710d2cbf06a0f3ac52313.zip
staging/rdma/hfi1: Insure last cursor is updated prior to complete
This patch is a prerequisite for adding a separate lock for post send. The timing of updating s_last needs to be before returning any send completion to avoid a race between a poll cq seeing a completion and the post send checking for a full queue. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud