]> 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)
commit85ebfd59dc99912c014f97f0d52ebaf970b9efc1
tree33a0527778e0bf86acddd83ba13962e848dc6b2d
parent961cc0930b00c449e28578fc803e49768fec7403
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