From: Richard Cochran <richardcochran@gmail.com>
To: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Cc: netdev@vger.kernel.org, jhs@mojatatu.com,
xiyou.wangcong@gmail.com, jiri@resnulli.us,
intel-wired-lan@lists.osuosl.org, andre.guedes@intel.com,
ivan.briano@intel.com, jesus.sanchez-palencia@intel.com,
boon.leong.ong@intel.com
Subject: Re: [RFC net-next 0/5] TSN: Add qdisc-based config interfaces for traffic shapers
Date: Wed, 20 Sep 2017 07:25:58 +0200 [thread overview]
Message-ID: <20170920052558.h6c4lkqmzk2h2pdq@localhost> (raw)
In-Reply-To: <87wp4ufchl.fsf@intel.com>
On Tue, Sep 19, 2017 at 05:19:18PM -0700, Vinicius Costa Gomes wrote:
> One of the problems with OpenAVNU is that it's too coupled with the i210
> NIC. One of the things we want is to decouple OpenAVNU from the
> controller.
Yes, I want that, too.
> The way we thought best was to propose interfaces (that
> would work along side to the Linux networking stack) as close as
> possible to what the current standards define, that means the IEEE
> 802.1Q family of specifications, in the hope that network controller
> vendors would also look at the specifications when designing their
> controllers.
These standard define the *behavior*, not the programming APIs. Our
task as kernel developers is to invent the best interfaces for
supporting 802.1Q and other standards, the hardware capabilities, and
the widest range of applications (not jut AVB).
> Our objective with the Qdiscs we are proposing (both cbs and taprio) is
> to provide a sane way to configure controllers that support TSN features
> (we were looking specifically at the IEEE specs).
I can see how your proposed Qdiscs are inspired by the IEEE standards.
However, in the case of time based transmission, I think there is a
better way to do it, namely with SO_TXTIME (which BTW was originally
proposed by Eric Mann).
> After we have some rough consensus on the interfaces to use, then we can
> start working on OpenAVNU.
Did you see my table in the other mail? Any comments?
> (Sorry if I am being annoying here, but the idea of an opaque schedule
> is not ours, that comes from the people who wrote the Qbv specification)
The schedule is easy to implement using SO_TXTIME.
> I have a question, what about a controller that doesn't provide a way to
> set a per-packet transmission time, but it supports Qbv/Qbu. What would
> be your proposal to configure it?
SO_TXTIME will have a generic SW fallback.
BTW, regarding the i210, there is no sensible way to configure both
CBS and time based transmission at the same time. The card performs a
logical AND to make the launch decision. The effect of this is that
each and every packet needs a LaunchTime, and the driver would be
forced to guess the time for a packet before entering it into its
queue.
So if we end up merging CBS and SO_TXTIME, then we'll have to make
them exclusive of each other (in the case of the i210) and manage the
i210 queue configurations correctly.
> (I think LaunchTime is something specific to the i210, right?)
To my knowledge yes. However, if TSN does take hold, then other MAC
vendors will copy it.
Thanks,
Richard
next prev parent reply other threads:[~2017-09-20 5:26 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-01 1:26 [RFC net-next 0/5] TSN: Add qdisc-based config interfaces for traffic shapers Vinicius Costa Gomes
2017-09-01 1:26 ` [RFC net-next 1/5] net/sched: Introduce the user API for the CBS shaper Vinicius Costa Gomes
2017-09-01 1:26 ` [RFC net-next 2/5] net/sched: Introduce Credit Based Shaper (CBS) qdisc Vinicius Costa Gomes
2017-09-08 13:43 ` Henrik Austad
2017-09-14 0:39 ` Vinicius Costa Gomes
2017-09-01 1:26 ` [RFC net-next 3/5] igb: Add support for CBS offload Vinicius Costa Gomes
2017-09-01 1:26 ` [RFC net-next 4/5] sample: Add TSN Talker and Listener examples Vinicius Costa Gomes
2017-09-01 1:26 ` [RFC net-next 5/5] samples/tsn: Add script for calculating CBS config Vinicius Costa Gomes
2017-09-01 13:03 ` [RFC net-next 0/5] TSN: Add qdisc-based config interfaces for traffic shapers Richard Cochran
2017-09-01 16:12 ` Jesus Sanchez-Palencia
2017-09-01 16:53 ` Richard Cochran
2017-09-05 7:20 ` Richard Cochran
2017-09-07 5:34 ` Henrik Austad
2017-09-07 12:40 ` Richard Cochran
2017-09-07 15:27 ` Henrik Austad
2017-09-07 15:53 ` Richard Cochran
2017-09-07 16:18 ` Henrik Austad
2017-09-07 21:51 ` Guedes, Andre
2017-09-07 19:58 ` Guedes, Andre
2017-09-08 6:06 ` Henrik Austad
2017-09-08 1:29 ` Vinicius Costa Gomes
2017-09-12 4:56 ` Richard Cochran
2017-09-18 8:02 ` Richard Cochran
2017-09-18 11:46 ` Henrik Austad
2017-09-18 23:06 ` Vinicius Costa Gomes
2017-09-19 5:22 ` Richard Cochran
2017-09-19 13:14 ` Henrik Austad
2017-09-20 0:19 ` Vinicius Costa Gomes
2017-09-20 5:25 ` Richard Cochran [this message]
2017-10-18 22:37 ` Jesus Sanchez-Palencia
2017-10-19 20:39 ` Richard Cochran
2017-10-23 17:18 ` Jesus Sanchez-Palencia
2017-09-20 5:58 ` Richard Cochran
2017-09-18 8:12 ` Richard Cochran
2017-09-20 5:17 ` TSN Scorecard, was " levipearson
2017-09-20 5:49 ` Richard Cochran
2017-09-20 21:29 ` Jesus Sanchez-Palencia
2017-09-20 1:59 ` levipearson
2017-09-20 5:56 ` Richard Cochran
-- strict thread matches above, loose matches on Subject: below --
2017-09-29 20:44 Rodney Cummings
2017-10-02 18:45 ` Levi Pearson
2017-10-02 19:40 ` Rodney Cummings
2017-10-02 21:48 ` Levi Pearson
2017-10-02 22:52 ` Rodney Cummings
2017-10-02 23:06 ` Guedes, Andre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170920052558.h6c4lkqmzk2h2pdq@localhost \
--to=richardcochran@gmail.com \
--cc=andre.guedes@intel.com \
--cc=boon.leong.ong@intel.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=ivan.briano@intel.com \
--cc=jesus.sanchez-palencia@intel.com \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=netdev@vger.kernel.org \
--cc=vinicius.gomes@intel.com \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).