summaryrefslogtreecommitdiffstats
path: root/net/compat.c
diff options
context:
space:
mode:
authorBharat Potnuri <bharat@chelsio.com>2018-04-27 16:41:16 +0530
committerBen Hutchings <ben@decadent.org.uk>2018-10-21 08:45:49 +0100
commitbcfd056fb6385a83aa8ca50aa6a5c5e101b02bcb (patch)
treec0a8269d04f9b49c3c58615ca7c253e9f6c0fb03 /net/compat.c
parente8e50d7bba9670503ad7e8df1625781ce3673e8a (diff)
downloadlinux-stable-bcfd056fb6385a83aa8ca50aa6a5c5e101b02bcb.tar.gz
linux-stable-bcfd056fb6385a83aa8ca50aa6a5c5e101b02bcb.tar.bz2
linux-stable-bcfd056fb6385a83aa8ca50aa6a5c5e101b02bcb.zip
iw_cxgb4: Atomically flush per QP HW CQEs
commit 2df19e19ae90d94fd8724083f161f368a2797537 upstream. 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. Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com> [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions