On 08/09/2015 04:16 AM, Sagi Grimberg wrote:
> From: Ariel Nahum <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Sagi Grimberg <[email protected]>
> Cc: Yishai Hadas <[email protected]>

Applied, thanks.


-- 
Doug Ledford <[email protected]>
              GPG KeyID: 0E572FDD


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to