Re: [net-next] net: sched: pie: enable timestamp based delay calculation

2019-08-29 Thread Gautam Ramakrishnan
> > No module parameter is accepted these days. > > > > Please add a new attribute instead, > > so that pie can be used in both mode on the same host. We have prepared a new patch which sets the queue delay estimator as an attribute instead of using module parameters > > I note that I think (but

Re: [net-next] net: sched: pie: enable timestamp based delay calculation

2019-08-27 Thread Dave Taht
On Tue, Aug 27, 2019 at 8:34 AM Eric Dumazet wrote: > > > > On 8/27/19 4:19 PM, Gautam Ramakrishnan wrote: > > RFC 8033 suggests an alternative approach to calculate the queue > > delay in PIE by using per packet timestamps. This patch enables the > > PIE implementation to do this. > > > > The cal

Re: [net-next] net: sched: pie: enable timestamp based delay calculation

2019-08-27 Thread Eric Dumazet
On 8/27/19 4:19 PM, Gautam Ramakrishnan wrote: > RFC 8033 suggests an alternative approach to calculate the queue > delay in PIE by using per packet timestamps. This patch enables the > PIE implementation to do this. > > The calculation of queue delay is as follows: > qdelay = now - packe

[net-next] net: sched: pie: enable timestamp based delay calculation

2019-08-27 Thread Gautam Ramakrishnan
RFC 8033 suggests an alternative approach to calculate the queue delay in PIE by using per packet timestamps. This patch enables the PIE implementation to do this. The calculation of queue delay is as follows: qdelay = now - packet_enqueue_time To enable the use of timestamps: mod