On Fri, Feb 24, 2017 at 06:57:58PM -0800, Daniele Di Proietto wrote:
> The new module will be used by ofproto to keep track of the number of
> learned flows with the same cookie in the same table.
> 
> The counters are used to implement limits for the learn action.
> 
> The module implements its own internal locking, because the counters can
> be increased/decreased from handlers and revalidators.
> 
> Signed-off-by: Daniele Di Proietto <[email protected]>

There's an existing hindex of flows by their cookies, the 'cookies'
member of struct ofproto, and even a 'learned_cookies' hmap.  Is there a
graceful way to avoid having more indexes of flows by cookie?
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to