[PATCH 1/5] net/ice: detect stopping a flow-director queue twice
Stephen Hemminger
stephen at networkplumber.org
Wed Oct 9 19:44:57 CEST 2024
On Wed, 9 Oct 2024 18:08:18 +0100
Bruce Richardson <bruce.richardson at intel.com> wrote:
> If the flow-director queue is stopped at some point during the running
> of an application, the shutdown procedure for the port issues an error
> as it tries to stop the queue a second time, and fails to do so. We can
> eliminate this error by setting the tail-register pointer to NULL on
> stop, and checking for that condition in subsequent stop calls. Since
> the register pointer is set on start, any restarting of the queue will
> allow a stop call to progress as normal.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Fixes: 84dc7a95a2d3 ("net/ice: enable flow director engine")
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list