What the review of e1000e covered
An appendix to the milestone.
The reviewer verified these firsthand, in a fresh clone on a Linux host with Rust 1.99.1:
cargo buildfor the host and foraarch64-unknown-none-softfloat,riscv64imac-unknown-none-elfandx86_64-unknown-none: all four build clean.cargo test: 67 unit tests and 2 doctests pass.cargo clippy --all-targetsreports no warning,cargo docwith warnings as errors is clean, andcargo deny checkpasses advisories, bans, licenses and sources (one unmatched allowance,Zlib, is a note, not a failure).cargo kani(Kani 0.68.0, CBMC 6.11.0): 3 of 3 harnesses verify. With all three falsification patches applied in a copy, 3 of 3 fail, each at the assertion its patch header names.cargo mutantsoversrc/data_plane.rsandsrc/descriptor.rs(100 mutants): 82 caught, 7 missed, 7 unviable, 4 timeouts. The tests catch every mutant indata_plane.rsor time it out. The 7 survivors are all OR-to-XOR swaps indescriptor.rsthat the compile-time assertions beside them argue are equivalent.- The GitHub state of the repository: no tag, no release, two merged pull requests, no issue.
checkandproofspass onmain. The latestweeklyrun failed in two jobs (stranger cadenceandmutation), and its five mutation shards reported 82 missed, 711 caught, 27 unviable and 4 timeouts in all. - Every register offset and bit constant, against FreeBSD's
e1000_regs.h,e1000_defines.h,e1000_ich8lan.handif_em.hand Linux'sregs.handdefines.has the reviewer knows them. The full I219 sequences, against FreeBSDmain'se1000_ich8lan.c,e1000_phy.c,e1000_mac.candif_em.c, fetched for the purpose. No offset or bit is wrong. The write of the PCI vendor id to the read-onlySTRAPregister around the global reset looks like an invention; it is FreeBSD's own (e1000_reset_hw_ich8lan). The 2.5 second wait on the Management Engine and the ten-second flash cycle bound are FreeBSD's values.
Inferred, not verified: the behavior of any sequence on silicon, and the effect of the register writes the port omits (P1-2).
Not run: anything on hardware or under QEMU, the stranger test, cargo-semver-checks (no baseline
tag exists), a full mutation run outside the two files above, Miri (the weekly job ran it green),
and the release workflow of the template. The reviewer pushed, tagged, branched and opened
nothing in the repository.
Effort sizes: S is an hour, M a day, L more, or a bench.