[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <da48f1f5ff794532b951591f5406ca21@intel.com>
Date: Wed, 4 Dec 2019 18:25:53 +0000
From: "Bowers, AndrewX" <andrewx.bowers@...el.com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
Subject: RE: [Intel-wired-lan] [PATCH] ixgbe: Fix calculation of queue with
VFs and flow director on interface flap
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces@...osl.org] On
> Behalf Of Cambda Zhu
> Sent: Wednesday, November 27, 2019 1:04 AM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher@...el.com>
> Cc: Cambda Zhu <cambda@...ux.alibaba.com>; Tyl, RadoslawX
> <radoslawx.tyl@...el.com>; netdev@...r.kernel.org; Joseph Qi
> <joseph.qi@...ux.alibaba.com>; intel-wired-lan@...ts.osuosl.org; David S.
> Miller <davem@...emloft.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@...ux.alibaba.com>
> ---
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 37
> +++++++++++++++++++--------
> 1 file changed, 27 insertions(+), 10 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers@...el.com>
Powered by blists - more mailing lists