This repo contains the tn40xx Linux driver for 10Gbit NICs based on the TN4010 MAC from the (now defunct) Tehuti Networks.
This driver enables the following 10Gb SFP+ NICs:
... as well as the following 10GBase-T/NBASE-T NICs:
This repo aims to:
The older TN3020-D (Luxor) processor has a mainline Linux driver, but that driver doesn't support the TN40xx (Bordeaux) devices.
If you have a NIC that combines the tn40xx MAC with a Marvell PHY, you will have to go on a quest to obtain the firmware for the PHY. It cannot be distributed or supported by this driver, because Marvell has not permitted redistribution of the firmware.
lspci -vnn
will output something like this:
0a:00.0 Ethernet controller [0200]: Tehuti Networks Ltd. TN9210 10GBase-T Ethernet Adapter [1fc9:4024]
Subsystem: Tehuti Networks Ltd. Device [1fc9:3015]
In the example above, 0x1fc9 is the Vendor ID and 0x4024 is the Device ID. 0x3015 is the Subsystem Device ID.
The problematic devices are identified by these combinations of Device ID and Subsystem Device ID:
Occasionally people ask for help with old kernels, or kernels based on Enterprise Linux distributions. Unfortunately, this is something that is difficult for me (Andrew) to help with. I haven't got the time, and I believe that Enterprise Linux vendors should be providing this support, and be paid for it. Please seek help from the vendor of the Enterprise Linux distribution, or consider whether your needs and interests may be better aligned with an up-to-date community-supported distribution.
While upstreaming is the ultimate goal of this project, some systems already rely on this driver. For such systems, DKMS provides a convenient way to install and update the driver, See DKMS instructions.
This repo contains several long-lived branches. You may have to look around for support for the kernel version and PHY that you have.
release/linux-6.7.y-1
--> 6.7.x <= Linuxrelease/linux-6.6.y-1
--> 6.6.x <= Linux < 6.8release/tn40xx-006
--> 5.15.x <= Linux < 6.8release/tn40xx-004
--> 5.4 < Linux < 5.15release/tn40xx-003
--> Linux <= 5.4vendor-drop/v0.3.6.17
More detail on branching in described in the documentation.
To the following people who have contributed to this project - thank you!
A tn40xx driver was distributed by Tehuti Networks under GPLv2 license, as well as various OEM vendors, like those listed above.
The last release of the driver by Tehuti Networks was version 0.3.6.17.2, imported to this repo in commit 894992c904a6b0e99 on Jan 7 2020.
On Jan 9 2020 a message was posted to Tehuti Networks' LinkedIn page, announcing that it has ceased operations.
The original source releases have been preserved in unmodified state in the vendor-drop/
branches.
This repo does not claim any copyright over the original Tehuti Networks source code, but it has been significantly modified and continues to evolve and hopefully improve.