On Fri, Dec 29, 2017 at 10:16:51AM +0800, 夏晨博 wrote:
> Do you mean building OVS with '--with-dpdk' flag? Because I think I've done 
> that.

No, see:
https://github.com/openvswitch/ovs/blob/master/Documentation/intro/install/dpdk.rst#setup-ovs



> --
> Troy
> ------------------ 原始邮件 ------------------
> 发件人: "Flavio Leitner";<f...@sysclose.org>;
> 发送时间: 2017年12月29日(星期五) 凌晨2:14
> 收件人: "夏晨博"<524622...@qq.com>;
> 抄送: "ovs-discuss"<ovs-discuss@openvswitch.org>; 
> 主题: Re: [ovs-discuss] could not create netdev vhost-user1 of unknowntype 
> dpdkvhostuser
> 
> 
> 
> On Thu, Dec 28, 2017 at 09:49:15PM +0800, 夏晨博 wrote:
> > Hi,all
> > 
> > I tried to create vhost-user ports with OVS-DPDK, but failed. And I can't 
> > find the solution.
> > 
> >  Step1: ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev
> >  Step2: ovs-vsctl add-port br0 vhost-user1 -- set Interface vhost-user1 
> > type=dpdkvhostuser
> > 
> > Step 1 is ok. But Step2 failed. I checked the log, it says:
> > 
> > 2017-12-28T13:11:22.979Z|00020|netdev|WARN|could not create netdev 
> > vhost-user1 of unknown type dpdkvhostuser
> > 2017-12-28T13:11:22.979Z|00021|bridge|WARN|could not open network device 
> > vhost-user1 (Address family not supported by protocol)
> > 2017-12-28T13:11:59.036Z|00022|netdev|WARN|could not create netdev 
> > vhost-user1 of unknown type dpdkvhostuser
> > 2017-12-28T13:11:59.036Z|00023|bridge|WARN|could not open network device 
> > vhost-user1 (Address family not supported by protocol)
> > 2017-12-28T13:13:58.919Z|00024|netdev|WARN|could not create netdev 
> > vhost-user1 of unknown type dpdkvhostuser
> > 2017-12-28T13:13:58.919Z|00025|bridge|WARN|could not open network device 
> > vhost-user1 (Address family not supported by protocol)
> > 
> > I wonder if anyone knows the reason.
> > 
> > OVS version: 2.8.1
> > DPDK version: 17.05.1
> > OS version: CentOS 7
> > 
> > I tried again in ubuntu using the openvswitch-switch-dpdk package, the same 
> > problem happened.
> 
> You need to enable DPDK feature first.
> 
> -- 
> Flavio

-- 
Flavio


_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to