[ovs-dev] How does the datapath flowtable works, datapath learns from vswitchd or utilize the flow table in the kernel?

Jesse Gross jesse at nicira.com
Thu Apr 5 16:27:56 UTC 2012


On Wed, Apr 4, 2012 at 9:35 AM, LIU Binghan <binghanluc at gmail.com> wrote:
> Thanks for your reply, but  how does the userspace make the decision about
> flow table clear?  As far as I know, OVS use this function u64
> ovs_flow_used_time()  to calculate the time flow is used, and then submit to
> userspace in statistics with function static int ovs_flow_cmd_fill_info().
>  Can you show me the source file about decision making process or some
> function about it, if that is possible,

You should look at ofproto-dpif.c for the functions that make
decisions about whether to remove flows.



More information about the dev mailing list