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

Joe Stringer joe at ovn.org
Tue Aug 1 20:56:58 UTC 2017


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.


More information about the dev mailing list