[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <236b4f44-70a0-834e-441b-cd50eb3c0051@gmail.com>
Date: Tue, 11 Aug 2020 21:18:30 -0600
From: David Ahern <dsahern@...il.com>
To: Eric Dumazet <edumazet@...gle.com>,
"David S . Miller" <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Eric Dumazet <eric.dumazet@...il.com>,
Maciej Żenczykowski <maze@...gle.com>,
Alex Belits <abelits@...vell.com>,
Nitesh Narayan Lal <nitesh@...hat.com>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH net] net: accept an empty mask in
/sys/class/net/*/queues/rx-*/rps_cpus
On 8/11/20 9:16 PM, David Ahern wrote:
> On 8/11/20 7:34 PM, Eric Dumazet wrote:
>> We must accept an empty mask in store_rps_map(), or we are not able
>> to disable RPS on a queue.
>
> 0 works. Is that not sufficient?
>
To re-phrase:
echo 0 > /sys/class/net/*/queues/rx-*/rps_cpus
works to disable rps. I don't get the difference in what you are
changing here.
Powered by blists - more mailing lists