]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: cq: sif_poll_cq might not drain cq completely
authorWei Lin Guay <wei.lin.guay@oracle.com>
Thu, 3 Nov 2016 09:46:22 +0000 (10:46 +0100)
committerKnut Omang <knut.omang@oracle.com>
Fri, 11 Nov 2016 16:36:59 +0000 (17:36 +0100)
commitc2cf0f102632f1fe3531d7beaba5aeb68fbfdaf3
treeba080cd680b753a7f4b70c533549e1a8516eeccc
parent46faa0ff8252d90b32112c3ab8e59b8723947d9c
sif: cq: sif_poll_cq might not drain cq completely

In a scenario where a duplicate completion is detected, the sif_poll_cq
skips the remaining cqes in the cq. This code bug is introduced in
commit "sif: sqflush: Handle duplicate completions in poll_cq".

Orabug: 25038711

Signed-off-by: Wei Lin Guay <wei.lin.guay@oracle.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
drivers/infiniband/hw/sif/sif_cq.c