summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/octeontx2/Kconfig
diff options
context:
space:
mode:
authorAleksey Makarov <amakarov@marvell.com>2018-10-10 15:44:24 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-10 20:06:01 +0300
commit021e2e53b8c891a9d95860a318e5f30c76bf8b0d (patch)
treeba834439e3cf34acd6d2a4fbdd092567663d4d4f /drivers/net/ethernet/marvell/octeontx2/Kconfig
parent1054a6227c296af18e027d726203d6e67aa405fe (diff)
downloadlinux-021e2e53b8c891a9d95860a318e5f30c76bf8b0d.tar.xz
octeontx2-af: Add mailbox support infra
This patch adds mailbox support infrastructure APIs. Each RVU device has a dedicated 64KB mailbox region shared with it's peer for communication. RVU AF has a separate mailbox region shared with each of RVU PFs and a RVU PF has a separate region shared with each of it's VF. These set of APIs are used by this driver (RVU AF) and other RVU PF/VF drivers eg netdev, crypto e.t.c. Signed-off-by: Aleksey Makarov <amakarov@marvell.com> Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/Kconfig')
-rw-r--r--drivers/net/ethernet/marvell/octeontx2/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/Kconfig b/drivers/net/ethernet/marvell/octeontx2/Kconfig
index 8823152edabf..35827bdf1878 100644
--- a/drivers/net/ethernet/marvell/octeontx2/Kconfig
+++ b/drivers/net/ethernet/marvell/octeontx2/Kconfig
@@ -2,8 +2,12 @@
# Marvell OcteonTX2 drivers configuration
#
+config OCTEONTX2_MBOX
+ tristate
+
config OCTEONTX2_AF
tristate "Marvell OcteonTX2 RVU Admin Function driver"
+ select OCTEONTX2_MBOX
depends on (64BIT && COMPILE_TEST) || ARM64
depends on PCI
help