[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B4FA935.9080902@hp.com>
Date: Thu, 14 Jan 2010 15:31:01 -0800
From: Rick Jones <rick.jones2@...com>
To: Stephen Hemminger <shemminger@...tta.com>
CC: Tom Herbert <therbert@...gle.com>, davem@...emloft.net,
netdev@...r.kernel.org
Subject: Re: [PATCH v5] rps: Receive Packet Steering
>>The CPU masks is set on a per device basis in the sysfs variable
>>/sys/class/net/<device>/rps_cpus. This is a set of canonical bit maps for
>>each NAPI nstance of the device. For example:
>>
>>echo "0b 0b0 0b00 0b000" > /sys/class/net/eth0/rps_cpus
>
>
> Why not make a kobject out of cpus which would add subdirectory.
> This would keep interface consistent with the one value per file
> semantic of sysfs.
Perhaps a question of po-tay-toe vs po-tah-toe, but which will be easier to deal
with for say 128 or 256 "CPUs?"
rick jones
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists