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

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

  • Comments

    Be the first to comment!

    Similar Projects

    Rust in linux kernel by dsterba

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


    Setup A Linux Cross Referencer for SUSE kernels by tdz

    Project Description

    There's [Elixir](http...


    Modular kernel packaging by mwilck

    Project Description

    Create a PoC for a mo...


    early stage kdump support by mbrugger

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


    Nanos Unikernel by rpalethorpe

    Project Description

    Nanos is a "unikernel...


    grog by gbaccini

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


    Use ESP-01S as WiFi to UART bridge by iivanov

    Project Description

    Currently with just ...


    Add GObject based introspectable API to libzypp by zbenjamin

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


    web-based testing tracker for aquarist-labs's s3gw by jluis

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


    Testing and adding GNU/Linux distributions on Uyuni by juliogonzalezgil

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


    Blog about our ScummVM Freeware games packages by sndirsch

    Blog about ScummVM Freeware games of our open...