diff options
author | Claudiu Manoil <[email protected]> | 2020-03-10 14:51:23 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-10 15:48:54 -0700 |
commit | 714239ac630a85919839f200d4499b7f811c7003 (patch) | |
tree | 89de5514a4db08aa3a1baf2e1954faa959374a85 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | a784c92ee272ed075b2134736d32321535fc778a (diff) |
enetc: Clean up Rx BD iteration
Improve maintainability of the code iterating the Rx buffer
descriptors to prepare it to support iterating extended Rx BD
descriptors as well.
Don't increment by one the h/w descriptor pointers explicitly,
provide an iterator that takes care of the h/w details.
Signed-off-by: Claudiu Manoil <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions