]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Remove unnecessary wait when disabling/enabling Rx queues
authorBrett Creeley <brett.creeley@intel.com>
Thu, 28 Feb 2019 23:25:56 +0000 (15:25 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 2 May 2019 08:15:43 +0000 (01:15 -0700)
commitf968e7a7bdb3ccec4f9d0ff6ea918ad4b62cc2fc
tree33a0527778e0bf86acddd83ba13962e848dc6b2d
parent5cd276450546963f4db22434e891bfcecadd7e0c
ice: Remove unnecessary wait when disabling/enabling Rx queues

In ice_vsi_ctrl_rx_rings() we are unnecessarily waiting for
QRX_CTRL_QENA_REQ and QRX_CTRL_QENA_STAT to be the same value prior to
disabling each Rx queue. There is no reason to do this so remove
this wait loop as we already have a wait loop after disabling/enabling
the Rx queue through the QRX_CTRL register to make sure it gets
successfully disabled/enabled.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@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_lib.c