]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: rq: do not flush rq if it is an srq
authorWei Lin Guay <wei.lin.guay@oracle.com>
Mon, 31 Oct 2016 20:25:26 +0000 (21:25 +0100)
committerKnut Omang <knut.omang@oracle.com>
Fri, 11 Nov 2016 16:36:58 +0000 (17:36 +0100)
commit46faa0ff8252d90b32112c3ab8e59b8723947d9c
tree8e1e55bbf083cbcda7b4d7ce7b4723d8c70333b4
parentf1211b2ec7e1ce05136b97330b211c04dfe058f6
sif: rq: do not flush rq if it is an srq

sifdrv needs to flush a regular rq (non-srq) once it
detects that a qp is transitioned into  ERR state.
Nevertheless, if a qp is created with srq and
with no event handler, the srq might be accidentally
flushed once the qp is transitioned into ERR sate.

Orabug: 25071205

Signed-off-by: Wei Lin Guay <wei.lin.guay@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
drivers/infiniband/hw/sif/sif_eq.c