Commit 546dd90b authored by Alexander Duyck's avatar Alexander Duyck Committed by Jakub Kicinski
Browse files

eth: fbnic: Add scaffolding for Meta's NIC driver



Create a bare-bones PCI driver for Meta's NIC.
Subsequent changes will flesh it out.

Signed-off-by: default avatarAlexander Duyck <alexanderduyck@fb.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/172079935646.1778861.9710282776096050607.stgit@ahduyck-xeon-server.home.arpa


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent c5eaf1b3
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -14579,6 +14579,13 @@ T: git git://linuxtv.org/media_tree.git
F:	Documentation/devicetree/bindings/media/amlogic,gx-vdec.yaml
F:	drivers/staging/media/meson/vdec/
META ETHERNET DRIVERS
M:	Alexander Duyck <alexanderduyck@fb.com>
M:	Jakub Kicinski <kuba@kernel.org>
R:	kernel-team@meta.com
S:	Supported
F:	drivers/net/ethernet/meta/
METHODE UDPU SUPPORT
M:	Robert Marko <robert.marko@sartura.hr>
S:	Maintained
+1 −0
Original line number Diff line number Diff line
@@ -122,6 +122,7 @@ source "drivers/net/ethernet/litex/Kconfig"
source "drivers/net/ethernet/marvell/Kconfig"
source "drivers/net/ethernet/mediatek/Kconfig"
source "drivers/net/ethernet/mellanox/Kconfig"
source "drivers/net/ethernet/meta/Kconfig"
source "drivers/net/ethernet/micrel/Kconfig"
source "drivers/net/ethernet/microchip/Kconfig"
source "drivers/net/ethernet/mscc/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@ obj-$(CONFIG_NET_VENDOR_LITEX) += litex/
obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/
obj-$(CONFIG_NET_VENDOR_MEDIATEK) += mediatek/
obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
obj-$(CONFIG_NET_VENDOR_META) += meta/
obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/
obj-$(CONFIG_NET_VENDOR_MICROCHIP) += microchip/
obj-$(CONFIG_NET_VENDOR_MICROSEMI) += mscc/
+30 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
#
# Meta Platforms network device configuration
#

config NET_VENDOR_META
	bool "Meta Platforms devices"
	default y
	help
	  If you have a network (Ethernet) card designed by Meta, say Y.
	  That's Meta as in the parent company of Facebook.

	  Note that the answer to this question doesn't directly affect the
	  kernel: saying N will just cause the configurator to skip all
	  the questions about Meta cards. If you say Y, you will be asked for
	  your specific card in the following questions.

if NET_VENDOR_META

config FBNIC
	tristate "Meta Platforms Host Network Interface"
	depends on X86_64 || COMPILE_TEST
	depends on PCI_MSI
	help
	  This driver supports Meta Platforms Host Network Interface.

	  To compile this driver as a module, choose M here. The module
	  will be called fbnic.  MSI-X interrupt support is required.

endif # NET_VENDOR_META
+6 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for the Meta Platforms network device drivers.
#

obj-$(CONFIG_FBNIC) += fbnic/
Loading