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

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

    Comments

    Be the first to comment!

    Similar Projects

    Out-of-the-box SPD support by jdelvare

    In order to see the SPD (detailed memory inform...


    netlink interface for ethtool by mkubecek

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


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

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


    perf-bench ipc by dbueso

    The state of the art of sysv/posix ipc benchmar...


    Investigate C-Sky architecture by a_faerber

    The youngest architecture addition to the mainl...


    netlink interface for ethtool by mkubecek

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


    DPHAT: Data Plane Health Assessment Tool For Cloud Networking Technology by rtidwell

    A common challenge for OpenStack and K8S deploy...


    netlink interface for ethtool by mkubecek

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


    Dudenetes by pgeorgiadis

    ![alt text](https://dudeism.com/wp-content/uplo...


    Make "salt-toaster" available to be used outside SUSE by PSuarezHernandez

    The salt-toaster (https://github.com/openSUSE...


    Controlling and Testing the YaST UI Remotely (for Integration Tests, openQA) by lslezak

    Hackweek 18 Update

    What Has Been Done ...