diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2026-03-14 09:42:50 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-17 20:32:08 -0700 |
| commit | e9d0cafa9d60738ab396aa4b68d7e40c0855b4db (patch) | |
| tree | d5c8a9d600a66ac822324420d63f39d568d244ad /tools/perf/scripts/python | |
| parent | 4f6280c450ba699e3b700f1cbc4ff8dbc70f3c96 (diff) | |
net: stmmac: add helper to set receive tail pointer
Setting the queue receive tail pointer follows a common pattern:
calculate the DMA address, and then call stmmac_set_rx_tail_ptr().
The only difference between all the call sites is the index used.
Factor this out into a static function, and add a comment about why
it only uses the normal descriptor size.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1w1LWE-0000000DGSF-2Hbs@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
