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

  • almost 2 years ago: mkubecek added keyword "testing" to this project.
  • almost 2 years ago: mkubecek started this project.
  • almost 2 years ago: mkubecek added keyword "kernel" to this project.
  • almost 2 years ago: mkubecek added keyword "networking" to this project.
  • almost 2 years ago: mkubecek added keyword "c" to this project.
  • almost 2 years ago: mkubecek originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    Separate kernel module signature to a independent file by joeyli

    [comment]: # (Please use the project descriptio...


    Test mainline kernel on an older Qualcomm SOC (msm89xx), explore current Qualcomm mainlining kernel effort by pvorel

    Project Description

    Qualcomm concentrate ...


    DRM driver for USB-based SiS graphics cards by tdz

    Back in the late 90s to early 2000s, SiS graphi...


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

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


    multithreaded network benchmark by mkubecek

    Project Description

    There are multiple ne...


    Test drive some Kubernetes network plugins by doreilly

    [comment]: # (Please use the project descriptio...


    Get familiar with moodle.opensuse.org by creating the training "Network basics" by mstrigl

    Create a course in moodle.opensuse.org

    Mo...


    Sharing logic between desktop and web based applications through WASM by IGonzalezSosa

    Project Description

    A few months ago, the...


    multipath-tools: improve CI by mwilck

    Project Description

    multipath-tools is ...


    Phoebe - where AI meets Linux by mvarlese

    Project Description

    Phoeβe (/ˈfiːbi/) wan...


    multithreaded network benchmark by mkubecek

    Project Description

    There are multiple ne...


    NeoMutt: Show index and body of emails in a horizontal split by iivanov

    [comment]: # (Please use the project descriptio...


    multipathd: improve asynchronous behavior by mwilck

    Project Description

    multipathd is multi...


    Semi-automated XMLRPC based tool for uyuni testing written in Rust language by lkotek

    [comment]: # (Please use the project descriptio...


    Testing and adding GNU/Linux distributions on Uyuni by juliogonzalezgil

    Join the Gitter channel! [https://gitter.im/uy...