Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Sunil Goutham | 4863dea | 2015-05-26 19:20:15 -0700 | [diff] [blame] | 2 | # |
| 3 | # Cavium ethernet device configuration |
| 4 | # |
| 5 | |
| 6 | config NET_VENDOR_CAVIUM |
Andreas Schwab | 7a4264a | 2015-10-19 17:37:13 +0200 | [diff] [blame] | 7 | bool "Cavium ethernet drivers" |
Raghu Vatsavayi | f21fb3e | 2015-06-09 18:15:23 -0700 | [diff] [blame] | 8 | default y |
Sunil Goutham | 4863dea | 2015-05-26 19:20:15 -0700 | [diff] [blame] | 9 | ---help--- |
Raghu Vatsavayi | f21fb3e | 2015-06-09 18:15:23 -0700 | [diff] [blame] | 10 | Select this option if you want enable Cavium network support. |
Sunil Goutham | 4863dea | 2015-05-26 19:20:15 -0700 | [diff] [blame] | 11 | |
Raghu Vatsavayi | f21fb3e | 2015-06-09 18:15:23 -0700 | [diff] [blame] | 12 | If you have a Cavium SoC or network adapter, say Y. |
Sunil Goutham | 4863dea | 2015-05-26 19:20:15 -0700 | [diff] [blame] | 13 | |
| 14 | if NET_VENDOR_CAVIUM |
| 15 | |
| 16 | config THUNDER_NIC_PF |
| 17 | tristate "Thunder Physical function driver" |
Arnd Bergmann | 74525cc | 2018-07-17 15:46:34 +0200 | [diff] [blame] | 18 | depends on 64BIT && PCI |
Sunil Goutham | 4863dea | 2015-05-26 19:20:15 -0700 | [diff] [blame] | 19 | select THUNDER_NIC_BGX |
| 20 | ---help--- |
| 21 | This driver supports Thunder's NIC physical function. |
Raghu Vatsavayi | f21fb3e | 2015-06-09 18:15:23 -0700 | [diff] [blame] | 22 | The NIC provides the controller and DMA engines to |
| 23 | move network traffic to/from the memory. The NIC |
| 24 | works closely with TNS, BGX and SerDes to implement the |
| 25 | functions replacing and virtualizing those of a typical |
| 26 | standalone PCIe NIC chip. |
Sunil Goutham | 4863dea | 2015-05-26 19:20:15 -0700 | [diff] [blame] | 27 | |
| 28 | config THUNDER_NIC_VF |
| 29 | tristate "Thunder Virtual function driver" |
Sunil Goutham | 4a87550 | 2018-01-15 18:44:57 +0600 | [diff] [blame] | 30 | imply CAVIUM_PTP |
Arnd Bergmann | 74525cc | 2018-07-17 15:46:34 +0200 | [diff] [blame] | 31 | depends on 64BIT && PCI |
Sunil Goutham | 4863dea | 2015-05-26 19:20:15 -0700 | [diff] [blame] | 32 | ---help--- |
| 33 | This driver supports Thunder's NIC virtual function |
| 34 | |
| 35 | config THUNDER_NIC_BGX |
| 36 | tristate "Thunder MAC interface driver (BGX)" |
Alexander Sverdlin | e40562a | 2018-07-17 18:23:58 +0200 | [diff] [blame] | 37 | depends on 64BIT && PCI |
Radha Mohan Chintakuntla | 274b0b3 | 2015-07-28 15:12:13 -0700 | [diff] [blame] | 38 | select PHYLIB |
Arnd Bergmann | 74525cc | 2018-07-17 15:46:34 +0200 | [diff] [blame] | 39 | select MDIO_THUNDER if PCI |
Sunil Goutham | 6465859 | 2016-08-12 16:51:33 +0530 | [diff] [blame] | 40 | select THUNDER_NIC_RGX |
Sunil Goutham | 4863dea | 2015-05-26 19:20:15 -0700 | [diff] [blame] | 41 | ---help--- |
| 42 | This driver supports programming and controlling of MAC |
| 43 | interface from NIC physical function driver. |
| 44 | |
Sunil Goutham | 6465859 | 2016-08-12 16:51:33 +0530 | [diff] [blame] | 45 | config THUNDER_NIC_RGX |
| 46 | tristate "Thunder MAC interface driver (RGX)" |
Alexander Sverdlin | e40562a | 2018-07-17 18:23:58 +0200 | [diff] [blame] | 47 | depends on 64BIT && PCI |
Sunil Goutham | 6465859 | 2016-08-12 16:51:33 +0530 | [diff] [blame] | 48 | select PHYLIB |
Arnd Bergmann | 74525cc | 2018-07-17 15:46:34 +0200 | [diff] [blame] | 49 | select MDIO_THUNDER if PCI |
Sunil Goutham | 6465859 | 2016-08-12 16:51:33 +0530 | [diff] [blame] | 50 | ---help--- |
| 51 | This driver supports configuring XCV block of RGX interface |
| 52 | present on CN81XX chip. |
| 53 | |
Radoslaw Biernacki | 8c56df3 | 2018-01-15 18:44:56 +0600 | [diff] [blame] | 54 | config CAVIUM_PTP |
| 55 | tristate "Cavium PTP coprocessor as PTP clock" |
Alexander Sverdlin | e40562a | 2018-07-17 18:23:58 +0200 | [diff] [blame] | 56 | depends on 64BIT && PCI |
Radoslaw Biernacki | 8c56df3 | 2018-01-15 18:44:56 +0600 | [diff] [blame] | 57 | imply PTP_1588_CLOCK |
Radoslaw Biernacki | 8c56df3 | 2018-01-15 18:44:56 +0600 | [diff] [blame] | 58 | ---help--- |
| 59 | This driver adds support for the Precision Time Protocol Clocks and |
| 60 | Timestamping coprocessor (PTP) found on Cavium processors. |
| 61 | PTP provides timestamping mechanism that is suitable for use in IEEE 1588 |
| 62 | Precision Time Protocol or other purposes. Timestamps can be used in |
| 63 | BGX, TNS, GTI, and NIC blocks. |
| 64 | |
Raghu Vatsavayi | f21fb3e | 2015-06-09 18:15:23 -0700 | [diff] [blame] | 65 | config LIQUIDIO |
| 66 | tristate "Cavium LiquidIO support" |
Alexander Sverdlin | e40562a | 2018-07-17 18:23:58 +0200 | [diff] [blame] | 67 | depends on 64BIT && PCI |
Arnd Bergmann | 74525cc | 2018-07-17 15:46:34 +0200 | [diff] [blame] | 68 | depends on PCI |
Nicolas Pitre | d1cbfd7 | 2016-11-11 00:10:07 -0500 | [diff] [blame] | 69 | imply PTP_1588_CLOCK |
Raghu Vatsavayi | f21fb3e | 2015-06-09 18:15:23 -0700 | [diff] [blame] | 70 | select FW_LOADER |
Raghu Vatsavayi | 3dc817d2 | 2015-06-16 16:51:43 -0700 | [diff] [blame] | 71 | select LIBCRC32C |
Jiri Pirko | f6b19b3 | 2019-03-24 11:14:38 +0100 | [diff] [blame] | 72 | select NET_DEVLINK |
Raghu Vatsavayi | f21fb3e | 2015-06-09 18:15:23 -0700 | [diff] [blame] | 73 | ---help--- |
| 74 | This driver supports Cavium LiquidIO Intelligent Server Adapters |
Raghu Vatsavayi | e86b1ab | 2016-08-31 11:03:24 -0700 | [diff] [blame] | 75 | based on CN66XX, CN68XX and CN23XX chips. |
Raghu Vatsavayi | f21fb3e | 2015-06-09 18:15:23 -0700 | [diff] [blame] | 76 | |
| 77 | To compile this driver as a module, choose M here: the module |
| 78 | will be called liquidio. This is recommended. |
| 79 | |
David Daney | d07a147 | 2016-03-14 17:57:08 -0700 | [diff] [blame] | 80 | config OCTEON_MGMT_ETHERNET |
| 81 | tristate "Octeon Management port ethernet driver (CN5XXX, CN6XXX)" |
| 82 | depends on CAVIUM_OCTEON_SOC |
| 83 | select PHYLIB |
| 84 | select MDIO_OCTEON |
| 85 | default y |
| 86 | help |
| 87 | Enable the ethernet driver for the management |
| 88 | port on Cavium Networks' Octeon CN57XX, CN56XX, CN55XX, |
| 89 | CN54XX, CN52XX, and CN6XXX chips. |
| 90 | |
Raghu Vatsavayi | 111fc64 | 2016-11-28 16:54:34 -0800 | [diff] [blame] | 91 | config LIQUIDIO_VF |
| 92 | tristate "Cavium LiquidIO VF support" |
| 93 | depends on 64BIT && PCI_MSI |
Nicolas Pitre | cd7aeb1 | 2017-01-03 13:57:00 -0500 | [diff] [blame] | 94 | imply PTP_1588_CLOCK |
Raghu Vatsavayi | 111fc64 | 2016-11-28 16:54:34 -0800 | [diff] [blame] | 95 | ---help--- |
| 96 | This driver supports Cavium LiquidIO Intelligent Server Adapter |
| 97 | based on CN23XX chips. |
| 98 | |
| 99 | To compile this driver as a module, choose M here: The module |
| 100 | will be called liquidio_vf. MSI-X interrupt support is required |
| 101 | for this driver to work correctly |
| 102 | |
Sunil Goutham | 4863dea | 2015-05-26 19:20:15 -0700 | [diff] [blame] | 103 | endif # NET_VENDOR_CAVIUM |