Hi Binghan, To add to that; you should follow the steps in https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md to install OVS + DPDK
you can also refer, https://software.intel.com/en-us/articles/using-open-vswitch-with-dpdk-for-inter-vm-nfv-applications Thanks Kapil. On Tue, Jul 5, 2016 at 1:23 PM, Levente Csikor <[email protected]> wrote: > Hi, > > That manual is only for installing OVS and linking it to DPDK. > However, you need to install DPDK on your own before installing OVS with > DPDK. > > download DPDK from here: http://dpdk.org/download > follow instructions for the installation procedure (not that difficult - > less commands needed than for OVS :) ). > > > For using OVS with DPDK, you need to insert the userspace IO driver > provided by DPDK, then enable this driver on the interfaces you want to use > with DPDK (this binding script will be available under: > your-dpdk-directory/tools/dpdk_nic_bind.py > > argument --status will print out which port is used by the kernel driver > and the dpdk driver. > > you could also find more details under http://dpdk.org/download on how to > bind your interface to DPDK driver. > > > > On 07/05/2016 09:45 AM, Binghan wrote: > > Hi, > > I built OVS+DPDK from source. I use OVS 2.5.0 and DPDK 2.2.0, the build > environment is RHEL 7.2. I try to follow this instruction, > <https://github.com/openvswitch/ovs/blob/master/INSTALL.Fedora.md> > https://github.com/openvswitch/ovs/blob/master/INSTALL.Fedora.md > However, it reports: > *make rpm-fedora* > *make: *** No rule to make target `rpm-fedora'. Stop.* > > So, try commands as follow, > ./boot.sh > ./configure > rpmbuild -bb rhel/openvswitch-fedora.spec --with dpdk > > Finally, I got following RPMs, > > *RPMS/x86_64/openvswitch-2.5.0.el7.x86_64.rpm* > > *RPMS/noarch/openvswitch-2.5.0.el7.noarch.* > > *RPMS/noarch/python-openvswitch-2.5.0.el7.noarch.rpm* > > *RPMS/noarch/openvswitch-test-2.5.0.el7.noarch.rpm* > > *RPMS/x86_64/openvswitch-devel-2.5.0.el7.x86_64.rpm* > > *RPMS/x86_64/openvswitch-ovn-2.5.0.el7.x86_64.rpm* > > *RPMS/x86_64/openvswitch-debuginfo-2.5.0.el7.x86_64.rpm* > > > Then, I installed rpm RPMS/x86_64/openvswitch-2.5.0.el7.x86_64.rpm. > > I can create bridge and ports, but dpdk interface does not exist. > > *ovs-vsctl get Open_vSwitch . iface_types* > > *[geneve, gre, internal, ipsec_gre, "l3gre", lisp, patch, stt, system, > tap, vxlan ]* > > > How can I enable dpdk interface or Is there anything wrong with my build > procedure? > > > BRs, > > Binghan > > > _______________________________________________ > discuss mailing > [email protected]http://openvswitch.org/mailman/listinfo/discuss > > > > _______________________________________________ > discuss mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/discuss > >
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
