[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87va9fgl3g.fsf@intel.com>
Date: Mon, 16 Jul 2018 10:13:23 -0700
From: Vinicius Costa Gomes <vinicius.gomes@...el.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, jesus.sanchez-palencia@...el.com,
tglx@...utronix.de, jan.altenberg@...utronix.de, henrik@...tad.us,
richardcochran@...il.com, levi.pearson@...man.com,
jhs@...atatu.com, xiyou.wangcong@...il.com
Subject: Re: [RFC net-next v1 1/1] net/sched: Introduce the taprio scheduler
Hi Jiri,
Jiri Pirko <jiri@...nulli.us> writes:
[...]
>>
>>gates.sched
>
> Any particular reason this has to be in file and not on the cmdline?
The idea here was to keep longer schedules more manageable. And during
testing I found it more ergonomic to have a file.
It also has the advantage that the file can be reused by other tools,
dump-classifier (awful name, I admit), included in that github gist, is
one example, it uses the schedule (and some more information) to
calculate which packets would fall outside their "windows" in a pcap
dump.
Anyway, if there are use cases that having the schedule in the command
line helps, I would be happy to add it.
Cheers,
--
Vinicius
Powered by blists - more mailing lists