Hello  Jay Rhine,
I found you downloaded  the dpdk driver package from Intel sites,  you can try 
to download dpdk driver package  form https://github.com/Juniper/contrail-dpdk.
I verified it and it is OK.


Andy Wang








At 2016-06-02 11:40:07, [email protected] wrote:
>Send Dev mailing list submissions to
>       [email protected]
>
>To subscribe or unsubscribe via the World Wide Web, visit
>       
> http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
>
>or, via email, send a message with subject or body 'help' to
>       [email protected]
>
>You can reach the person managing the list at
>       [email protected]
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Dev digest..."
>
>
>Today's Topics:
>
>   1. Re: Problems compiling OpenContrail 3.0 with     DPDK Support
>      (Rhine, Jay (Nokia - US))
>   2. Re: Problems compiling OpenContrail 3.0 with DPDK Support
>      (Rajagopalan Sivaramakrishnan)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Thu, 2 Jun 2016 02:59:07 +0000
>From: "Rhine, Jay (Nokia - US)" <[email protected]>
>To: "Rhine, Jay (Nokia - US)" <[email protected]>,
>       "[email protected]" <[email protected]>,
>       "[email protected]" <[email protected]>
>Subject: Re: [opencontrail-dev] Problems compiling OpenContrail 3.0
>       with    DPDK Support
>Message-ID:
>       
> <c316cd5b06ee924dbd204608340cd766012fc92...@us70uwxchmba03.zam.alcatel-lucent.com>
>       
>Content-Type: text/plain; charset="us-ascii"
>
>Hello,
>
>                Has anyone successfully built a OpenContrail 3.0 vrouter with 
> dpdk support and used it successfully?   Although, I can get something to 
> compile, it does not seem to have all the necessary startup scripts and 
> configuration files connected to it.  I must be missing something?  Any 
> suggestions on how to compile this correctly?  Or maybe there is a repository 
> that already has the packages for 3.0 somewhere?  The standard PPA and the 
> tcpcloud PPA don't seem to have the dpdk vrouter package in them ...
>
>Thank you!
>
>Jay
>
>
>From: Rhine, Jay (Nokia - US)
>Sent: Tuesday, May 31, 2016 8:59 AM
>To: '[email protected]'; [email protected]
>Subject: RE: Problems compiling OpenContrail 3.0 with DPDK Support
>
>Hello,
>
>                I'm resending this, since it was probably missed by many 
> people since it was sent during a US holiday.  Any help or suggestions is 
> appreciated.
>
>Thank you!
>
>--------------------
>Folks,
>
>                Happy Memorial Day weekend!
>
>                I'm hoping someone here can help me with a problem that I'm 
> running into.  I've had some success with installing OpenContrail 2.x from 
> the available Ubuntu packages. However, now I am trying to trying to compile 
> OpenContrail 3.0 from source and I'm running into problems.  Any suggestions 
> would be appreciated.  I am roughly following the directions from 
> http://juniper.github.io/contrail-vnc/README.html.
>
>I have been able to build most of the the packages following the documentation 
>at that link.  However, I ran into a problem where it was not trying to build 
>the contrail-vrouter-dpdk package.  The best I could tell, this was initially 
>failing because the dpdk directory was missing from the "third_party" 
>directory.  There is no mention on the docs to install this (I would have 
>thought fetch_packages would have downloaded it), but I added it manually, and 
>then it appears that the vrouter with dpdk attempts to build.  It gets pretty 
>far, but then it fails with the following error:
>
>gcc -o build/debug/vrouter/dpdk/vr_dpdk_flow_mem.o -c -g -O0 -DDEBUG -Werror 
>-Wall -msse4.2 -DCOMPILE_DEBUG_LOGS -Ivrouter/include 
>-Ibuild/debug/vrouter/sandesh/gen-c -Ivrouter/sandesh/gen-c -Itools 
>-Itools/sandesh/library/c 
>-Ibuild/debug/vrouter/dpdk/x86_64-native-linuxapp-gcc/include 
>-Ivrouter/dpdk/x86_64-native-linuxapp-gcc/include 
>vrouter/dpdk/vr_dpdk_flow_mem.c
>gcc -o build/debug/vrouter/dpdk/vr_dpdk_fragment_assembler.o -c -g -O0 -DDEBUG 
>-Werror -Wall -msse4.2 -DCOMPILE_DEBUG_LOGS -Ivrouter/include 
>-Ibuild/debug/vrouter/sandesh/gen-c -Ivrouter/sandesh/gen-c -Itools 
>-Itools/sandesh/library/c 
>-Ibuild/debug/vrouter/dpdk/x86_64-native-linuxapp-gcc/include 
>-Ivrouter/dpdk/x86_64-native-linuxapp-gcc/include 
>vrouter/dpdk/vr_dpdk_fragment_assembler.c
>gcc -o build/debug/vrouter/dpdk/vr_dpdk_host.o -c -g -O0 -DDEBUG -Werror -Wall 
>-msse4.2 -DCOMPILE_DEBUG_LOGS -Ivrouter/include 
>-Ibuild/debug/vrouter/sandesh/gen-c -Ivrouter/sandesh/gen-c -Itools 
>-Itools/sandesh/library/c 
>-Ibuild/debug/vrouter/dpdk/x86_64-native-linuxapp-gcc/include 
>-Ivrouter/dpdk/x86_64-native-linuxapp-gcc/include vrouter/dpdk/vr_dpdk_host.c
>vrouter/dpdk/vr_dpdk_host.c: In function 'dpdk_soft_reset':
>vrouter/dpdk/vr_dpdk_host.c:1182:5: error: implicit declaration of function 
>'rcu_barrier' [-Werror=implicit-function-declaration]
>     rcu_barrier();
>     ^
>cc1: all warnings being treated as errors
>scons: *** [build/debug/vrouter/dpdk/vr_dpdk_host.o] Error 1
>scons: building terminated because of errors.
>kwc@HP-RBC-07:~/contrail_30.current$<mailto:kwc@HP-RBC-07:~/contrail_30.current$>
>
>I'm not sure why its trying to call rcu_barrier exactly, but as far as I can 
>tell rcu_barrier is a function that is part of the linux kernel.  The 
>rcu_barrier function is not defined anywhere in the contrail source code, and 
>there does not appear to be anything including the linux kernel headers.    
>I'm running this on Linux Ubuntu Trusty 14.04.01 (latest patches installed) 
>with kernel 3.16.0-70-generic.
>
>
>This is roughly the procedure that I am following:
>
>apt-add-repository ppa:opencontrail/ppa
>apt-get update
>apt-get install <lots of packages>
>Manually install libuv, cassandra-cpp-driver, and cassandra-cpp-driver-dev
>
>repo init -u 
>[email protected]:Juniper/contrail-vnc<mailto:[email protected]:Juniper/contrail-vnc>
>repo sync
>Python third_party/fetch_packages.py
>wget http://downloadmirror.intel.com/22777/eng/dpdk-2.0.0.tar.gz
>tar xfvz dpdk-2.0.0.tar.gz
>cp -pr  dpdk-2.0.0 third_party/dpdk
>
>scons vrouter
>
>Any suggestions or comments would be very much appreciated.
>
>Thank you,
>
>Jay Rhine
>Nokia
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
><http://lists.opencontrail.org/pipermail/dev_lists.opencontrail.org/attachments/20160602/c2bc67a5/attachment-0001.html>
>
>------------------------------
>
>Message: 2
>Date: Thu, 2 Jun 2016 03:39:04 +0000
>From: Rajagopalan Sivaramakrishnan <[email protected]>
>To: "Rhine, Jay (Nokia - US)" <[email protected]>,
>       "[email protected]" <[email protected]>,
>       "[email protected]" <[email protected]>
>Subject: Re: [opencontrail-dev] Problems compiling OpenContrail 3.0
>       with DPDK Support
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset="utf-8"
>
>Hi Jay,
>    There are some startup scripts required to start vrouter with DPDK. Also, 
> there are some scripts that are used to provision a compute node with 
> DPDK-based vrouter. Do you want to install vrouter with DPDK using a 
> pre-built image and try it out? Or do you want to be able to build and 
> package it yourself?
>
>Raja
>
>From: Dev <[email protected]> on behalf of "Rhine, Jay (Nokia 
>- US)" <[email protected]>
>Date: Wednesday, June 1, 2016 at 7:59 PM
>To: "Rhine, Jay (Nokia - US)" <[email protected]>, 
>"[email protected]" <[email protected]>, 
>"[email protected]" <[email protected]>
>Subject: Re: [opencontrail-dev] Problems compiling OpenContrail 3.0 with DPDK 
>Support
>
>Hello,
>
>                Has anyone successfully built a OpenContrail 3.0 vrouter with 
> dpdk support and used it successfully?   Although, I can get something to 
> compile, it does not seem to have all the necessary startup scripts and 
> configuration files connected to it.  I must be missing something?  Any 
> suggestions on how to compile this correctly?  Or maybe there is a repository 
> that already has the packages for 3.0 somewhere?  The standard PPA and the 
> tcpcloud PPA don?t seem to have the dpdk vrouter package in them ?
>
>Thank you!
>
>Jay
>
>
>From: Rhine, Jay (Nokia - US)
>Sent: Tuesday, May 31, 2016 8:59 AM
>To: '[email protected]'; [email protected]
>Subject: RE: Problems compiling OpenContrail 3.0 with DPDK Support
>
>Hello,
>
>                I?m resending this, since it was probably missed by many 
> people since it was sent during a US holiday.  Any help or suggestions is 
> appreciated.
>
>Thank you!
>
>--------------------
>Folks,
>
>                Happy Memorial Day weekend!
>
>                I?m hoping someone here can help me with a problem that I?m 
> running into.  I?ve had some success with installing OpenContrail 2.x from 
> the available Ubuntu packages. However, now I am trying to trying to compile 
> OpenContrail 3.0 from source and I?m running into problems.  Any suggestions 
> would be appreciated.  I am roughly following the directions from 
> http://juniper.github.io/contrail-vnc/README.html.
>
>I have been able to build most of the the packages following the documentation 
>at that link.  However, I ran into a problem where it was not trying to build 
>the contrail-vrouter-dpdk package.  The best I could tell, this was initially 
>failing because the dpdk directory was missing from the ?third_party? 
>directory.  There is no mention on the docs to install this (I would have 
>thought fetch_packages would have downloaded it), but I added it manually, and 
>then it appears that the vrouter with dpdk attempts to build.  It gets pretty 
>far, but then it fails with the following error:
>
>gcc -o build/debug/vrouter/dpdk/vr_dpdk_flow_mem.o -c -g -O0 -DDEBUG -Werror 
>-Wall -msse4.2 -DCOMPILE_DEBUG_LOGS -Ivrouter/include 
>-Ibuild/debug/vrouter/sandesh/gen-c -Ivrouter/sandesh/gen-c -Itools 
>-Itools/sandesh/library/c 
>-Ibuild/debug/vrouter/dpdk/x86_64-native-linuxapp-gcc/include 
>-Ivrouter/dpdk/x86_64-native-linuxapp-gcc/include 
>vrouter/dpdk/vr_dpdk_flow_mem.c
>gcc -o build/debug/vrouter/dpdk/vr_dpdk_fragment_assembler.o -c -g -O0 -DDEBUG 
>-Werror -Wall -msse4.2 -DCOMPILE_DEBUG_LOGS -Ivrouter/include 
>-Ibuild/debug/vrouter/sandesh/gen-c -Ivrouter/sandesh/gen-c -Itools 
>-Itools/sandesh/library/c 
>-Ibuild/debug/vrouter/dpdk/x86_64-native-linuxapp-gcc/include 
>-Ivrouter/dpdk/x86_64-native-linuxapp-gcc/include 
>vrouter/dpdk/vr_dpdk_fragment_assembler.c
>gcc -o build/debug/vrouter/dpdk/vr_dpdk_host.o -c -g -O0 -DDEBUG -Werror -Wall 
>-msse4.2 -DCOMPILE_DEBUG_LOGS -Ivrouter/include 
>-Ibuild/debug/vrouter/sandesh/gen-c -Ivrouter/sandesh/gen-c -Itools 
>-Itools/sandesh/library/c 
>-Ibuild/debug/vrouter/dpdk/x86_64-native-linuxapp-gcc/include 
>-Ivrouter/dpdk/x86_64-native-linuxapp-gcc/include vrouter/dpdk/vr_dpdk_host.c
>vrouter/dpdk/vr_dpdk_host.c: In function 'dpdk_soft_reset':
>vrouter/dpdk/vr_dpdk_host.c:1182:5: error: implicit declaration of function 
>'rcu_barrier' [-Werror=implicit-function-declaration]
>     rcu_barrier();
>     ^
>cc1: all warnings being treated as errors
>scons: *** [build/debug/vrouter/dpdk/vr_dpdk_host.o] Error 1
>scons: building terminated because of errors.
>kwc@HP-RBC-07:~/contrail_30.current$<mailto:kwc@HP-RBC-07:~/contrail_30.current$>
>
>I?m not sure why its trying to call rcu_barrier exactly, but as far as I can 
>tell rcu_barrier is a function that is part of the linux kernel.  The 
>rcu_barrier function is not defined anywhere in the contrail source code, and 
>there does not appear to be anything including the linux kernel headers.    
>I?m running this on Linux Ubuntu Trusty 14.04.01 (latest patches installed) 
>with kernel 3.16.0-70-generic.
>
>
>This is roughly the procedure that I am following:
>
>apt-add-repository ppa:opencontrail/ppa
>apt-get update
>apt-get install <lots of packages>
>Manually install libuv, cassandra-cpp-driver, and cassandra-cpp-driver-dev
>
>repo init -u 
>[email protected]:Juniper/contrail-vnc<mailto:[email protected]:Juniper/contrail-vnc>
>repo sync
>Python third_party/fetch_packages.py
>wget http://downloadmirror.intel.com/22777/eng/dpdk-2.0.0.tar.gz
>tar xfvz dpdk-2.0.0.tar.gz
>cp -pr  dpdk-2.0.0 third_party/dpdk
>
>scons vrouter
>
>Any suggestions or comments would be very much appreciated.
>
>Thank you,
>
>Jay Rhine
>Nokia
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
><http://lists.opencontrail.org/pipermail/dev_lists.opencontrail.org/attachments/20160602/d4ad6395/attachment.html>
>
>------------------------------
>
>Subject: Digest Footer
>
>_______________________________________________
>Dev mailing list
>[email protected]
>http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
>
>
>------------------------------
>
>End of Dev Digest, Vol 34, Issue 2
>**********************************
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to