On 10 August 2015 at 11:16, Dave Waters <[email protected]> wrote: > > > On Mon, Aug 10, 2015 at 7:50 PM, Abhishek Verma <[email protected]> > wrote: >> >> Hi, >> >> Flow entries in the kernel data plane expire every 5 secs. This means that >> if i get a packet once every 6 secs then that packet will always get routed >> to the user space, since the flow would get expired the next time it comes >> again. >> >> Is this correct? > > > Yes. The idea is that if youre getting a packet that infrequently then you > shouldnt mind paying the user-space tax. > >> >> >> If Yes, then can i set an age with a few selected flow entries so that >> they dont time out? > > > No, you cannot do that. The kernel automatically installs flow entries and > you cannot control that.
Minor correction: Userspace is responsible for installing flow entries. The kernel sends an upcall including a packet to userspace, which then makes the decisions. However like Dave said, there is no way to 'pin' flows to the datapath. _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
