diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2026-03-14 12:42:55 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-18 06:32:08 +0300 |
| commit | bea37bda7f75c552e0ddddec2d04c3c7c6222208 (patch) | |
| tree | f4fd51086b164202c03efff9154a7ab873404339 /include | |
| parent | e9d0cafa9d60738ab396aa4b68d7e40c0855b4db (diff) | |
| download | linux-bea37bda7f75c552e0ddddec2d04c3c7c6222208.tar.xz | |
net: stmmac: remove rx_tail_addr
There is only one place where rx_q->rx_tail_addr is used - the new
stmmac_set_queue_rx_tail_ptr(). Make this a local variable and remove
it from struct stmmac_rx_queue.
This commit does not change the semantics - the hardware relies upon
the descriptor ring not crossing a 4GiB boundary as the high address
bits are programmed into a separate register via stmmac_init_rx_chan().
Hence, truncating the DMA address to 32-bit is fine as the register it
will be programmed into is 32-bit, and the high bits are handled
elsewhere.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1w1LWJ-0000000DGSL-2jWd@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
