[ovs-discuss] could not create netdev vhost-user1 of unknown type dpdkvhostuser

Flavio Leitner fbl at sysclose.org
Thu Dec 28 18:14:11 UTC 2017


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




More information about the discuss mailing list