linux/drivers/infiniband/hw
Ariel Nahum 799cdaf8a9 IB/mlx4: Fix incorrect cq flushing in error state
When handling a device internal error, the driver is responsible to
drain the completion queue with flush errors.

In case a completion queue was assigned to multiple send queues, the
driver iterates over the send queues and generates flush errors of
inflight wqes. The driver must correctly pass the wc array with an
offset as a result of the previous send queue iteration. Not doing so
will overwrite previously set completions and return a wrong number
of polled completions which includes ones which were not correctly set.

Fixes: 35f05dabf9 (IB/mlx4: Reset flow support for IB kernel ULPs)
Signed-off-by: Ariel Nahum <arieln@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Cc: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-08-30 18:12:23 -04:00
..
cxgb3 cxgb3: Support ib_alloc_mr verb 2015-08-30 18:08:47 -04:00
cxgb4 iw_cxgb4: Support ib_alloc_mr verb 2015-08-30 18:08:47 -04:00
ehca IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
mlx4 IB/mlx4: Fix incorrect cq flushing in error state 2015-08-30 18:12:23 -04:00
mlx5 mlx5: Drop mlx5_ib_alloc_fast_reg_mr 2015-08-30 18:08:46 -04:00
mthca mlx4, mlx5, mthca: Expose max_sge_rd correctly 2015-08-28 23:02:10 -04:00
nes nes: Support ib_alloc_mr verb 2015-08-30 18:08:48 -04:00
ocrdma RDMA/ocrdma: Incorporate the moving of GID Table mgmt to IB/Core 2015-08-30 18:12:21 -04:00
qib qib: Support ib_alloc_mr verb 2015-08-30 18:08:48 -04:00
usnic IB/core: Pass hardware specific data in query_device 2015-06-12 14:49:10 -04:00
Makefile RDMA/amso1100: Deprecate the amso1100 driver and move to staging 2015-08-28 22:54:49 -04:00