i40iw: Correct CQ arming
authorShiraz Saleem <shiraz.saleem@intel.com>
Tue, 14 Jun 2016 21:54:16 +0000 (16:54 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 23 Jun 2016 14:35:34 +0000 (10:35 -0400)
commit747f1c6d9be749a29612fc78c321b97099906008
tree9f7b6feb47061ffd7b340dff21f6685519f1f2b1
parent61c78eea9516a921799c17b4c20558e2aa780fd3
i40iw: Correct CQ arming

CQ is armed for solicited events only, ignoring other notification
flags. Correct this by arming for next and arming for solicited
event if IB_CQ_SOLICITED is set. Also protect CQ shadow area update
with spinlock.

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_verbs.c