commit | ee84541ad11e70d372670160e727680051801517 | [log] [tgz] |
---|---|---|
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | Thu Feb 04 11:03:28 2016 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Thu Mar 10 20:38:04 2016 -0500 |
tree | abbdb47297d51ea17a4c2a10323d2ef6325651c1 | |
parent | 6c2ab0b857d1b674c5f710d2cbf06a0f3ac52313 [diff] |
IB/qib: 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>