]> www.infradead.org Git - users/jedix/linux-maple.git/commit
misc: mrvl-cn10k-dpi: add Octeon CN10K DPI administrative driver
authorVamsi Attunuru <vattunuru@marvell.com>
Sat, 6 Jul 2024 15:30:09 +0000 (08:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jul 2024 12:58:29 +0000 (14:58 +0200)
commit5f67eef6dff39421215e9134f1eaae51b67a73b7
tree6e1aeb758c027df963a38f512c6744c874ebda46
parente56af94b9b5487a71f8c705c83ac5f7bc28ae1a2
misc: mrvl-cn10k-dpi: add Octeon CN10K DPI administrative driver

Adds a misc driver for Marvell CN10K DPI(DMA Engine) device's physical
function which initializes DPI DMA hardware's global configuration and
enables hardware mailbox channels between physical function (PF) and
it's virtual functions (VF). VF device drivers (User space drivers) use
this hw mailbox to communicate any required device configuration on it's
respective VF device. Accordingly, this DPI PF driver provisions the
VF device resources.

At the hardware level, the DPI physical function (PF) acts as a management
interface to setup the VF device resources, VF devices are only provisioned
to handle or control the actual DMA Engine's data transfer capabilities.

Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
Reviewed-by: Srujana Challa <schalla@marvell.com>
Link: https://lore.kernel.org/r/20240706153009.3775333-1-vattunuru@marvell.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/misc-devices/index.rst
Documentation/misc-devices/mrvl_cn10k_dpi.rst [new file with mode: 0644]
Documentation/userspace-api/ioctl/ioctl-number.rst
MAINTAINERS
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/Makefile.rej [new file with mode: 0644]
drivers/misc/mrvl_cn10k_dpi.c [new file with mode: 0644]
include/uapi/misc/mrvl_cn10k_dpi.h [new file with mode: 0644]