aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.h
diff options
context:
space:
mode:
authorBrett Creeley <[email protected]>2019-02-28 23:25:53 +0000
committerJeff Kirsher <[email protected]>2019-05-02 08:09:51 +0000
commit0c2561c81f5d089781f7cb24b8ce9e52ac716f61 (patch)
tree4b236b339f1f03350862746af6f47264f4080765 /drivers/net/ethernet/intel/ice/ice_lib.h
parentice: Validate ring existence and its q_vector per VSI (diff)
downloadkernel-0c2561c81f5d089781f7cb24b8ce9e52ac716f61.tar.gz
kernel-0c2561c81f5d089781f7cb24b8ce9e52ac716f61.zip
ice: Use ice_for_each_q_vector macro where possible
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 <[email protected]> Signed-off-by: Anirudh Venkataramanan <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.h')
0 files changed, 0 insertions, 0 deletions