[ovs-discuss] A sorted tree to hold dumped-flows

Avi Cohen (A) avi.cohen at huawei.com
Tue Jan 31 13:17:52 UTC 2017


I don't see any sorted tree in the code for the dumped flows, but I  see that in ofproto-dpif.c a    'shash'  is used  for a sorted db.
I think to use a  shash  tree also. 

> -----Original Message-----
> From: Avi Cohen (A)
> Sent: Tuesday, 31 January, 2017 2:54 PM
> To: ovs-discuss at openvswitch.org
> Subject: A sorted tree to hold dumped-flows
> 
> Hi,
> I need to store (in userspace) the dumped datapath cache entries into a
> sorted tree - based on a score that will be given to each entry.
> Is the existing  flows data-base  (ofproto module) already includes a sorted
> tree for the dumped flows ?
> If not -  what tree is available in ovs lib for this requirement ?
> Regards, avi


More information about the discuss mailing list