From f93545e1939d63d3b51ce34199d4bfedf64b79b5 Mon Sep 17 00:00:00 2001 From: Mel Date: Tue, 17 Mar 2026 00:43:15 +0100 Subject: Fix RTL8125 networkd link configuration override match config and naming Signed-off-by: Mel --- machines/wolfram/devices.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'machines') diff --git a/machines/wolfram/devices.nix b/machines/wolfram/devices.nix index df65f76..21860a7 100644 --- a/machines/wolfram/devices.nix +++ b/machines/wolfram/devices.nix @@ -86,8 +86,13 @@ # we disable most forms of offloading to the chip here, instead handling them # in our own kernel. this fixes most of the issues. links."10-rtl8125-hardware-offloading" = { - matchConfig.Name = "enp7s0"; + matchConfig.Driver = "r8125"; # match by driver to prevent udev renaming issues linkConfig = { + # keep naming behavior consistent with defaults + NamePolicy = "keep kernel database onboard slot path"; + MACAddressPolicy = "persistent"; + + # kill hardware offloading for this chipset ReceiveChecksumOffload = false; # rx off TransmitChecksumOffload = false; # tx off TCPSegmentationOffload = false; # tso off -- cgit 1.4.1