[Intel-wired-lan] [next-queue PATCH] i40evf: Reorder configure_clsflower to avoid deadlock on error

Bowers, AndrewX andrewx.bowers at intel.com
Mon Mar 19 18:43:01 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alexander Duyck
> Sent: Tuesday, March 13, 2018 7:46 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next-queue PATCH] i40evf: Reorder
> configure_clsflower to avoid deadlock on error
> 
> From: Alexander Duyck <alexander.h.duyck at intel.com>
> 
> While doing some code review I noticed that we can get into a state where
> we exit with the "IN_CRITICAL_TASK" bit set while notifying the PF of flower
> filters. This patch is meant to address that plus tweak the ordering of the
> while loop waiting on it slightly so that we don't wait an extra period after we
> have failed for the last time.
> 
> Signed-off-by: Alexander Duyck <alexander.h.duyck at intel.com>
> ---
>  drivers/net/ethernet/intel/i40evf/i40evf_main.c |   23 +++++++++++---------
> ---
>  1 file changed, 11 insertions(+), 12 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list