Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

Linux driver for Low Latency Ethernet 10G MAC

Hi everyone!

I want to know about linux driver for "Low Latency Ethernet 10G MAC".

https://www.altera.com/en_us/pdfs/literature/ug/ug_32b_10g_ethernet_mac.pdf

Is there any linux driver for Low Latency Ethernet 10G MAC?

I could be able find the TSE linux driver (Altera Triple-Speed Ethernet MAC driver) in kernel.org v3.15 source.

I would like to know whether this driver can use for Low Latency Ethernet 10G MAC?

I would really appreciate, If you let me know any information related to the linux driver of "Low Latency Ethernet 10G MAC".

Thanks,

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm not aware of a driver that exists already. You can take the TSE driver and adapt it though (it won't work out-of-the-box).

    The main things you'd need to adjust are:

    - the MAC control/status register map

    - comment out MDIO stuff

    - other things depending on what options you enable for the LL MAC
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Did you guys ever find a driver (or modify the TSE one to work)? I am looking for the same thing for my Arria10 Linux build. The 10G MAC (not the low latency one) is used in AN739 (IEEE-1588) reference design - but there is no source with it...only binary SD card image. The LL MAC can be built with legacy 10G MAC capability which should make the changes to the LL one minimal. If it exists for AN739 - it must be written already (albeit maybe with bugs so says my one Altera support person). But I have had no success getting it yet (or the Device Tree Source for it).