Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4863dea3 authored by Sunil Goutham's avatar Sunil Goutham Committed by David S. Miller
Browse files

net: Adding support for Cavium ThunderX network controller



This patch adds support for the Cavium ThunderX network controller.
The driver is on the pci bus and thus requires the Thunder PCIe host
controller driver to be enabled.

Signed-off-by: default avatarMaciej Czekaj <mjc@semihalf.com>
Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
Signed-off-by: default avatarSunil Goutham <sgoutham@cavium.com>
Signed-off-by: default avatarGanapatrao Kulkarni <ganapatrao.kulkarni@caviumnetworks.com>
Signed-off-by: default avatarAleksey Makarov <aleksey.makarov@caviumnetworks.com>
Signed-off-by: default avatarTomasz Nowicki <tomasz.nowicki@linaro.org>
Signed-off-by: default avatarRobert Richter <rrichter@cavium.com>
Signed-off-by: default avatarKamil Rytarowski <kamil@semihalf.com>
Signed-off-by: default avatarThanneeru Srinivasulu <tsrinivasulu@caviumnetworks.com>
Signed-off-by: default avatarSruthi Vangala <svangala@cavium.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e5c4708b
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -921,6 +921,13 @@ M: Krzysztof Halasa <khalasa@piap.pl>
S:	Maintained
F:	arch/arm/mach-cns3xxx/

ARM/CAVIUM THUNDER NETWORK DRIVER
M:	Sunil Goutham <sgoutham@cavium.com>
M:	Robert Richter <rric@kernel.org>
L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
S:	Supported
F:	drivers/net/ethernet/cavium/

ARM/CIRRUS LOGIC CLPS711X ARM ARCHITECTURE
M:	Alexander Shiyan <shc_work@mail.ru>
L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ source "drivers/net/ethernet/adi/Kconfig"
source "drivers/net/ethernet/broadcom/Kconfig"
source "drivers/net/ethernet/brocade/Kconfig"
source "drivers/net/ethernet/calxeda/Kconfig"
source "drivers/net/ethernet/cavium/Kconfig"
source "drivers/net/ethernet/chelsio/Kconfig"
source "drivers/net/ethernet/cirrus/Kconfig"
source "drivers/net/ethernet/cisco/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ obj-$(CONFIG_NET_BFIN) += adi/
obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/
obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/
obj-$(CONFIG_NET_CALXEDA_XGMAC) += calxeda/
obj-$(CONFIG_NET_VENDOR_CAVIUM) += cavium/
obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/
obj-$(CONFIG_NET_VENDOR_CIRRUS) += cirrus/
obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/
+40 −0
Original line number Diff line number Diff line
#
# Cavium ethernet device configuration
#

config NET_VENDOR_CAVIUM
	tristate "Cavium ethernet drivers"
	depends on PCI
	---help---
	  Enable support for the Cavium ThunderX Network Interface
	  Controller (NIC). The NIC provides the controller and DMA
	  engines to move network traffic to/from the memory. The NIC
	  works closely with TNS, BGX and SerDes to implement the
	  functions replacing and virtualizing those of a typical
	  standalone PCIe NIC chip.

	  If you have a Cavium Thunder board, say Y.

if NET_VENDOR_CAVIUM

config THUNDER_NIC_PF
	tristate "Thunder Physical function driver"
	default NET_VENDOR_CAVIUM
	select THUNDER_NIC_BGX
	---help---
	  This driver supports Thunder's NIC physical function.

config THUNDER_NIC_VF
	tristate "Thunder Virtual function driver"
	default NET_VENDOR_CAVIUM
	---help---
	  This driver supports Thunder's NIC virtual function

config	THUNDER_NIC_BGX
	tristate "Thunder MAC interface driver (BGX)"
	default NET_VENDOR_CAVIUM
	---help---
	  This driver supports programming and controlling of MAC
	  interface from NIC physical function driver.

endif # NET_VENDOR_CAVIUM
+5 −0
Original line number Diff line number Diff line
#
# Makefile for the Cavium ethernet device drivers.
#

obj-$(CONFIG_NET_VENDOR_CAVIUM) += thunder/
Loading