]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: sqflush: set the duplicated CQ entry status as DUPL_COMPL_ERR
authorWei Lin Guay <wei.lin.guay@oracle.com>
Tue, 13 Sep 2016 19:17:58 +0000 (21:17 +0200)
committerKnut Omang <knut.omang@oracle.com>
Mon, 3 Oct 2016 12:02:20 +0000 (14:02 +0200)
commit5d4aac0ad533295a0e5bc0152b3aa1de15a01643
treea0c431315b2f0e6ab1026c0076439df4646ade19
parent7ddd82b3f95016a733a0534cb6f2c482dd80e08d
sif: sqflush: set the duplicated CQ entry status as DUPL_COMPL_ERR

Orabug: 24652927

Mark the duplicate completion status as PSIF_WC_STATUS_DUPL_COMPL_ERR if
the additional/duplicate completions are detected by walk_and_update_cqes.
Then, the translate_wr_id can identify the duplicate completion during
sif_poll_cq.

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
drivers/infiniband/hw/sif/sif_r3.c