commit | 2df19e19ae90d94fd8724083f161f368a2797537 | [log] [tgz] |
---|---|---|
author | Bharat Potnuri <bharat@chelsio.com> | Fri Apr 27 16:41:16 2018 +0530 |
committer | Doug Ledford <dledford@redhat.com> | Fri Apr 27 14:38:44 2018 -0400 |
tree | b2f6622d07fb37ddb5501cddd377aeacdab72c6f | |
parent | 54e7e48b13c85d9a730b989fe7dc5250199a4f81 [diff] |
iw_cxgb4: Atomically flush per QP HW CQEs When a CQ is shared by multiple QPs, c4iw_flush_hw_cq() needs to acquire corresponding QP lock before moving the CQEs into its corresponding SW queue and accessing the SQ contents for completing a WR. Ignore CQEs if corresponding QP is already flushed. Cc: stable@vger.kernel.org Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>