mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
799cdaf8a9
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:
|
||
---|---|---|
.. | ||
cxgb3 | ||
cxgb4 | ||
ehca | ||
mlx4 | ||
mlx5 | ||
mthca | ||
nes | ||
ocrdma | ||
qib | ||
usnic | ||
Makefile |