From: Shannon Nelson <[email protected]>
Date: Tue, 7 Jul 2020 14:13:26 -0700
> The queue reset pattern is used in a couple different places,
> only slightly different from each other, and could cause
> issues if one gets changed and the other didn't. This puts
> them together so that only one version is needed, yet each
> can have slighty different effects by passing in a pointer
> to a work function to do whatever configuration twiddling is
> needed in the middle of the reset.
>
> This specifically addresses issues seen where under loops
> of changing ring size or queue count parameters we could
> occasionally bump into the netdev watchdog.
>
> v2: added more commit message commentary
>
> Fixes: 4d03e00a2140 ("ionic: Add initial ethtool support")
> Signed-off-by: Shannon Nelson <[email protected]>
Applied, thanks.