[ovs-discuss] [bug]ovs-dpdk can't open dpdk port and dpdkvhostuser port added before
王华夏
wanghuaxia at jd.com
Thu Feb 25 06:22:57 UTC 2016
HI
I am trying to restart ovs ,find error as fellows, all thess bridges and ports I have added before
Bridge br-dpdk
Port "dpdk0"
Interface "dpdk0"
type: dpdk
error: "could not open network device dpdk0 (Cannot allocate memory)"
Port br-dpdk
Interface br-dpdk
type: internal
Bridge br-tun
fail_mode: secure
Port "vxlan-0a001f8d"
Interface "vxlan-0a001f8d"
type: vxlan
options: {df_default="true", in_key=flow, local_ip="10.0.32.13", out_key=flow, remote_ip="10.0.31.141"}
Port "vxlan-0a001f7e"
Interface "vxlan-0a001f7e"
type: vxlan
options: {df_default="true", in_key=flow, local_ip="10.0.32.13", out_key=flow, remote_ip="10.0.31.126"}
Port "vxlan-0a002016"
Interface "vxlan-0a002016"
type: vxlan
options: {df_default="true", in_key=flow, local_ip="10.0.32.13", out_key=flow, remote_ip="10.0.32.22"}
Port patch-int
Interface
patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-int
fail_mode: secure
Port br-int
Interface br-int
type: internal
Port "tap78ec2293-ae"
tag: 1
Interface "tap78ec2293-ae"
type: dpdkvhostuser
error: "could not open network device tap78ec2293-ae (Unknown error -1)"
Port "tapb94777b3-5d"
tag: 1
When start the ovs like this ,this problem will occurs:
ovs-vswitchd --dpdk -c 0x1 -n 4 --socket-mem=2048,2048 -- unix:/var/run/openvswitch/db.sock --pidfile --detach -vconsole:emer -vsyslog:err -vfile:info --mlockall --no-chdir --log-file=/var/log/openvswitch/ovs-vswitchd.log –monitor
if change the --socket-mem=2048,2048 to –socket-mem= 2048 , it will have no problem
if it means the numa node1 can not use ?
my ovs version is 2.5 and dpdk version is 2.2 with kernel Linux version 3.10.0-229.20.1.el7.x86_64 (builder at kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Tue Nov 3 19:10:07 UTC 2015
Thanks & regards
Eric wang
发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160225/5d0448b2/attachment-0002.html>
More information about the discuss
mailing list