Thread (49 messages) 49 messages, 4 authors, 25d ago

Re: [PATCH net-next v7 02/14] net: microchip: fdma: rename contiguous dataptr helpers

flat view

From: Simon Horman <horms@kernel.org>
Date: 2026-09-23 08:50:15
Also in: bpf, linux-arm-kernel, lkml

On Fri, Sep 18, 2026 at 01:33:54PM +0200, Daniel Machon wrote:
When the FDMA library was introduced [1], two helpers to get the DMA and
virtual address of a data buffer, in contiguous memory, were added. These
helpers have had no callers until this series. I found the naming I
initially used confusing and inconsistent.

Rename fdma_dataptr_get_contiguous() and
fdma_dataptr_virt_get_contiguous() to fdma_dataptr_dma_addr_contiguous()
and fdma_dataptr_virt_addr_contiguous(). This makes the pair symmetric
and clarifies what type of address each returns.

[1]: commit 30e48a75df9c ("net: microchip: add FDMA library")

Tested-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help