summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/wolfram/devices.nix7
1 files changed, 6 insertions, 1 deletions
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