summaryrefslogtreecommitdiff
path: root/drivers/mcb/Makefile
diff options
context:
space:
mode:
authorAriel Nahum <arieln@mellanox.com>2015-08-09 11:16:27 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-29 19:33:36 +0200
commit6cbf1615e5f8863df4b4ef415a830c544b45cca6 (patch)
tree084c23522257399878c551b28292032dfd0d5e08 /drivers/mcb/Makefile
parent63f58be1f4914f801ef58a708780fb0bfa82f7ed (diff)
IB/mlx4: Fix incorrect cq flushing in error state
commit 799cdaf8a98f13d4fba3162e21e1e63f21045010 upstream. 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: 35f05dabf95a (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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mcb/Makefile')
0 files changed, 0 insertions, 0 deletions