[pve-devel] [PATCH] add dpdk support

Alexandre Derumier aderumier at odiso.com
Tue May 3 08:44:03 CEST 2016


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 pvepatches/enable-dpdk.patch | 51 ++++++++++++++++++++++++++++++++++++++++++++
 pvepatches/series            |  1 +
 2 files changed, 52 insertions(+)
 create mode 100644 pvepatches/enable-dpdk.patch

diff --git a/pvepatches/enable-dpdk.patch b/pvepatches/enable-dpdk.patch
new file mode 100644
index 0000000..e5f645b
--- /dev/null
+++ b/pvepatches/enable-dpdk.patch
@@ -0,0 +1,51 @@
+From 3b2cdc5a40c84cbdf1519597bfc056333a4befce Mon Sep 17 00:00:00 2001
+From: Alexandre Derumier <aderumier at odiso.com>
+Date: Mon, 2 May 2016 13:53:42 +0200
+Subject: [PATCH] enable dpdk
+
+Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
+---
+ debian/rules | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/debian/rules b/debian/rules
+index 4bdc3db..cafb012 100755
+--- a/debian/rules
++++ b/debian/rules
+@@ -30,7 +30,7 @@ override_dh_autoreconf:
+ 	dh_autoreconf $(DH_AS_NEEDED)
+ 
+ override_dh_auto_configure:
+-	dh_auto_configure -- --enable-ssl $(DATAPATH_CONFIGURE_OPTS)
++	dh_auto_configure -- --enable-ssl --with-dpdk=/usr/share/dpdk/x86_64-default-linuxapp-gcc $(DATAPATH_CONFIGURE_OPTS)
+ 
+ override_dh_auto_test:
+ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+-- 
+2.1.4
+
+diff --git a/debian/control b/debian/control
+index 8144b77..29fdabb 100644
+--- a/debian/control
++++ b/debian/control
+@@ -14,7 +14,9 @@ Build-Depends: graphviz,
+                openssl,
+                procps,
+                python-all (>= 2.7),
+-               dh-systemd (>= 1.4)
++               dh-systemd (>= 1.4),
++               dpdk-dev,
++               libdpdk-dev
+ Standards-Version: 3.9.3
+ Homepage: http://openvswitch.org/
+ 
+@@ -68,7 +70,8 @@ Depends: kmod | module-init-tools,
+          ${misc:Depends},
+          ${python:Depends},
+          ${shlibs:Depends},
+-         systemd
++         systemd,
++         libdpdk0
+ Description: Open vSwitch switch implementations
+  Open vSwitch is a production quality, multilayer, software-based,
+  Ethernet virtual switch. It is designed to enable massive network
diff --git a/pvepatches/series b/pvepatches/series
index e810b29..f39df21 100644
--- a/pvepatches/series
+++ b/pvepatches/series
@@ -3,3 +3,4 @@ fix-init-script-patch
 fix-init-depends.patch
 install-systemd-services.patch
 use-systemctl-inside-ifupdown.patch
+enable-dpdk.patch
-- 
2.1.4




More information about the pve-devel mailing list