All of lore.kernel.org
 help / color / mirror / Atom feed
* rt_e1000e on i.mx6 platform
@ 2019-09-30 10:24 Andreas Glatz
  2019-09-30 12:23 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Glatz @ 2019-09-30 10:24 UTC (permalink / raw)
  To: xenomai

Hi

I've been trying to get an Intel PCIE network card working under Xenomai on
the phyflex i.mx6 platform (phyflex i.mx6 SOM in the phyflex eval board).

The network card works well with the Linux e1000e driver (legacy
interrupts) on this hardware. However, when I switch to the rt_e1000e
driver (legacy interrupts) it does not work so well.

I looked at the Ethernet frames that are being sent out from the network
card with Wireshark on a different PC and can see that all the frames are
have additional bytes (typically 2 bytes) inserted at the front of the
Ethernet frame. Obviously, then the Ethernet frames are messed up and never
received on the other end.

I tested the rt_e1000e driver on an Intel box (MSI-X interrupts), and again
it works quite well.

So I think it might have something to do with the PCIE bus on i.mx6....

My legacy configuration is: Linux 3.0.43, Xenomai 2.6.4, ipipe 1.18-13,
rtnet 0.9.1

I also tried it with Linux 4.9 and latest Xenomai 3 & ipipe - with the same
results.

Any clues how to get rt_e1000e driver working on my i.mx6 platform?

Cheers,

Andreas

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

* Re: rt_e1000e on i.mx6 platform
  2019-09-30 10:24 rt_e1000e on i.mx6 platform Andreas Glatz
@ 2019-09-30 12:23 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2019-09-30 12:23 UTC (permalink / raw)
  To: Andreas Glatz, xenomai

On 30.09.19 12:24, Andreas Glatz via Xenomai wrote:
> Hi
> 
> I've been trying to get an Intel PCIE network card working under Xenomai on
> the phyflex i.mx6 platform (phyflex i.mx6 SOM in the phyflex eval board).
> 
> The network card works well with the Linux e1000e driver (legacy
> interrupts) on this hardware. However, when I switch to the rt_e1000e
> driver (legacy interrupts) it does not work so well.
> 
> I looked at the Ethernet frames that are being sent out from the network
> card with Wireshark on a different PC and can see that all the frames are
> have additional bytes (typically 2 bytes) inserted at the front of the
> Ethernet frame. Obviously, then the Ethernet frames are messed up and never
> received on the other end.
> 
> I tested the rt_e1000e driver on an Intel box (MSI-X interrupts), and again
> it works quite well.
> 
> So I think it might have something to do with the PCIE bus on i.mx6....
> 
> My legacy configuration is: Linux 3.0.43, Xenomai 2.6.4, ipipe 1.18-13,
> rtnet 0.9.1
> 
> I also tried it with Linux 4.9 and latest Xenomai 3 & ipipe - with the same
> results.
> 
> Any clues how to get rt_e1000e driver working on my i.mx6 platform?
> 

I would recommend to do register dumps of working and non-working setups and 
compare them.

Leading bytes... VLAN tags? Maybe have a specific look at related registers.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux


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

end of thread, other threads:[~2019-09-30 12:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-30 10:24 rt_e1000e on i.mx6 platform Andreas Glatz
2019-09-30 12:23 ` 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.