[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180126021224.cfu632wbghf6blik@localhost>
Date: Thu, 25 Jan 2018 18:12:24 -0800
From: Richard Cochran <richardcochran@...il.com>
To: Vinicius Costa Gomes <vinicius.gomes@...el.com>
Cc: Miroslav Lichvar <mlichvar@...hat.com>,
Jesus Sanchez-Palencia <jesus.sanchez-palencia@...el.com>,
netdev@...r.kernel.org, john.stultz@...aro.org,
Richard Cochran <rcochran@...utronix.de>, jiri@...nulli.us,
ivan.briano@...el.com, henrik@...tad.us, jhs@...atatu.com,
levi.pearson@...man.com, intel-wired-lan@...ts.osuosl.org,
xiyou.wangcong@...il.com, tglx@...utronix.de,
anna-maria@...utronix.de
Subject: Re: [Intel-wired-lan] [RFC v2 net-next 01/10] net: Add a new socket
option for a future transmit time.
On Wed, Jan 24, 2018 at 02:46:24PM -0800, Vinicius Costa Gomes wrote:
> The only robust way that we could think of about keeping the the packets
> in order for the device queue is re-ordering packets in the Qdisc.
Right, but you cannot afford the overhead of the timerqueue when using
HW offload, when the HW device sits on a PCIe bus. Many serious TSN
applications (like industrial controls) will want to have just one
packet queued, readying the next one just in time for the next
deadline. The control loops are sensitive to the feedback interval.
> Even if we reach a decision that the Qdisc should not re-order packets
> (we wouldn't have any dependency on hrtimers in the offload case, as you
> pointed out), we still need hrtimers for the software implementation.
Fine.
> So, I guess, the problem remains, if it's possible for the user to
> express a /dev/ptp* clock, what should we do?
Thinking a bit more, it doesn't make sense to have a user choice for
the HW offloading case. The clock should implicitly be the device
clock, always. Using any other clock would make no sense.
Thanks,
Richard
Powered by blists - more mailing lists