diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2026-03-14 12:42:50 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-18 06:32:08 +0300 |
| commit | e9d0cafa9d60738ab396aa4b68d7e40c0855b4db (patch) | |
| tree | d5c8a9d600a66ac822324420d63f39d568d244ad /include/linux | |
| parent | 4f6280c450ba699e3b700f1cbc4ff8dbc70f3c96 (diff) | |
| download | linux-e9d0cafa9d60738ab396aa4b68d7e40c0855b4db.tar.xz | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
