> From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of Maciej > Fijalkowski > Sent: Wednesday, August 18, 2021 7:29 PM > To: intel-wired-lan@xxxxxxxxxxxxxxxx > Cc: joamaki@xxxxxxxxx; Lobakin, Alexandr <alexandr.lobakin@xxxxxxxxx>; > netdev@xxxxxxxxxxxxxxx; toke@xxxxxxxxxx; bjorn@xxxxxxxxxx; kuba@xxxxxxxxxx; > bpf@xxxxxxxxxxxxxxx; davem@xxxxxxxxxxxxx; Karlsson, Magnus > <magnus.karlsson@xxxxxxxxx> > Subject: [Intel-wired-lan] [PATCH v6 intel-next 9/9] ice: make use of ice_for_each_* > macros > > Go through the code base and use ice_for_each_* macros. While at it, introduce > ice_for_each_xdp_txq() macro that can be used for looping over xdp_rings array. > > Commit is not introducing any new functionality. > > Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx> > --- > drivers/net/ethernet/intel/ice/ice.h | 5 ++++- > drivers/net/ethernet/intel/ice/ice_arfs.c | 2 +- > drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 4 ++-- > drivers/net/ethernet/intel/ice/ice_ethtool.c | 10 ++++----- > drivers/net/ethernet/intel/ice/ice_lib.c | 22 ++++++++++---------- > drivers/net/ethernet/intel/ice/ice_main.c | 14 ++++++------- > 6 files changed, 30 insertions(+), 27 deletions(-) > Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@xxxxxxxxx>