diff options
author | Chris Leech <cleech@redhat.com> | 2024-02-05 23:01:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-08 00:52:59 +0300 |
commit | 576882ef5e7fce030b65c92b508a0f84ea5a81c2 (patch) | |
tree | 5fa1cdf6c13a80a6b3ca2498721d77ff99e25f1b /drivers/net/ethernet/broadcom/bnx2x | |
parent | 0e439ba38e615e505404b3935585f1898bafaea9 (diff) | |
download | linux-576882ef5e7fce030b65c92b508a0f84ea5a81c2.tar.xz |
uio: introduce UIO_MEM_DMA_COHERENT type
Add a UIO memtype specifically for sharing dma_alloc_coherent
memory with userspace, backed by dma_mmap_coherent.
This is mainly for the bnx2/bnx2x/bnx2i "cnic" interface, although there
are a few other uio drivers which map dma_alloc_coherent memory and will
be converted to use dma_mmap_coherent as well.
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Chris Leech <cleech@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240205200137.138302-1-cleech@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x')
0 files changed, 0 insertions, 0 deletions