[ovs-discuss] Hot-plugging a Physical Port with DPDK Failed
Ramzah Rehman
ramzahrehman at gmail.com
Fri Nov 30 08:47:45 UTC 2018
Hi. I Have installed Open vSwitch 2.9.4 with DPDK 17.11.4 on Ubuntu 14.04.5
LTD and kernel version 4.4.0-31-generic on a server A following these two
links:
http://docs.openvswitch.org/en/latest/intro/install/dpdk/
http://docs.openvswitch.org/en/latest/intro/install/general/#general-bootstrapping
Now, when I run TCP client via iperf from server A to another server B, I
get a bandwidth of around 350Mbps on 1000Mbps link. I have not bound any
ports on server A to DPDK. Please advise how can I reach bandwidth of
around 1000Mbps in this setting. Is it because I need to bind physical
ports in use to DPDK driver?
I have tried binding the physical port to DPDK (Hot-plugging) following
this link: http://docs.openvswitch.org/en/latest/topics/dpdk/phy/
#ovs-vsctl add-port OVS_BR_LEAF_0 dpdkx -- set Interface dpdkx type=dpdk
options:dpdk-devargs=0000:03:02.0
Error in ovs-vswitchd.log:
2018-11-30T08:21:40.430Z|00165|dpdk|ERR|EAL: Driver cannot attach the
device (0000:03:02.0)
2018-11-30T08:21:40.430Z|00166|dpdk|ERR|EAL: No port found for device
(0000:03:02.0)
2018-11-30T08:21:40.430Z|00167|netdev_dpdk|WARN|Error attaching device
'0000:03:02.0' to DPDK
2018-11-30T08:21:40.430Z|00168|netdev|WARN|dpdkx: could not set
configuration (Invalid argument)
Useful information:
#uname -r
4.4.0-31-generic
#cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic
root=UUID=286cabb9-ebd3-4b51-b1b2-8c139acb1d22 ro intel_iommu=on iommu=pt
quiet splash vt.handoff=7
#cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
#/usr/src/dpdk-stable-17.11.4/usertools/dpdk-devbind.py --status
Network devices using DPDK-compatible driver
============================================
<none>
Network devices using kernel driver
===================================
0000:00:19.0 'Ethernet Connection I217-LM 153a' if=eth2 drv=e1000e unused=
*Active*
0000:03:02.0 'RTL8169 PCI Gigabit Ethernet Controller 8169' if=eth0
drv=r8169 unused=
0000:04:00.0 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
8168' if=eth1 drv=r8169 unused=
Other Network devices
=====================
<none>
Crypto devices using DPDK-compatible driver
===========================================
<none>
Crypto devices using kernel driver
==================================
<none>
Other Crypto devices
====================
<none>
Eventdev devices using DPDK-compatible driver
=============================================
<none>
Eventdev devices using kernel driver
====================================
<none>
Other Eventdev devices
======================
<none>
Mempool devices using DPDK-compatible driver
============================================
<none>
Mempool devices using kernel driver
===================================
<none>
Other Mempool devices
=====================
<none>
#grep HugePages_ /proc/meminfo
HugePages_Total: 1471
HugePages_Free: 959
HugePages_Rsvd: 0
HugePages_Surp: 0
Best Regards,
Ramzah Rehman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20181130/66b7731a/attachment.html>
More information about the discuss
mailing list