Commit 54494aa5 authored by Sunil Goutham's avatar Sunil Goutham Committed by David S. Miller
Browse files

octeontx2-af: Add Marvell OcteonTX2 RVU AF driver



This patch adds basic template for Marvell OcteonTX2's
resource virtualization unit (RVU) admin function (AF)
driver. Just the driver registration and probe.

Signed-off-by: default avatarSunil Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e40a826a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -167,4 +167,7 @@ config SKY2_DEBUG

	  If unsure, say N.


source "drivers/net/ethernet/marvell/octeontx2/Kconfig"

endif # NET_VENDOR_MARVELL
+1 −0
Original line number Diff line number Diff line
@@ -11,3 +11,4 @@ obj-$(CONFIG_MVPP2) += mvpp2/
obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o
obj-$(CONFIG_SKGE) += skge.o
obj-$(CONFIG_SKY2) += sky2.o
obj-y		+= octeontx2/
+13 −0
Original line number Diff line number Diff line
#
# Marvell OcteonTX2 drivers configuration
#

config OCTEONTX2_AF
	tristate "Marvell OcteonTX2 RVU Admin Function driver"
	depends on (64BIT && COMPILE_TEST) || ARM64
	depends on PCI
	help
	  This driver supports Marvell's OcteonTX2 Resource Virtualization
	  Unit's admin function manager which manages all RVU HW resources
	  and provides a medium to other PF/VFs to configure HW. Should be
	  enabled for other RVU device drivers to work.
+6 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for Marvell OcteonTX2 device drivers.
#

obj-$(CONFIG_OCTEONTX2_AF) += af/
+8 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for Marvell's OcteonTX2 RVU Admin Function driver
#

obj-$(CONFIG_OCTEONTX2_AF) += octeontx2_af.o

octeontx2_af-y := rvu.o
Loading