[ovs-discuss] How to build openvswitch with Ddpdk enabled debian package (openvswitch-switch-dpdk.2.7.2-1.deb) for OVS ver. 2.7.2
blp at ovn.org
Sat Sep 9 15:17:17 UTC 2017
On Sat, Sep 09, 2017 at 02:26:04AM +0000, Chou, David J wrote:
> I tried to build openvswitch with dpdk enabled debian package (openvswitch-switch-dpdk.2.7.2-1.deb) for OVS ver. 2.7.2.
> I downloaded openvswitch-2.7.2.tar.gz from http://openvswitch.org/download, and dpdk-stable-16.11.2.targ.gz from http://dpdk.org/browse/dpdk-stable/tag/?h=v16.11.2. I could build and install dpdk and openvswitch with dpdk enabled by the "make install" method on Ubuntu 16.04 LTS, and verify they could work together.
> Also, by getting dpdk_16.11.2.orig.tar.gz and dpdk_16.11.2-4.debian.tar from https://packages.debian.org/source/sid/dpdk , I could build dpdk-16.11.2-4 debian package and I verified that this dpdk_16.11.2-4 debian package work.
> Also, I could build openvswitch without dpdk enabled debian package by following the instruction in debian.rst in openvswith _2.7.2. But when I tried to build openvswitch with dpdk enabled by following:
> 1. Install dpdk_16.11.2-4 debian package I built in the my building system
> 2. export DATAPATH_CONFIGURE_OPTS="--with-dpdk=/usr"
> Then build openvswitch debian package again, I saw some libdpdk built, and the build completed, but openvswitch-switch-dpdk.2.7.2-1.deb wasn't built while other openswitch debian package built.
> What do I miss? It seems to me that the debian spec (debian sub-directory in openvswith 2.7.2) doesn't have all info necessary to build openvswitch-switch-dpdk.2.7.2-1.deb, am I right? How to fix this?
The Debian packaging that comes with OVS doesn't build a DPDK-based
More information about the discuss