aboutsummaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorAndrei Varvara <andrei.varvara@enea.com>2017-05-04 14:15:41 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-05-05 14:32:26 +0000
commit5f0c3ccedad9a2c0b74e5253b90c7439348fe4a3 (patch)
tree56a3da8acefba55bd1899c3b08662293e6e024b5 /patches
parent7a118fca890bd757485bcd1d59f334e5f1e327d3 (diff)
nailgun: Add NIC vendorid and device id for Cavium NIC
Added Cavium NIC to the list of DPDK supported NICs so that fuel will enable the DPDK checkbox. Change-Id: If05539ece8c97a70bffaa94ea6629b7d2c568905 Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
Diffstat (limited to 'patches')
-rw-r--r--patches/fuel-web/0006-nailgun-Add-NIC-vendorid-and-device-id-for-Cavium-NI.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/patches/fuel-web/0006-nailgun-Add-NIC-vendorid-and-device-id-for-Cavium-NI.patch b/patches/fuel-web/0006-nailgun-Add-NIC-vendorid-and-device-id-for-Cavium-NI.patch
new file mode 100644
index 00000000..196cea52
--- /dev/null
+++ b/patches/fuel-web/0006-nailgun-Add-NIC-vendorid-and-device-id-for-Cavium-NI.patch
@@ -0,0 +1,50 @@
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+: Copyright (c) 2017 Enea AB and others.
+:
+: All rights reserved. This program and the accompanying materials
+: are made available under the terms of the Apache License, Version 2.0
+: which accompanies this distribution, and is available at
+: http://www.apache.org/licenses/LICENSE-2.0
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+From: Andrei Varvara <andrei.varvara@enea.com>
+Date: Thu, 4 May 2017 13:35:32 +0200
+Subject: [PATCH] nailgun: Add NIC vendorid and device id for Cavium NIC
+
+In order to enable DPDK and ovs-dpdk in Fuel, a checkbox must be enabled
+in the interface configuration menu of the nodes.
+
+This did not work on ThunderX based PODs, because Fuel filters out NICs based
+on Vendor Id (currently Intel only) and Product Id. This is implemented
+via a static list of known Vid and Pid pairs in openstack.yaml file.
+
+Added Cavium NIC to the list of DPDK supported NICs so that fuel will
+enable the DPDK checkbox.
+
+Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
+---
+ nailgun/nailgun/fixtures/openstack.yaml | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nailgun/nailgun/fixtures/openstack.yaml b/nailgun/nailgun/fixtures/openstack.yaml
+index 0b27611..070004e 100644
+--- a/nailgun/nailgun/fixtures/openstack.yaml
++++ b/nailgun/nailgun/fixtures/openstack.yaml
+@@ -2293,7 +2293,7 @@
+ "15ad:07b0", "8086:15a5", "1137:0043", "1137:0071", "14e4:168a",
+ "14e4:16a9", "14e4:164f", "14e4:168e", "14e4:16af", "14e4:163d",
+ "14e4:163f", "14e4:168d", "14e4:16a1", "14e4:16a2", "14e4:16ad",
+- "14e4:16ae", "14e4:163e", "14e4:16a4", "8086:10f8"
++ "14e4:16ae", "14e4:163e", "14e4:16a4", "8086:10f8", "177d:a034"
+ ]
+ - pk: 3
+ extend: *ubuntu_xenial
+@@ -2635,7 +2635,7 @@
+ "15ad:07b0", "8086:15a5", "1137:0043", "1137:0071", "14e4:168a",
+ "14e4:16a9", "14e4:164f", "14e4:168e", "14e4:16af", "14e4:163d",
+ "14e4:163f", "14e4:168d", "14e4:16a1", "14e4:16a2", "14e4:16ad",
+- "14e4:16ae", "14e4:163e", "14e4:16a4"
++ "14e4:16ae", "14e4:163e", "14e4:16a4", "177d:a034"
+ ]
+ - pk: 5
+ extend: *ubuntu_aarch64_xenial
+