[ovs-discuss] How to enable dpdk interface for OVS+DPDK on RHEL?

Binghan binghanluc at gmail.com
Mon Jul 4 09:04:58 UTC 2016


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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160704/0ce57d91/attachment-0002.html>


More information about the discuss mailing list