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.6DPDK - 1.7.1OVS - 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 1make[2]: Leaving 
directory `/usr/src/openvswitch-2.3.1'make[1]: *** [all-recursive] Error 
1make[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 versioncd 
/usr/src/dpdk-1.7.1 <--- Only works with 82599cd /usr/src/dpdk-1.8.0 <--- x540s 
are recognized ovs doesn't build with it thoexport DPDK=$(pwd)export 
TGT=x86_64-native-linuxapp-gccmake 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.1export 
OVS=$(pwd)./boot.sh./configure --disable-ssl --with-dpdk=$DPDK/$TGT 
LIBS=-ldlmakemake installln -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