Hi Thanks for suggestion. Reinstalling the DPDK with "CONFIG_RTE_BUILD_SHARED_LIB=n" worked. I am very much curious to know any future impact of setting "CONFIG_RTE_BUILD_SHARED_LIB=n" and why it didn't worked for CONFIG_RTE_BUILD_SHARED_LIB=Y? Thanks & Regards Vivek From: Bodireddy, Bhanuprakash [bhanuprakash.bodire...@intel.com]
Sent: Tuesday, March 29, 2016 4:34 PM To: Vivek Gupta Cc: discuss@openvswitch.org Subject: RE: [ovs-discuss] Cannot link with dpdk I don’t see an issue with the steps you mentioned here. Can you try using a static library instead of shared library. Replace CONFIG_RTE_BUILD_SHARED_LIB=n and reinstall the DPDK library(you should see libdpdk.a) and see if this makes a difference?
Regards,
Initially I had tried with with-dpdk= homedirectory/dpdk2.2/install/share/dpdk/x86_64-native-linuxapp-gcc but nothing happened. then switched to
1.
Initially I was building DPDK as below steps-
After make install step I was getting error "Cannot install DPDK with T defined and DESTDIR undefined" By taking help from forums I changed my "make install" step as "make install x86_64-ivshmem-linuxapp-gcc DESTDIR=install"
I am stuck in OVS configuration with DPDK. Please suggest.
Thanks & Regards Vivek
From: Bodireddy, Bhanuprakash [bhanuprakash.bodire...@intel.com] Hello Vivek,
I quickly verified the issue you reported and could reproduce it. When one use install target ‘x86_64-ivshmem-linuxapp-gcc’ the directory layout is slightly different.
make install T= x86_64-ivshmem-linuxapp-gcc DESTDIR=install creates ‘<homedirectory>/dpdk2.2/install/share/dpdk/ x86_64-native-linuxapp-gcc`, where as one expects the directory layout to be ‘<homedirectory>/dpdk2.2/install/share/dpdk/ x86_64-ivshmem-linuxapp-gcc`.
This is the reason the OVS configure was failing in your case. Try passing –with-dpdk= homedirectory/dpdk2.2/install/share/dpdk/x86_64-native-linuxapp-gcc (or) --with-dpdk=homedirectory/dpdk2.2/ x86_64-ivshmem-linuxapp-gcc
Regards, Bhanu Prakash.
From: discuss [mailto:discuss-boun...@openvswitch.org]
On Behalf Of Bodireddy, Bhanuprakash
Set my path-to-dpdk to homedirectory/dpdk2.2/ x86_64-ivshmem-linuxapp-gcc and this should resolve your issue.
Regards, Bhanu Prakash.
From: Vivek Gupta [mailto:vive...@hcl.com]
Yes, I am able to see libdpdk.so file in path-to-dpdk/x86_64-native-linuxapp-gcc/lib
my path-to-dpdk = homedirectory/dpdk2.2/install/share/dpdk.
Please suggest.
Thanks & Regards Vivek From: Bodireddy, Bhanuprakash [bhanuprakash.bodire...@intel.com] Do you see DPDK library in the path mentioned path-to-dpdk/x86_64-ivshmem-linuxapp-gcc/lib/libdpdk.a?
From: discuss [mailto:discuss-boun...@openvswitch.org]
On Behalf Of Vivek Gupta
I have already enabled that option. From: gowrishankar [gowrishanka...@linux.vnet.ibm.com] On Monday 28 March 2016 04:25 PM, Vivek Gupta wrote:
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. ---------------------------------------------------------------------------------------------------------------------------------------------------- |
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss