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 (February 2020, before Hackweek 19), 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 hackers with the skills:

kernel networking c testing

This project is part of:

Hack Week 18 Hack Week 19

Activity

  • about 1 year ago: mkubecek added keyword "testing" to ethtool ops for netdevsim
  • about 1 year ago: mkubecek started ethtool ops for netdevsim
  • about 1 year ago: mkubecek added keyword "kernel" to ethtool ops for netdevsim
  • about 1 year ago: mkubecek added keyword "networking" to ethtool ops for netdevsim
  • about 1 year ago: mkubecek added keyword "c" to ethtool ops for netdevsim
  • about 1 year ago: mkubecek originated ethtool ops for netdevsim

  • Comments

    Be the first to comment!

    Similar Projects

    Mainline Sunplus Plus1 SP7021 kernel for Banana Pi F2S by a_faerber

    The recent Banana Pi BPI-F2S board features a n...


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

    Lately the necessary patches to get rudimentary...


    netlink interface for ethtool by mkubecek

    There seems to be an overall consensus that the...


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

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


    Upstreaming of mediatek helios board by mbrugger

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


    Give avahi some love by e_bischoff

    Avahi is (among others) a domain names auto-con...


    Integrate Firecracker (microVMs) with a Cloud Foundry app runtime scheduler by tassis

    Description

    [Firecracker](https://firecrac...


    Hammer an Envoy service mesh onto a SAP S4/HANA landscape and watch everything explode. by STorresi

    Although CNCF projects are almost exclusively r...


    make "predictable network interface names" more predictable by mkubecek

    Since the so-called "predictable names" for net...


    netlink interface for ethtool by mkubecek

    There seems to be an overall consensus that the...


    netlink interface for ethtool by mkubecek

    There seems to be an overall consensus that the...


    make "predictable network interface names" more predictable by mkubecek

    Since the so-called "predictable names" for net...


    dmidecode: no more open-coded printfs by jdelvare

    There's a long standing request to extend the o...


    Improving picotm by tdz

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


    libuitest - a generic GUI testing library by dancermak

    Testing GUIs is hard: unit tests require a ...


    Testing GNU/Linux distributions on Uyuni by juliogonzalezgil

    Join the rocket chat channel! [https://chat.su...


    labgrid: add support for sispmctl and remote ykush access by mbrugger

    labgrid [0] is an embedded board control python...