summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2026-03-14 12:43:31 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-18 06:32:09 +0300
commit0da7809235d9cc34de71c9c5bf5028cc3034f806 (patch)
tree712811b6ce598c97d1917f6a533b9b8ba6d892ba /include/linux
parentb2fd52d90b8a1daeb6d44583bada7baad82b3c98 (diff)
downloadlinux-0da7809235d9cc34de71c9c5bf5028cc3034f806.tar.xz
net: stmmac: remove tx_tail_addr
There is only one place where tx_q->tx_tail_addr is used - the new stmmac_set_queue_tx_tail_ptr(). Make this a local variable and remove it from struct stmmac_tx_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_tx_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. Also change the type of desc_size to size_t, as this variable is initialised from sizeof(). Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1w1LWt-0000000DGT2-1oeO@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