]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ice: Always clear the QRXFLXP_CNTXT register for VF Rx queues
authorBrett Creeley <brett.creeley@intel.com>
Thu, 13 Feb 2020 21:31:18 +0000 (13:31 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 19 Feb 2020 21:01:51 +0000 (13:01 -0800)
commit36be2baa09f04619b689adb1dac84c8727c407dc
tree321ba08402215a47ca09f2d31584e98fbd271019
parenta6892c96fc4908f43b6bfbc0a72f416500254f76
ice: Always clear the QRXFLXP_CNTXT register for VF Rx queues

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 <brett.creeley@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_base.c
drivers/net/ethernet/intel/ice/ice_hw_autogen.h