Re: [ovs-dev] [PATCH 1/4] bfd: Implement BFD decay.

2013-08-05 Thread Ethan Jackson
> I'll add 'in_decay' flag and set bfd->min_rx to decay_min_rx, when receiving > the FINAL packet. It should be sufficient to set bfd->poll_min_rx to the appropriate value in the bfd_poll() function. The poll_min_rx is automatically copied to the min_rx field when the FINAL packet comes in. Etha

Re: [ovs-dev] [PATCH 1/4] bfd: Implement BFD decay.

2013-08-05 Thread Alex Wang
Thanks Ethan for the review. I'll add 'in_decay' flag and set bfd->min_rx to decay_min_rx, when receiving the FINAL packet. On Mon, Aug 5, 2013 at 3:35 PM, Ethan Jackson wrote: > On Mon, Aug 5, 2013 at 2:04 PM, Alex Wang wrote: > > When there is no incoming data traffic at the interface for a

Re: [ovs-dev] [PATCH 1/4] bfd: Implement BFD decay.

2013-08-05 Thread Ethan Jackson
On Mon, Aug 5, 2013 at 2:04 PM, Alex Wang wrote: > When there is no incoming data traffic at the interface for a period, > BFD decay allows the bfd session to increase the min_rx. This is > helpful in that some interfaces usually idle for long time. And cpu > consumption can be reduced by processi

[ovs-dev] [PATCH 1/4] bfd: Implement BFD decay.

2013-08-05 Thread Alex Wang
When there is no incoming data traffic at the interface for a period, BFD decay allows the bfd session to increase the min_rx. This is helpful in that some interfaces usually idle for long time. And cpu consumption can be reduced by processing fewer bfd control packets. Signed-off-by: Alex Wang -