linux/drivers/infiniband/hw/ocrdma
Selvin Xavier a96ffb1de9 RDMA/ocrdma: Avoid reporting wrong completions in case of error CQEs
During cable pull test with a mount over NFS/RDMA, the driver was
reporting error completions when there were no pending requests in the
SQ and RQ.  This was triggering a host crash because of reporting
wrong work req id.  Avoid this crash by adding a check for SQ and RQ
empty condition and prevent reporting completions if queues are empty.

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-08-01 15:07:36 -07:00
..
Kconfig RDMA/ocrdma: Add dependency on INET 2014-01-19 15:16:23 -08:00
Makefile RDMA/ocrdma: Query controller information 2014-04-03 08:30:05 -07:00
ocrdma_abi.h RDMA/ocrdma: Code clean-up 2014-04-03 08:30:06 -07:00
ocrdma_ah.c RDMA/ocrdma: Query and initalize the PFC SL 2014-08-01 15:07:36 -07:00
ocrdma_ah.h
ocrdma_hw.c RDMA/ocrdma: Delete AH table if ocrdma_init_hw fails after AH table creation 2014-08-01 15:07:36 -07:00
ocrdma_hw.h RDMA/ocrdma: Query and initalize the PFC SL 2014-08-01 15:07:36 -07:00
ocrdma_main.c RDMA/ocrdma: Handle shutdown event from be2net driver 2014-08-01 15:07:36 -07:00
ocrdma_sli.h RDMA/ocrdma: Remove hardcoding of the max DPP QPs supported 2014-08-01 15:07:36 -07:00
ocrdma_stats.c RDMA/ocrdma: Convert to use simple_open() 2014-05-19 17:55:54 -07:00
ocrdma_stats.h RDMA/ocrdma: Query controller information 2014-04-03 08:30:05 -07:00
ocrdma_verbs.c RDMA/ocrdma: Avoid reporting wrong completions in case of error CQEs 2014-08-01 15:07:36 -07:00
ocrdma_verbs.h RDMA/ocrdma: For ERX2 irrespective of Qid, num_posted offset is 24 2013-09-02 21:17:55 -07:00
ocrdma.h RDMA/ocrdma: Query and initalize the PFC SL 2014-08-01 15:07:36 -07:00