Re: [RFC v3 iproute2 3/3] tc: Add support for the TBS Qdisc

2018-03-07 Thread Stephen Hemminger
On Wed, 7 Mar 2018 14:29:23 -0800 Jesus Sanchez-Palencia wrote: > Hi, > > > On 03/06/2018 05:51 PM, Stephen Hemminger wrote: > > On Tue, 6 Mar 2018 17:16:08 -0800 > > Jesus Sanchez-Palencia wrote: > > > >> atic int tbs_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) > >> +{ >

Re: [RFC v3 iproute2 3/3] tc: Add support for the TBS Qdisc

2018-03-07 Thread Jesus Sanchez-Palencia
Hi, On 03/06/2018 05:51 PM, Stephen Hemminger wrote: > On Tue, 6 Mar 2018 17:16:08 -0800 > Jesus Sanchez-Palencia wrote: > >> atic int tbs_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) >> +{ >> +struct rtattr *tb[TCA_TBS_MAX+1]; >> +struct tc_tbs_qopt *qopt; >> + >> +

Re: [RFC v3 iproute2 3/3] tc: Add support for the TBS Qdisc

2018-03-06 Thread Stephen Hemminger
On Tue, 6 Mar 2018 17:16:08 -0800 Jesus Sanchez-Palencia wrote: > atic int tbs_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) > +{ > + struct rtattr *tb[TCA_TBS_MAX+1]; > + struct tc_tbs_qopt *qopt; > + > + if (opt == NULL) > + return 0; > + > + parse_r

[RFC v3 iproute2 3/3] tc: Add support for the TBS Qdisc

2018-03-06 Thread Jesus Sanchez-Palencia
From: Vinicius Costa Gomes The Time Based Scheduler (TBS) queueing discipline allows precise control of the transmission time of packets. The syntax is: tc qdisc add dev DEV parent NODE tbs delta clockid [offload] [sorting] Signed-off-by: Vinicius Costa Gomes Signed-off