Thank you for providing this plugin! I've been using it with a Realtek RTL8125 card since Unraid 6.12.10 and have found that the following settings in /etc/modprobe.d/r8125.conf give me 2.5 Gbit/s transfer speeds while achieving power states up to C6:
options r8125 aspm=1
options r8125 eee_enable=0
Unraid 6.12 was still using Linux kernel 6.1 and the last plugin version I see in my list is from 2024.04.04. The changelog for this date says "Bump version to 9.013.02" (which matches the text on GitHub).
I updated to Unraid 7 (Kernel 6.6.68) and according to "System Drivers" it loaded driver r8125 (9.014.01-NAPI-RSS) with state "Custom". This matches r8125.ko.xz, located in /lib/modules/6.6.68-Unraid/kernel/drivers/net/ethernet/realtek. This is the same file as in https://github.com/jinlife/unraid-r8125-r8152-driver/releases/tag/6.6.68-Unraid. Hence, Unraid is using the correct version for Kernel 6.6.68.
However, I'm a bit confused that the plugin hasn't been updated since 2024.04.04. Is the plugin version unrelated to the used driver version? // EDIT: My bad, this was already answered here: