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

    early stage kdump support by mbrugger

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


    Model checking the BPF verifier by shunghsiyu

    Project Description

    BPF verifier plays a ...


    Authenticated hashes for BTRFS by dsterba

    Project Description

    Implement a checksum ...


    Exploring DPDK within containers by paolodepa

    Project Description

    Containerization is h...


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

    Project Description

    The Linux Test Projec...


    Avahi Integration and Network Connection by vojha

    Avahi Integration and Network Connection

    ...


    Deep Packet Inspection: compare the performance between libnetfilter_queue, NF_HOOK and eBPF XDP by nguyens

    Deep Packet Inspection: compare the performan...


    Extend GObject based introspectable API to libzypp by zbenjamin

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


    80-bit floats support on x86_64 for Valgrind by mfranc

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