What's the difference between the drivers r8169 and r8168?

8,257

The r8168 driver is a classical vendor-provided out-of-tree driver, with all the benefits and problems that come with it.

The Linux r8169 driver comes with your distribution kernel, has much broader hardware support, but is possibly slower to adapt for new hardware. On the other hand, it’s supported by the kernel people, who have rejected r8168 on the grounds that r8169 also drives all hardware supported by r8168, and if not, it gets fixed. (We have hardware that needed r8168 once, but now works with off-the-shelf r8169 distro kernels, so this is true.)

Share:
8,257

Related videos on Youtube

Lekensteyn
Author by

Lekensteyn

Arch Linux user, open-source enthusiast, programmer, Wireshark developer, TRU/e Security master student at TU/e. Interests: network protocols, Linux kernel, server administration, Android, breaking & fixing stuff.

Updated on September 18, 2022

Comments

  • Lekensteyn
    Lekensteyn over 1 year

    Realtek provides the source code for the r8168 driver which is based on the r8169 driver from the kernel tree if I may believe their source:

    /*
     * This driver is modified from r8169.c in Linux kernel 2.6.18
     */
    

    Both are GPL licensed, so source code may be exchanged with no legal issues. That's why I find it rather strange that Realtek maintains a separate driver with no changelogs or documentation.

    What's the difference for the end user? Which driver is recommended?

  • mirabilos
    mirabilos almost 10 years
    @Det sorry I don't save such links for later recall, I'd have to look just the same as you need to.