diff options
author | Bharat Potnuri <bharat@chelsio.com> | 2018-04-27 16:41:16 +0530 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-04-27 14:38:44 -0400 |
commit | 2df19e19ae90d94fd8724083f161f368a2797537 (patch) | |
tree | b2f6622d07fb37ddb5501cddd377aeacdab72c6f /block/bounce.c | |
parent | 54e7e48b13c85d9a730b989fe7dc5250199a4f81 (diff) | |
download | op-kernel-dev-2df19e19ae90d94fd8724083f161f368a2797537.zip op-kernel-dev-2df19e19ae90d94fd8724083f161f368a2797537.tar.gz |
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>
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions