All of lore.kernel.org
 help / color / mirror / Atom feed
* Question regarding RTnet Ethernet Driver with PCIe MSI interrupts
@ 2021-08-05 17:09 Reed, Scott
  2021-08-17 13:36 ` Reed, Scott
  0 siblings, 1 reply; 8+ messages in thread
From: Reed, Scott @ 2021-08-05 17:09 UTC (permalink / raw)
  To: xenomai

Hello,

About a year ago, I ported an Ethernet driver we use to be an RTnet
driver. In general everything is working, but we have run into a
recent problem which looks like it might be being caused by high
Ethernet receive interrupt latencies.

The Ethernet interrupts come in as PCIe MSI interrupts and I
implemented the potentially creative but bad solution of
modifying the PCIe driver to distribute the MSI interrupts
to i-ipipe be replacing the call to "generic_handle_irq" with
a call to "ipipe_handle_demuxed_irq".

I am thinking that this was maybe not the best approach and the
correct solution would be to modify the PCIe driver so that the
original MSI interrupt is an RTDM interrupt as if it is not
this could be causing the high interrupt latencies.

Is my thinking in the right direction or completely off?

Background information
--------------------------------
Processor: i.MX 6 Quad
Linux 4.14.62
Xenomai 3.0.7

Thanks in advance for any advice.

Regards,

Scott



Hinweis auf Vertraulichkeit: Diese elektronisch übermittelte Nachricht ist nur für die natürliche oder juristische Person bestimmt, die als Empfänger genannt ist; sie kann vertrauliche Informationen oder Betriebsgeheimnisse enthalten, die Eigentum des Absenders sind. Für den Fall, dass Sie nicht der genannte Empfänger sind, ist Ihnen jede Offenlegung, Verwendung, Vervielfältigung oder Weiterleitung des Inhalts dieser Informationen streng untersagt. Dasselbe gilt für alle Handlungen, die sich auf den Inhalt dieser Informationen gründen. Falls Sie diese Nachricht irrtümlicherweise erhalten haben, bitten wir Sie, den Absender umgehend per E-Mail darüber in Kenntnis zu setzen und die ursprüngliche Nachricht zu löschen. Wir danken Ihnen für Ihre Kooperation.

Confidentiality Notice: This electronic mail transmission is intended for the use of the individual or entity to which it is addressed and may contain confidential and/or proprietary information belonging to the sender. If you are not the intended recipient, you are hereby notified that any disclosure, use, copying, distribution, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this transmission in error, please notify the sender immediately by e-mail and delete the original message. Thank you for your cooperation.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-08-23 10:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 17:09 Question regarding RTnet Ethernet Driver with PCIe MSI interrupts Reed, Scott
2021-08-17 13:36 ` Reed, Scott
2021-08-17 20:01   ` Jeroen Van den Keybus
2021-08-18  6:21     ` Jan Kiszka
2021-08-18 10:15       ` [EXTERNAL] " Reed, Scott
2021-08-18 11:49         ` Jan Kiszka
     [not found]           ` <98779fb158c14f0d968be1f9441aad45@debo1svwi003091.corp.mooginc.com>
2021-08-23  8:59             ` Scott Reed
2021-08-23 10:27               ` Jan Kiszka

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.