diff options
| author | Daniel Machon <daniel.machon@microchip.com> | 2026-09-28 21:32:55 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-02 13:08:54 -0700 |
| commit | f83ac2d94a2a0e36cc45434d7ba8b79306fde04a (patch) | |
| tree | fec5fe5d736809f4b60e93a4a261c83dc09201fc /tools/lib/python | |
| parent | eac4b8882a03fada82ae689d28754a553c044304 (diff) | |
net: lan966x: use a dedicated device for DMA operations
In preparation for the PCIe FDMA implementation, add lan966x->dma_dev,
resolved once at probe time, and use it for every DMA operation the
FDMA path performs: coherent allocations, streaming mappings and the RX
page pool. Natively, dma_dev is lan966x->dev, so there is no functional
change.
Since dma_dev differs from dev only on the PCIe path, add
lan966x_is_pci() on top of it, for the later PCIe patches to key off.
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260928-lan966x-pci-fdma-v9-7-a17caf60f89a@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
