mirror of
https://github.com/armbian/build.git
synced 2025-08-14 07:06:58 +02:00
In Debian Stretch, among others, udev's "predictable interface naming" has been adopted, meaning the onboard ethernet is no longer named eth0, instead it's "enx00..(mac address bytes)..". Use a udev rule to apply the RPS settings instead of /sys/class/net/eth0/... which no longer exists.
6 lines
237 B
Plaintext
6 lines
237 B
Plaintext
# Set up receive packet steering for builtin ethernet
|
|
ACTION=="add", SUBSYSTEMS=="usb", SUBSYSTEM=="net", \
|
|
ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="8153", \
|
|
ATTR{queues/rx-0/rps_cpus}="7", ATTR{queues/rx-0/rps_flow_cnt}="32768"
|
|
|