[Intel-wired-lan] [PATCH] ixgbe: Fix calculation of queue with VFs and flow director on interface flap

Bowers, AndrewX andrewx.bowers at intel.com
Wed Dec 4 18:25:53 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Cambda Zhu
> Sent: Wednesday, November 27, 2019 1:04 AM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>
> Cc: Cambda Zhu <cambda at linux.alibaba.com>; Tyl, RadoslawX
> <radoslawx.tyl at intel.com>; netdev at vger.kernel.org; Joseph Qi
> <joseph.qi at linux.alibaba.com>; intel-wired-lan at lists.osuosl.org; David S.
> Miller <davem at davemloft.net>
> Subject: [Intel-wired-lan] [PATCH] ixgbe: Fix calculation of queue with VFs
> and flow director on interface flap
> 
> This patch fixes the calculation of queue when we restore flow director filters
> after resetting adapter. In ixgbe_fdir_filter_restore(), filter's vf may be zero
> which makes the queue outside of the rx_ring array.
> 
> The calculation is changed to the same as ixgbe_add_ethtool_fdir_entry().
> 
> Signed-off-by: Cambda Zhu <cambda at linux.alibaba.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 37
> +++++++++++++++++++--------
>  1 file changed, 27 insertions(+), 10 deletions(-)

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




More information about the Intel-wired-lan mailing list