HEV

RK3399: Tune ethernet irq affinity

· hev

Handle interrupts of ethernet device on high performance cpus.

/etc/systemd/system/irq-eth0.service:

[Unit]
Description=IRQ SMP Affinity
After=network.target

[Service]
Type=oneshot
ExecStart=/usr/bin/bash -c 'echo 4-5 > /proc/irq/31/smp_affinity_list'

[Install]
WantedBy=multi-user.target