diff mbox series

[SRU,Trusty,5/6] UBUNTU: SAUCE: i40e_bpo: Hook the driver into the kernel tree

Message ID 20180831112921.20457-6-juergh@canonical.com
State New
Headers show
Series i40e NIC not recognized (LP: #1789215) | expand

Commit Message

Juerg Haefliger Aug. 31, 2018, 11:29 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1789215

Provide a Kconfig snippet and add the driver to the list of
Ubuntu-specific drivers.

Signed-off-by: Juerg Haefliger <juergh@canonical.com>
---
 ubuntu/Kconfig      |  4 ++++
 ubuntu/Makefile     |  4 ++++
 ubuntu/i40e/Kconfig | 39 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+)
 create mode 100644 ubuntu/i40e/Kconfig
diff mbox series

Patch

diff --git a/ubuntu/Kconfig b/ubuntu/Kconfig
index 0ab99ba9a6f2..fcaecb384867 100644
--- a/ubuntu/Kconfig
+++ b/ubuntu/Kconfig
@@ -18,5 +18,9 @@  source "ubuntu/i915/Kconfig"
 ##
 ##
 ##
+source "ubuntu/i40e/Kconfig"
+##
+##
+##
 
 endmenu
diff --git a/ubuntu/Makefile b/ubuntu/Makefile
index f3abe2e6e917..3f3ee0488366 100644
--- a/ubuntu/Makefile
+++ b/ubuntu/Makefile
@@ -20,6 +20,10 @@  obj-$(CONFIG_DRM_I915_BDW)	+= i915/
 ##
 ##
 ##
+obj-$(CONFIG_I40E_BPO)	+= i40e/
+##
+##
+##
 ##
 ##
 ##
diff --git a/ubuntu/i40e/Kconfig b/ubuntu/i40e/Kconfig
new file mode 100644
index 000000000000..f87bc8ee7eb0
--- /dev/null
+++ b/ubuntu/i40e/Kconfig
@@ -0,0 +1,39 @@ 
+config I40E_BPO
+	tristate "Intel(R) Ethernet Controller XL710 Family support (bpo)"
+	select PTP_1588_CLOCK
+	depends on PCI
+	---help---
+	  This driver supports Intel(R) Ethernet Controller XL710 Family of
+	  devices.  For more information on how to identify your adapter, go
+	  to the Adapter & Driver ID Guide at:
+
+	  <http://support.intel.com/support/network/adapter/pro100/21397.htm>
+
+	  For general information and support, go to the Intel support
+	  website at:
+
+	  <http://support.intel.com>
+
+	  To compile this driver as a module, choose M here. The module
+	  will be called i40e_bpo.
+
+config I40E_BPO_VXLAN
+	bool "Virtual eXtensible Local Area Network Support"
+	default n
+	depends on I40E_BPO && VXLAN && !(I40E_BPO=y && VXLAN=m)
+	---help---
+	  This allows one to create VXLAN virtual interfaces that provide
+	  Layer 2 Networks over Layer 3 Networks. VXLAN is often used
+	  to tunnel virtual network infrastructure in virtualized environments.
+	  Say Y here if you want to use Virtual eXtensible Local Area Network
+	  (VXLAN) in the driver.
+
+config I40E_BPO_DCB
+	bool "Data Center Bridging (DCB) Support"
+	default n
+	depends on I40E_BPO && DCB
+	---help---
+	  Say Y here if you want to use Data Center Bridging (DCB) in the
+	  driver.
+
+	  If unsure, say N.