[ovs-discuss] Two threads update a switch concurrently

Yiyang Chang chang.yiyang.letusrock at gmail.com
Sat Jan 19 05:53:47 UTC 2019

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?



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