diff options
author | Claudiu Manoil <claudiu.manoil@nxp.com> | 2020-03-10 14:51:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-10 15:48:54 -0700 |
commit | 714239ac630a85919839f200d4499b7f811c7003 (patch) | |
tree | 89de5514a4db08aa3a1baf2e1954faa959374a85 /drivers/soc | |
parent | a784c92ee272ed075b2134736d32321535fc778a (diff) | |
download | linux-714239ac630a85919839f200d4499b7f811c7003.tar.bz2 |
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 <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions