[Intel-wired-lan] [PATCH S17 10/17] ice: Remove unnecessary wait when disabling/enabling Rx queues

Bowers, AndrewX andrewx.bowers at intel.com
Fri Mar 8 00:34:03 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Thursday, February 28, 2019 3:26 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S17 10/17] ice: Remove unnecessary wait
> when disabling/enabling Rx queues
> 
> From: Brett Creeley <brett.creeley at intel.com>
> 
> 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 at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_lib.c | 10 ++--------
>  1 file changed, 2 insertions(+), 8 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list