> -----Original Message-----
> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Francois
> Ozog
> Sent: Tuesday, October 11, 2016 4:23 PM
> To: LNG ODP Mailman List <lng-odp@lists.linaro.org>
> Subject: [lng-odp] ODPèDPDK Documentation & build
> 
> Building on a vanilla Debian following the README.DPDK has not been totally
> seamless...
> 
> As I am not fully sure about my workarounds, it would be nice somebody
> check and corrects the README.DPDK.
> 
> Cordially,

Hi Francois,

The README file seems to be badly outdated. I'll create a patch to fix the file 
tomorrow.

P.S.  odp-dpdk has own mailing list: lng-odp-d...@lists.linaro.org.

-Matias


> 
> François-Frédéric
> 
>  *git clone http://92.243.14.124/git/dpdk
> <http://92.243.14.124/git/dpdk> ./dpdk*
> 
> but this does not work:
> Cloning into './dpdk'...
> fatal: repository 'http://92.243.14.124/git/dpdk/' not found
> 
> 
> so why not using the official link???
> 
> git clone git://dpdk.org/dpdk
> Cloning into 'dpdk'...
> remote: Counting objects: 54717, done.
> remote: Compressing objects: 100% (11606/11606), done.
> remote: Total 54717 (delta 43712), reused 53550 (delta 42797)
> Receiving objects: 100% (54717/54717), 26.80 MiB | 425.00 KiB/s, done.
> Resolving deltas: 100% (43712/43712), done.
> Checking connectivity... done.
> 
> 
> 
> *Set CONFIG_RTE_BUILD_COMBINE_LIBS=y*
> This parameter does not exist (anymore ?)
> 
> 
> *CONFIG_RTE_LIBRTE_IXGBE_ALLOW_UNSUPPORTED_SFP=y*
> This parameter does not exist (anymore?)
> 
> *build with EXTRA_CFLAGS="-fPIC"*
> Does not produce the best code. Is there a reason for that ?
> 
> *Dependence DPDK build*
> No information on pre-requisites. You need to point to DPDK doc or to give
> full build intructions or pre-requisites.
> On a fresh Debian install you need:
> apt-get install dkms libncurses5-dev libpcap-dev
> 
> the make command lacks the DESTDIR parameter
>  make install T=x86_64-native-linuxapp-gcc EXTRA_CFLAGS="-fPIC"
> DESTDIR=../dpdk-16.07/
> 
> 
> *odp-dpdk build*
> 
> ./configure --with-platform=linux-dpdk --with-sdk-install-path=<dpdk-
> dir>/x86_64-native-linuxapp-gcc
> Should say it is the DPDK ABSOLUTE PATH, not relative!
> 
> 
> lacks:
> export RTE_SDK=<absoule path to DPDK>
> export RTE_TARGET=x86_64-native-linuxapp-gcc
> 
> *Checking compiled ODP with sample app*
> 
> to run an ODP-dpdk app, it should be clear that it must be run as root and
> that DPDK parameters are to be in a variable.
> 
>  sudo ODP_PLATFORM_PARAMS="-l0 --no-huge" ./odp_hello -c 0 -n 1
> 
> doing an export and just a sudo does not work.
> 
> 
> --
> [image: Linaro] <http://www.linaro.org/>
> François-Frédéric Ozog | *Director Linaro Networking Group*
> T: +33.67221.6485
> francois.o...@linaro.org | Skype: ffozog

Reply via email to