armbian_build/packages/bsp/odroid/90-builtin-net-rps.rules
Hugh Cole-Baker beef42c6ef [ odroid xu4 ] use udev rules to set ethernet rps
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.
2018-12-23 13:09:56 +00:00

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"