[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190628.144647.570493656550419800.davem@davemloft.net>
Date: Fri, 28 Jun 2019 14:46:47 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vedang.patel@...el.com
Cc: netdev@...r.kernel.org, jeffrey.t.kirsher@...el.com,
jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
intel-wired-lan@...ts.osuosl.org, vinicius.gomes@...el.com,
l@...ileo.org, jakub.kicinski@...ronome.com, m-karicheri2@...com,
sergei.shtylyov@...entembedded.com, eric.dumazet@...il.com,
aaron.f.brown@...el.com
Subject: Re: [PATCH net-next v6 0/8] net/sched: Add txtime-assist support
for taprio.
From: Vedang Patel <vedang.patel@...el.com>
Date: Tue, 25 Jun 2019 15:07:11 -0700
> Currently, we are seeing packets being transmitted outside their
> timeslices. We can confirm that the packets are being dequeued at the right
> time. So, the delay is induced after the packet is dequeued, because
> taprio, without any offloading, has no control of when a packet is actually
> transmitted.
>
> In order to solve this, we are making use of the txtime feature provided by
> ETF qdisc. Hardware offloading needs to be supported by the ETF qdisc in
> order to take advantage of this feature. The taprio qdisc will assign
> txtime (in skb->tstamp) for all the packets which do not have the txtime
> allocated via the SO_TXTIME socket option. For the packets which already
> have SO_TXTIME set, taprio will validate whether the packet will be
> transmitted in the correct interval.
>
> In order to support this, the following parameters have been added:
> - flags (taprio): This is added in order to support different offloading
> modes which will be added in the future.
> - txtime-delay (taprio): This indicates the minimum time it will take for
> the packet to hit the wire after it reaches taprio_enqueue(). This is
> useful in determining whether we can transmit the packet in the remaining
> time if the gate corresponding to the packet is currently open.
> - skip_skb_check (ETF): ETF currently drops any packet which does not have
> the SO_TXTIME socket option set. This check can be skipped by specifying
> this option.
...
Series applied, thanks.
Powered by blists - more mailing lists