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 5 years ago: mkubecek added keyword "testing" to this project.
  • almost 5 years ago: mkubecek started this project.
  • almost 5 years ago: mkubecek added keyword "kernel" to this project.
  • almost 5 years ago: mkubecek added keyword "networking" to this project.
  • almost 5 years ago: mkubecek added keyword "c" to this project.
  • almost 5 years ago: mkubecek originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    Model checking the BPF verifier by shunghsiyu

    Project Description

    BPF verifier plays a ...


    early stage kdump support by mbrugger

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


    Authenticated hashes for BTRFS by dsterba

    Project Description

    Implement a checksum ...


    Exploring DPDK within containers by paolodepa

    Project Description

    Containerization is h...


    Vulkan Widget for GTK by yudaike

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


    The Missing Middle: Add an intermediate brightness setting for auxiliary LEDs in Andúril 2 by gkenion

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


    Avahi Integration and Network Connection by vojha

    Avahi Integration and Network Connection

    ...


    Extend GObject based introspectable API to libzypp by zbenjamin

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


    Extract generic testing framework from Linux Test Project code base by acervesato

    Project Description

    The Linux Test Projec...