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

  • 3 months ago: mkubecek added keyword "testing" to ethtool ops for netdevsim
  • 3 months ago: mkubecek started ethtool ops for netdevsim
  • 3 months ago: mkubecek added keyword "c" to ethtool ops for netdevsim
  • 3 months ago: mkubecek added keyword "networking" to ethtool ops for netdevsim
  • 3 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...


    perf-bench ipc by dbueso

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


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

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


    netlink interface for ethtool by mkubecek

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


    Investigate C-Sky architecture by a_faerber

    The youngest architecture addition to the mainl...


    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...


    netlink interface for ethtool by mkubecek

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


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

    Hackweek 18 Update

    What Has Been Done ...


    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...