[ovs-discuss] Two threads update a switch concurrently

Ben Pfaff blp at ovn.org
Sat Jan 19 06:17:24 UTC 2019

OVS only has one OpenFlow thread.  How would a single thread get

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
> 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 AM, Ben Pfaff wrote:
> > 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.

More information about the discuss mailing list