[Intel-wired-lan] [PATCH S17 07/17] ice: Use ice_for_each_q_vector macro where possible
Bowers, AndrewX
andrewx.bowers at intel.com
Fri Mar 8 00:29:08 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 07/17] ice: Use ice_for_each_q_vector
> macro where possible
>
> From: Brett Creeley <brett.creeley at intel.com>
>
> There are many places in the code where we do the following:
>
> for (i = 0; i < vsi->num_q_vectors; i++)
>
> Instead use the macro mentioned in the commit title:
>
> ice_for_each_q_vector(vsi, i)
>
> 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 | 6 +++---
> drivers/net/ethernet/intel/ice/ice_main.c | 10 +++++-----
> 2 files changed, 8 insertions(+), 8 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list