ice: Always clear QRXFLXP_CNTXT before writing new value
authorBrett Creeley <brett.creeley@intel.com>
Sat, 16 May 2020 00:54:59 +0000 (17:54 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 31 May 2020 10:47:35 +0000 (03:47 -0700)
commit401ce33b32812a8fde6789588416d8c5b232138f
tree74232f622ae6ab093919543f05360696eb1b5381
parentcf0bf41dd6cb1d5461c71d2159c7c062fff3c8fd
ice: Always clear QRXFLXP_CNTXT before writing new value

Always clear the previous value in QRXFLXP_CNTXT before writing a new
value. This will make it so re-used queues will not accidentally take the
previously configured settings.

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_lib.c
drivers/net/ethernet/intel/ice/ice_lib.h