[ovs-discuss] Questions about modified ofproto.c

Ben Pfaff blp at ovn.org
Wed Apr 25 19:35:33 UTC 2018


Please don't drop the mailing list.

On Thu, Apr 26, 2018 at 12:12:58AM +0800, 林志仁 wrote:
> 2018-04-26 0:02 GMT+08:00 Ben Pfaff <blp at ovn.org>:
> 
> > On Mon, Apr 23, 2018 at 10:56:19PM +0800, 林志仁 wrote:
> > >  I modified ofproto.c   "handle_flow_stats_request"   function.  I added
> > a
> > > while loop to check the flow table every 2 seconds.
> > >
> > > I want to ask "handle_openflow_"  can handle other request, like packet -
> > > in?
> >
> > If you make handle_flow_stats_request() block, then nothing else will
> > get handled.
> >
> 
> If i want to  "handle_flow_stats_request"   function while loop to check
> the flow table every 2 seconds  and ovs also can handle other request
> Do you have any suggested modifications or directions?

I'd suggest having the controller submit a flow stats request every 2
seconds.


More information about the discuss mailing list