commit | 2bdc97be97136004e4a13d3ade50ad2e6d6c7d44 | [log] [tgz] |
---|---|---|
author | Bruce Allan <bruce.w.allan@intel.com> | Wed Feb 13 10:51:10 2019 -0800 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon Mar 25 10:33:54 2019 -0700 |
tree | 4386efe438103f3e7e9b9ad16688d00da5e9060d | |
parent | 105e5bc23a3a9de3f6c2d6af116bfc0d2334519a [diff] |
ice: add and use new ice_for_each_traffic_class() macro There are numerous for() loops iterating over each of the max traffic classes. Use a simple iterator macro instead to make the code cleaner. Signed-off-by: Bruce Allan <bruce.w.allan@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>