[ovs-dev] [PATCH V2] tc: Correct convert ticks to msecs on parsing tc TM

Ben Pfaff blp at ovn.org
Thu Aug 3 19:54:11 UTC 2017


On Tue, Aug 01, 2017 at 01:56:58PM -0700, Joe Stringer wrote:
> On 29 July 2017 at 22:01, Roi Dayan <roid at mellanox.com> wrote:
> > From: Paul Blakey <paulb at mellanox.com>
> >
> > Use sysconf(_SC_CLK_TCK) to read run time "number of clock ticks per
> > second" and use that to convert ticks to msecs.
> > This is how iproute does the conversion when parsing tc filters.
> > The system call is done only once.
> >
> > Signed-off-by: Paul Blakey <paulb at mellanox.com>
> > Reviewed-by: Roi Dayan <roid at mellanox.com>
> > ---
> 
> Acked-by: Joe Stringer <joe at ovn.org>
> 
> Looks like this is missing Simon's ack from the previous round. In
> future, please consider propagating these from earlier patch revisions
> if the change is minor.

Thanks Paul, Roi, Joe.  I applied this to master.


More information about the dev mailing list