openvswitch / ovs-issues

Issue tracker repo for Open vSwitch
10 stars 3 forks source link

how to set ovs into userspace when ovs without kernel ? #290

Closed bettswang closed 12 months ago

bettswang commented 12 months ago

hi,

I am a newbee. I want to make ovs without kernel support and run entirely in userspace , not DPDK. I follow the step as below.

$ ovs-vsctl add-br br0 $ ovs-vsctl set bridge br0 datapath_type=netdev $ ovs-vsctl add-port br0 eth0

I get the error in the log. I comfired that " /sys/class/misc/tun" and "/dev/net/tun" exist. I search this on Internet but didn't have a fixed

2023-07-30T13:52:39.492Z|00040|ofproto|WARN|unknown datapath type net_dev 2023-07-30T13:52:39.492Z|00041|ofproto|WARN|could not create datapath br0 of unknown type net_dev 2023-07-30T13:52:39.493Z|00042|bridge|ERR|failed to create bridge br0: Address family not supported by protocol 2023-07-30T13:52:39.493Z|00043|ofproto|WARN|unknown datapath type net_dev 2023-07-30T13:52:39.493Z|00044|ofproto|WARN|could not create datapath br0 of unknown type net_dev 2023-07-30T13:52:39.493Z|00045|bridge|ERR|failed to create bridge br0: Address family not supported by protocol 2023-07-30T14:05:26.577Z|00046|ofproto|WARN|unknown datapath type net_dev 2023-07-30T14:05:26.577Z|00047|ofproto|WARN|could not create datapath br0 of unknown type net_dev 2023-07-30T14:05:26.577Z|00048|bridge|ERR|failed to create bridge br0: Address family not supported by protocol