Hi,

http://lxr.free-electrons.com/source/net/openvswitch/datapath.c

Regarding the current locking mechanism in the OVS table I have some question ..

As per the code it looks like , there are  Read Lock and Write Locks.
Write Lock (write to device state add/remove data-path, port, set operation on 
vport etc ...)

1.  Looks Like it is kept at complete table level and not at table Entry Level.

2.  Can locks go nested means --> multiple thread can still waits on that lock

Lock is  it a global lock at table  or at  each  table entry   have separate 
lock ?
If there is  a lock at table level , then if we  increase the size of that 
table to 20,000 flows will there be any impact on waiting for that lock ?

Is this understanding is correct ?

Thanks & regards,
Keshava.A

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to