[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ed027411-c1ec-631a-7560-7344c738754e@kernel-space.org>
Date: Tue, 10 Jan 2023 11:23:58 +0100 (CET)
From: Angelo Dureghello <angelo@...nel-space.org>
To: Andrew Lunn <andrew@...n.ch>
cc: netdev@...r.kernel.org
Subject: Re: mv88e6321, dual cpu port
Hi Andrew,
thanks a lot for the prompt reply,
actually, seems i can use both cpu ports by
some brctl lines:
ip link add name br0 type bridge
ip link add name br1 type bridge
brctl addif br0 eth0
brctl addif br1 eth1
I verified looking the tx_packets statistics (ethtool -S)
and both eth0 and eth1 ports are used.
Is it something that may work, eventually as a workaround ?
Also, could you help me to know the kernel version
implementing dual cpu port properly ?
I cannot actually upgrade the kernel, due to cpu producer
customizations that are not mainlined, so would try to
downgrade the driver.
Thanks a lot,
regards,
angelo
On Mon, 9 Jan 2023, Andrew Lunn wrote:
> On Mon, Jan 09, 2023 at 09:40:06PM +0100, Angelo Dureghello wrote:
>> Hi All,
>>
>> using kernel 5.4.70,
>> just looking for confirmation this layout
>> can work:
>>
>> eth0 -> cpu port (port5, mii) bridging port3 and 4
>> eth1 -> cpu port (port6, rgmii) bridging port0, 1, 2
>>
>> My devicetree actaully defines 2 cpu ports, it seems
>> to work, but please let me know if you see any
>> possible issue.
>
> Dual CPU ports is not supported with 5.4.70. Everything will go over
> the first cpu port in DT.
>
> Andrew
>
Powered by blists - more mailing lists