diff options
| author | 2026-03-06 12:14:42 +0900 | |
|---|---|---|
| committer | 2026-03-27 10:56:34 -0500 | |
| commit | 852b94ff92cbe26a0dbb15eed9474f5493767f3b (patch) | |
| tree | cebfe9ac562b88b887978f7a3cf781de0214c2ae /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | NTB: core: Add .get_dma_dev() callback to ntb_dev_ops (diff) | |
NTB: ntb_transport: Use ntb_get_dma_dev() for DMA buffers
ntb_transport currently uses ndev->pdev->dev for coherent allocations
and frees.
Switch the coherent buffer allocation/free paths to use
ntb_get_dma_dev(), so ntb_transport can work with NTB implementations
where the NTB PCI function is not the right device to use for DMA
mappings.
Suggested-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Koichiro Den <den@valinux.co.jp>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://patch.msgid.link/20260306031443.1911860-3-den@valinux.co.jp
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
