From: Richard Cochran <richardcochran@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [RFC 0/1] Class driver for raw Ethernet packets
Date: Tue, 27 Sep 2011 19:00:13 +0200 [thread overview]
Message-ID: <20110927170012.GA6057@domain.hid> (raw)
In-Reply-To: <4E81F944.3070200@domain.hid>
On Tue, Sep 27, 2011 at 06:26:44PM +0200, Jan Kiszka wrote:
> On 2011-09-27 18:05, Richard Cochran wrote:
>
> That's a common misunderstanding: RTnet is a networking stack with many
> _optional_ components (like RTmac, RTcfg etc.). I would bet that it's
> more frequently used today in minimal setups, i.e. just the core, some
> driver, and either PF_PACKET or UDP/IP.
I understood about the modular design, but I really want to know if
rtnet will help me if I want to use of the industrial Ethernet
protocols. AFAICT, rtnet really doesn't offer these.
So I'll ask the direct question once again. Does rtnet help me with
industrial Ethernet (apart from the rtnet protocols), or not?
> > Unless rtnet implements (or helps to implement) these, it is kind of
> > silly to say, "your way won't work, you should use rtnet instead."
> >
> > I don't know PowerLink or Profinet, but I do know EtherCAT and IEC
> > 61850, and those two can surely be implemented on the interface that I
> > am talking about.
>
> It works, but it won't give you a deterministic control loop as you
> still have Linux in the game.
It really depends on how the driver is written. While my gianfar
example does make use of normal Linux driver interrupts, it would not
necessarily have to do so.
> I was simply hoping to collect some new ideas how to address the driver
> maintenance issue in a better way but without dropping key features
> needed for RT networking. Something like "let's add generic RT channels
> to Linux upstream drivers and then only patch them fit RTDM". Not sure
> if that works, but it would come with a vision how to keep things more
> maintainable.
Well, can you turn the issue around and convince me that writing a
rtnet driver is the best way to acheive raw Ethernet packet access?
You talk about the rtnet driver model, but is it described anywhere?
(BTW rtnet/Documentation/README.drvporting is horrible. It is just a
random list of 40+ odd points without any sense. That document gave me
the impression that developing an rtnet driver is a kind of extended
"hack until it starts working.")
Thanks,
Richard
next prev parent reply other threads:[~2011-09-27 17:00 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-23 11:02 [Xenomai-core] [RFC 0/1] Class driver for raw Ethernet packets Richard Cochran
2011-09-23 11:02 ` [Xenomai-core] [RFC 1/1] Add a class " Richard Cochran
2011-09-23 11:27 ` [Xenomai-core] [RFC 0/1] Class " Richard Cochran
2011-09-23 13:34 ` Peter Soetens
2011-09-23 13:50 ` Jan Kiszka
2011-09-26 11:41 ` Richard Cochran
2011-09-27 8:26 ` Jan Kiszka
2011-09-27 12:01 ` Richard Cochran
2011-09-27 12:20 ` Jan Kiszka
2011-09-27 15:10 ` Richard Cochran
2011-09-27 15:16 ` Jan Kiszka
2011-09-27 16:05 ` Richard Cochran
2011-09-27 16:26 ` Jan Kiszka
2011-09-27 16:30 ` Jan Kiszka
2011-09-27 17:04 ` Richard Cochran
2011-09-27 17:25 ` Jan Kiszka
2011-09-27 17:00 ` Richard Cochran [this message]
2011-09-27 17:25 ` Jan Kiszka
2011-09-28 8:16 ` Richard Cochran
2011-09-28 8:29 ` Jan Kiszka
2011-09-27 18:02 ` Gilles Chanteperdrix
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=20110927170012.GA6057@domain.hid \
--to=richardcochran@domain.hid \
--cc=jan.kiszka@domain.hid \
--cc=xenomai@xenomai.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.