]> git.baikalelectronics.ru Git - kernel.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)
commitedfdf247ddd95f6393df8f854555bc77d6f72e24
tree321ba08402215a47ca09f2d31584e98fbd271019
parenta1bcbd4765993b5c84ae9f780cb3d908081b6bb7
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