Hi,

OVS 2.3.2 supports DPDK 1.6, as stated in INSTALL.DPDK.
Many APIs have changed in DPDK in a backward incompatible
way.

Also, DPDK support in OVS 2.3.2 is experimental.  It would be
better to use the code from branch-2.4 (with DPDK 2.0)

Daniele


On 22/06/2015 23:30, "Sundar Ramakrishnan" <sundar_ra...@yahoo.com> wrote:

>
>Hello,
>
>
>I am a newbie to this environment and I am unable to find which release
>of DPDK works fine with Openvswitch. I hope you could enlighten me with
>some docs or references with which I could build a working setup -
>
>
>RHEL 6.6
>DPDK - 1.7.1
>OVS - 2.3.1
>
>
>Following are some steps I figured out from the web & my experiments -
>
>
>Error:
>
>
>/usr/src/dpdk-1.7.1/x86_64-native-linuxapp-gcc/include/rte_common.h: In
>function ârte_is_alignedâ:
>/usr/src/dpdk-1.7.1/x86_64-native-linuxapp-gcc/include/rte_common.h:176:
>warning: cast from function call of type âuintptr_tâ to non-matching type
>âvoid *â
>lib/netdev-dpdk.c: In function âdpdk_class_initâ:
>lib/netdev-dpdk.c:1081: warning: implicit declaration of function
>ârte_pmd_init_allâ
>lib/netdev-dpdk.c: In function âdpdk_initâ:
>lib/netdev-dpdk.c:1189: error: too few arguments to function
>ârte_memzone_dumpâ
>make[2]: *** [lib/netdev-dpdk.lo] Error 1
>make[2]: Leaving directory `/usr/src/openvswitch-2.3.1'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/usr/src/openvswitch-2.3.1'
>make: *** [all] Error 2
>
>
>
>
>DPDK Open vSwitch Notes RHEL6.6:
>------------------------
>
>
>Additions to kernel cmdline:
>iommu=pt intel_iommu=on default_hugepagesz=1G hugepagesz=1G
>transparent_hugepage=never hugepages=32
>
>
>BUILD DPDK:
>cd /usr/src/dpdk-1.6.0r2 <--- 1st working version
>cd /usr/src/dpdk-1.7.1 <--- Only works with 82599
>cd /usr/src/dpdk-1.8.0 <--- x540s are recognized ovs doesn't build with
>it tho
>export DPDK=$(pwd)
>export TGT=x86_64-native-linuxapp-gcc
>make CONFIG_RTE_BUILD_COMBINE_LIBS=y CONFIG_RTE_BUILD_SHARED_LIB=n
>CONFIG_RTE_LIBRTE_IXGBE_PMD=y CONFIG_RTE_LIBRTE_IGB_PMD=y install T=$TGT
>
>
>
>BUILD OpenvSwitch:
>cd /usr/src/openvswitch-2.3.1
>export OVS=$(pwd)
>./boot.sh
>./configure --disable-ssl --with-dpdk=$DPDK/$TGT LIBS=-ldl
>make
>make install
>ln -sf /usr/local/bin/ovs-vsctl /usr/bin/ovs-vsctl <--- libvirt requires
>ovs-vsctl to be here
>
>
>
>
>Please let me know if you find something wrong in what I am doing.
>
>
>Thanking you
>
>
>Sundar
>
>
>

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to