vyos has supported RPS for a long time, but sometimes it is better to have RFS with RPS
sysctl -w net.core.rps_sock_flow_entries=32768 echo 32768/N > /sys/class/net/eth5/queues/rx-0/rps_flow_cnt
N: Usually should be the number of queues
vyos has supported RPS for a long time, but sometimes it is better to have RFS with RPS
sysctl -w net.core.rps_sock_flow_entries=32768 echo 32768/N > /sys/class/net/eth5/queues/rx-0/rps_flow_cnt
N: Usually should be the number of queues
I re-reviewed this PR and the following commit from @c-po
https://github.com/vyos/vyos-1x/commit/3e24e673537c0ae59a1d1012f9b70920294caba2
Apparently I've always felt like there was a problem somewhere, and now, I know, it introduced a bug if the following commit existed:
set interfaces ethernet eth0 offload rfs set interfaces ethernet eth1 offload rfs commit del interfaces ethernet eth1 offload rfs commit
For the local rfs of the device, the reset is successful, but it also erases the setting information of the global rfs table, and eth0 is still starting the rfs
I'll make a fix PR in the future