]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitacd1751a3988e45e3464c9405dc5b95deb55865d
tree33a0527778e0bf86acddd83ba13962e848dc6b2d
parentb9c8bb06b53d28c83c47988f645b6cf4543c2685
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