From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bowers, AndrewX Date: Wed, 19 Feb 2020 19:39:15 +0000 Subject: [Intel-wired-lan] [PATCH S39 v2 04/15] ice: Always clear the QRXFLXP_CNTXT register for VF Rx queues In-Reply-To: <20200213213129.34023-3-anthony.l.nguyen@intel.com> References: <20200213213129.34023-1-anthony.l.nguyen@intel.com> <20200213213129.34023-3-anthony.l.nguyen@intel.com> Message-ID: <3cbb691521934a6091363bb331118f0a@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: > -----Original Message----- > From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On > Behalf Of Tony Nguyen > Sent: Thursday, February 13, 2020 1:31 PM > To: intel-wired-lan at lists.osuosl.org > Subject: [Intel-wired-lan] [PATCH S39 v2 04/15] ice: Always clear the > QRXFLXP_CNTXT register for VF Rx queues > > From: Brett Creeley > > Currently when the PF reduces its number of channels via ethtool and then > VFs are created there may be stale data for some of the Rx queues belonging > to VFs. This happens when a VF reuses an Rx queue that was previously used > by the PF. Specifically, the QRXFLXP_CNTXT register will have incorrect > values. Fix this by always clearing the relevant values in the QRXFLXP_CNTXT > register for VF queues. > > Signed-off-by: Brett Creeley > Signed-off-by: Tony Nguyen > --- > drivers/net/ethernet/intel/ice/ice_base.c | 8 ++++++-- > drivers/net/ethernet/intel/ice/ice_hw_autogen.h | 1 + > 2 files changed, 7 insertions(+), 2 deletions(-) Tested-by: Andrew Bowers