Re: [PATCH net-next] net: rps: don't skip offline cpus when set rps_cpus

2017-05-15 Thread David Miller
From: Liping Zhang Date: Mon, 15 May 2017 20:55:52 +0800 > From: Liping Zhang > > On our 4-core system, sometimes I can enable all CPUs to process packets. > But sometimes I can't, if all the CPUs become offline except core 0, I > will get the following result, which is really annoying for my s

[PATCH net-next] net: rps: don't skip offline cpus when set rps_cpus

2017-05-15 Thread Liping Zhang
From: Liping Zhang On our 4-core system, sometimes I can enable all CPUs to process packets. But sometimes I can't, if all the CPUs become offline except core 0, I will get the following result, which is really annoying for my script: # echo f > /sys/class/net/eth0/queues/rx-0/rps_cpus # cat /s