xref: /openbmc/linux/drivers/net/ethernet/cavium/Kconfig (revision 8c56df372bc1371504bf3cc29fbb3c09967cafff)
14863dea3SSunil Goutham#
24863dea3SSunil Goutham# Cavium ethernet device configuration
34863dea3SSunil Goutham#
44863dea3SSunil Goutham
54863dea3SSunil Gouthamconfig NET_VENDOR_CAVIUM
67a4264a9SAndreas Schwab	bool "Cavium ethernet drivers"
7f21fb3edSRaghu Vatsavayi	depends on PCI
8f21fb3edSRaghu Vatsavayi	default y
94863dea3SSunil Goutham	---help---
10f21fb3edSRaghu Vatsavayi	  Select this option if you want enable Cavium network support.
114863dea3SSunil Goutham
12f21fb3edSRaghu Vatsavayi	  If you have a Cavium SoC or network adapter, say Y.
134863dea3SSunil Goutham
144863dea3SSunil Gouthamif NET_VENDOR_CAVIUM
154863dea3SSunil Goutham
164863dea3SSunil Gouthamconfig THUNDER_NIC_PF
174863dea3SSunil Goutham	tristate "Thunder Physical function driver"
18f21fb3edSRaghu Vatsavayi	depends on 64BIT
194863dea3SSunil Goutham	select THUNDER_NIC_BGX
204863dea3SSunil Goutham	---help---
214863dea3SSunil Goutham	  This driver supports Thunder's NIC physical function.
22f21fb3edSRaghu Vatsavayi	  The NIC provides the controller and DMA engines to
23f21fb3edSRaghu Vatsavayi	  move network traffic to/from the memory. The NIC
24f21fb3edSRaghu Vatsavayi	  works closely with TNS, BGX and SerDes to implement the
25f21fb3edSRaghu Vatsavayi	  functions replacing and virtualizing those of a typical
26f21fb3edSRaghu Vatsavayi	  standalone PCIe NIC chip.
274863dea3SSunil Goutham
284863dea3SSunil Gouthamconfig THUNDER_NIC_VF
294863dea3SSunil Goutham	tristate "Thunder Virtual function driver"
30f21fb3edSRaghu Vatsavayi	depends on 64BIT
314863dea3SSunil Goutham	---help---
324863dea3SSunil Goutham	  This driver supports Thunder's NIC virtual function
334863dea3SSunil Goutham
344863dea3SSunil Gouthamconfig	THUNDER_NIC_BGX
354863dea3SSunil Goutham	tristate "Thunder MAC interface driver (BGX)"
36f21fb3edSRaghu Vatsavayi	depends on 64BIT
37274b0b39SRadha Mohan Chintakuntla	select PHYLIB
389277a4f8SDavid Daney	select MDIO_THUNDER
396465859aSSunil Goutham	select THUNDER_NIC_RGX
404863dea3SSunil Goutham	---help---
414863dea3SSunil Goutham	  This driver supports programming and controlling of MAC
424863dea3SSunil Goutham	  interface from NIC physical function driver.
434863dea3SSunil Goutham
446465859aSSunil Gouthamconfig	THUNDER_NIC_RGX
456465859aSSunil Goutham	tristate "Thunder MAC interface driver (RGX)"
466465859aSSunil Goutham	depends on 64BIT
476465859aSSunil Goutham	select PHYLIB
486465859aSSunil Goutham	select MDIO_THUNDER
496465859aSSunil Goutham	---help---
506465859aSSunil Goutham	  This driver supports configuring XCV block of RGX interface
516465859aSSunil Goutham	  present on CN81XX chip.
526465859aSSunil Goutham
53*8c56df37SRadoslaw Biernackiconfig CAVIUM_PTP
54*8c56df37SRadoslaw Biernacki	tristate "Cavium PTP coprocessor as PTP clock"
55*8c56df37SRadoslaw Biernacki	depends on 64BIT
56*8c56df37SRadoslaw Biernacki	imply PTP_1588_CLOCK
57*8c56df37SRadoslaw Biernacki	default y
58*8c56df37SRadoslaw Biernacki	---help---
59*8c56df37SRadoslaw Biernacki	  This driver adds support for the Precision Time Protocol Clocks and
60*8c56df37SRadoslaw Biernacki	  Timestamping coprocessor (PTP) found on Cavium processors.
61*8c56df37SRadoslaw Biernacki	  PTP provides timestamping mechanism that is suitable for use in IEEE 1588
62*8c56df37SRadoslaw Biernacki	  Precision Time Protocol or other purposes.  Timestamps can be used in
63*8c56df37SRadoslaw Biernacki	  BGX, TNS, GTI, and NIC blocks.
64*8c56df37SRadoslaw Biernacki
65f21fb3edSRaghu Vatsavayiconfig LIQUIDIO
66f21fb3edSRaghu Vatsavayi	tristate "Cavium LiquidIO support"
675b173cf9SRaghu Vatsavayi	depends on 64BIT
68d4be8ebeSVijaya Mohan Guvva	depends on MAY_USE_DEVLINK
69d1cbfd77SNicolas Pitre	imply PTP_1588_CLOCK
70f21fb3edSRaghu Vatsavayi	select FW_LOADER
713dc817d2SRaghu Vatsavayi	select LIBCRC32C
72f21fb3edSRaghu Vatsavayi	---help---
73f21fb3edSRaghu Vatsavayi	  This driver supports Cavium LiquidIO Intelligent Server Adapters
74e86b1ab6SRaghu Vatsavayi	  based on CN66XX, CN68XX and CN23XX chips.
75f21fb3edSRaghu Vatsavayi
76f21fb3edSRaghu Vatsavayi	  To compile this driver as a module, choose M here: the module
77f21fb3edSRaghu Vatsavayi	  will be called liquidio.  This is recommended.
78f21fb3edSRaghu Vatsavayi
79d07a147fSDavid Daneyconfig OCTEON_MGMT_ETHERNET
80d07a147fSDavid Daney	tristate "Octeon Management port ethernet driver (CN5XXX, CN6XXX)"
81d07a147fSDavid Daney	depends on CAVIUM_OCTEON_SOC
82d07a147fSDavid Daney	select PHYLIB
83d07a147fSDavid Daney	select MDIO_OCTEON
84d07a147fSDavid Daney	default y
85d07a147fSDavid Daney	help
86d07a147fSDavid Daney	  Enable the ethernet driver for the management
87d07a147fSDavid Daney	  port on Cavium Networks' Octeon CN57XX, CN56XX, CN55XX,
88d07a147fSDavid Daney	  CN54XX, CN52XX, and CN6XXX chips.
89d07a147fSDavid Daney
90111fc64aSRaghu Vatsavayiconfig LIQUIDIO_VF
91111fc64aSRaghu Vatsavayi	tristate "Cavium LiquidIO VF support"
92111fc64aSRaghu Vatsavayi	depends on 64BIT && PCI_MSI
93cd7aeb1fSNicolas Pitre	imply PTP_1588_CLOCK
94111fc64aSRaghu Vatsavayi	---help---
95111fc64aSRaghu Vatsavayi	  This driver supports Cavium LiquidIO Intelligent Server Adapter
96111fc64aSRaghu Vatsavayi	  based on CN23XX chips.
97111fc64aSRaghu Vatsavayi
98111fc64aSRaghu Vatsavayi	  To compile this driver as a module, choose M here: The module
99111fc64aSRaghu Vatsavayi	  will be called liquidio_vf. MSI-X interrupt support is required
100111fc64aSRaghu Vatsavayi	  for this driver to work correctly
101111fc64aSRaghu Vatsavayi
1024863dea3SSunil Gouthamendif # NET_VENDOR_CAVIUM
103