Re: [ovs-discuss] Two threads update a switch concurrently

2019-01-18 Thread Ben Pfaff
OVS only has one OpenFlow thread. How would a single thread get deserialized? On Sat, Jan 19, 2019 at 12:53:47AM -0500, Yiyang Chang wrote: > Hi Ben, > > Thanks for the quick response. But I am not sure I get it. Let me ask in > a different way: is it safe to update a switch with two threads > c

Re: [ovs-discuss] Two threads update a switch concurrently

2019-01-18 Thread Yiyang Chang
Hi Ben, Thanks for the quick response. But I am not sure I get it. Let me ask in a different way: is it safe to update a switch with two threads concurrently using ovs-ofctl? Did you mean OVS will internally serialize the update requests from concurrent threads? Thanks, Yiyang On 1/19/19 12:43

Re: [ovs-discuss] Two threads update a switch concurrently

2019-01-18 Thread Ben Pfaff
On Sat, Jan 19, 2019 at 12:26:33AM -0500, Yiyang Chang wrote: > I am wondering what will happen if there are two threads updating a > switch concurrently with ovs-ofctl. Is there a switch-level lock in OVS? OVS has a single thread that processes OpenFlow. __

[ovs-discuss] Two threads update a switch concurrently

2019-01-18 Thread Yiyang Chang
Hi, I am wondering what will happen if there are two threads updating a switch concurrently with ovs-ofctl. Is there a switch-level lock in OVS? Thanks, Yiyang ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/lis

[ovs-discuss] vhost_net driver version and ovs-dpdk versions needs to compatible ?

2019-01-18 Thread Pradeep K.S
Hi, I have ovs-dpdk setup and have spawned a VM with 2 vhost-user ports. I am using vhost in dpdkvhostuserclient mode. If I reboot the guest vm by issuing reboot command i am getting SEGV , looked at the stack trace , (my guess it might be accessing old Queue memory). is there a compatibility m

Re: [ovs-discuss] ovs-ofctl dump-flows output numbers base

2019-01-18 Thread Ben Pfaff
On Fri, Jan 18, 2019 at 11:43:05AM -0500, Matteo Olivi wrote: > in OvS 2.5.5. "ovs-ofctl dump-flows " output some numeric flow > fields (e.g. tun_id) are printed as hex numbers. Is there a way to get all > such numbers in decimal notation? No. ___ discus

Re: [ovs-discuss] "ovs-vsctl destroy IPFIX" does not clear the table

2019-01-18 Thread Ben Pfaff
On Fri, Jan 18, 2019 at 03:36:08PM +0800, Rockmen Jack wrote: > I tried on 2.8.0 and 2.10.1, both failed to clear the table but there > is no error printed, the return code was 0 as well. It turns out > "ovs-vsctl clear Bridge br0 ipfix" will do the work, which is a > confusing behavior.(also means

[ovs-discuss] ovs-ofctl dump-flows output numbers base

2019-01-18 Thread Matteo Olivi
Hello, in OvS 2.5.5. "ovs-ofctl dump-flows " output some numeric flow fields (e.g. tun_id) are printed as hex numbers. Is there a way to get all such numbers in decimal notation? Thx, Matteo. ___ discuss mailing list disc...@openvswitch.org https://mail.

[ovs-discuss] "ovs-vsctl destroy IPFIX" does not clear the table

2019-01-18 Thread Rockmen Jack
Hi, I tried on 2.8.0 and 2.10.1, both failed to clear the table but there is no error printed, the return code was 0 as well. It turns out "ovs-vsctl clear Bridge br0 ipfix" will do the work, which is a confusing behavior.(also means we can't clear IPFIX table in a batch but only one by one) Than

[ovs-discuss] Dose ovn/openstack support fwaas?

2019-01-18 Thread taoyunupt
Dear all, when i use the neutron command of "firewall-policy-create",error occurs . "The resource could not be found" ,as the picture tells. Dose OVN/openstack support fwass,how to enable this feature? Thanks, yunxiang ___