diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2026-03-14 12:43:16 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-18 06:32:09 +0300 |
| commit | c493261de1c4c295c7dab8e59e58069a14d47e42 (patch) | |
| tree | ad1dbb190930b02de95ec08dcd2d84e2f75ee6ea /include/linux/zstd_errors.h | |
| parent | 337191f37748ee9cf986c8154d32209241495d8b (diff) | |
| download | linux-c493261de1c4c295c7dab8e59e58069a14d47e42.tar.xz | |
net: stmmac: add helper to get hardware transmit descriptor
Provide a helper to get the hardware transmit descriptor that takes
account of whether extended format and TBS are being used, returning
the base struct dma_desc pointer. This avoids multiple instances where
these tests are open coded.
We need to update dwmac4_display_ring() to cope the passed head
pointer always pointing at the struct dma_desc by using
dma_desc_to_edesc() to convert it to struct dma_edesc. This is the
only stmmac_display_ring() implementation that this affects.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1w1LWe-0000000DGSj-0KtE@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions
