This can be seen as a subproject of ethtool netlink interface but from the technical view it's independent.

Every new piece of software is going to be buggy and with frequent changes and rewrites, new regressions are introduced. Automated selftests can help a lot but as ethtool deals with hardware devices, we do not want these tests to depend on a specific hardware. The netdevsim driver was created as a virtual device which (unlike e.g. dummy) cannot be used for actual network traffic but implements various configuration interfaces so that it can be used for their (automated) testing.

Currently (June 2019, before Hackweek 18), netdevsim driver does not provide ethtool_ops callbacks so that it cannot be used with ethtool.

The goal is to implement at least basic ethtool_ops callbacks so that netdevsim can be used for automated testing of both kernel ethtool code and userspace ethtool utility. Ideally, use could set internal values used for replies so that various corner cases can be also tested.

Looking for mad skills in:

kernel networking c testing

This project is part of:

Hack Week 18

Activity

  • 7 months ago: mkubecek added keyword "testing" to ethtool ops for netdevsim
  • 7 months ago: mkubecek started ethtool ops for netdevsim
  • 7 months ago: mkubecek added keyword "c" to ethtool ops for netdevsim
  • 7 months ago: mkubecek added keyword "networking" to ethtool ops for netdevsim
  • 7 months ago: mkubecek added keyword "kernel" to ethtool ops for netdevsim
  • Show History

    Comments

    Be the first to comment!

    Similar Projects

    Upstreaming of mediatek helios board by mbrugger

    The only Mediatek "hacker" board available is f...


    work on sunxi a64 cpufreq driver (for teres-1, pine64) by mbrugger

    With the teres-1 [1] laptop we have a first arm...


    Help with mainline support for the Mediatek chromebook (MT8173 based) by mbrugger

    Lately the necessary patches to get rudimentary...


    openSUSE/SLE/Mainline U-boot for some not-yet-supported ARM64 boards by ldevulder

    The Khadas VIM (http://khadas.com/vim/) is an a...


    Improving picotm by tdz

    Picotm is a system-level transaction manager. I...