[PATCH v3 2/2] iproute2: add support for cpu set

Arınç ÜNAL arinc.unal at arinc9.com
Mon Feb 21 04:27:19 PST 2022


On 21/02/2022 05:30, Daniel Golle wrote:
> On Mon, Feb 21, 2022 at 01:37:10AM +0100, Ansuel Smith wrote:
>>>
>>> On Thu, Feb 03, 2022 at 01:44:12AM +0100, Ansuel Smith wrote:
>>>> Add support for cpu set useful to set CPU port for dsa devices.
>>>
>>> Please also document the newly added 'cpu' parameter in the command-
>>> line output -- the manpage isn't even installed/available for OpenWrt
>>> users.
>>>
>>
>> Should I wait for other review or should I send v3?
> 
> Give it a test-run and make sure
> ip link XXX set cpu YYY
> actually works -- when I tried it gave me
> RTNETLINK answers: Not supported
> eventhough the DSA driver does set the .port_change_cpu_port
> function. If it works for you with whatever DSA driver you are trying
> with, I will figure why it didn't work on MT7530...

MT7530 DSA driver does not support port 5 as the CPU port if that's what 
you tried.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/dsa/mt7530.txt#n63

Arınç



More information about the openwrt-devel mailing list