Re: [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

2017-09-11 Thread Ben Pfaff
On Mon, Sep 11, 2017 at 11:25:59PM +1200, Brad Cowie wrote:
> On 10 September 2017 at 03:17, Ben Pfaff  wrote:
> 
> > On Sat, Sep 09, 2017 at 02:26:04AM +, Chou, David J wrote:
> > > 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.
> >
> > The Debian packaging that comes with OVS doesn't build a DPDK-based
> > switch.
> >
> 
> The folks at Ubuntu do provide OVS packaging that includes DPDK:
> https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/openvswitch

Oh.  I'm surprised they haven't upstreamed them.  Wonder why.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [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

2017-09-11 Thread Brad Cowie
On 10 September 2017 at 03:17, Ben Pfaff  wrote:

> On Sat, Sep 09, 2017 at 02:26:04AM +, Chou, David J wrote:
> > 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.
>
> The Debian packaging that comes with OVS doesn't build a DPDK-based
> switch.
>

The folks at Ubuntu do provide OVS packaging that includes DPDK:
https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/openvswitch

I build and backport these packages to older versions of Ubuntu and Debian
and provide them on my mirror: https://packages.wand.net.nz/

Brad
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [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

2017-09-09 Thread Ben Pfaff
On Sat, Sep 09, 2017 at 02:26:04AM +, Chou, David J wrote:
> 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?

The Debian packaging that comes with OVS doesn't build a DPDK-based
switch.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[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

2017-09-08 Thread Chou, David J
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


___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss