Mark Spender 4b4b84caf9 net/sfc/base: ensure EvQ poll stops when abort is requested
If an event handler requested an abort, only the inner loop was
guaranteed to be broken out of - the outer loop could continue
if total == batch.

Fix this by poisoning batch to ensure it is different to total.

Signed-off-by: Mark Spender <mspender@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
2019-02-08 11:32:42 +01:00
..

   SPDX-License-Identifier: BSD-3-Clause

   Copyright (c) 2006-2018 Solarflare Communications Inc.
   All rights reserved.

Solarflare libefx driver library
================================

This directory contains source code of Solarflare Communications libefx
driver library of version v4.10.0.1012.

Updating
========

The source code in this directory should not be modified.
Please contact the driver maintainers to request changes.