[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

Chou, David J david.j.chou at intel.com
Sat Sep 9 02:26:04 UTC 2017


Hi,

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?

Thanks a lot.

Best regards,
David Chou


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170909/313b5f17/attachment.html>


More information about the discuss mailing list