[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAA=kqWK=+jN1axoDkb_ipC3+0rLie35bGxr7qUjz-acOMHTscA@mail.gmail.com>
Date: Thu, 26 Dec 2024 10:30:07 +0530
From: sai kumar <skmr537@...il.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: netdev@...r.kernel.org
Subject: Re: DSA Switch: query: Switch configuration, data plane doesn't work
whereas control plane works
Hi Andrew,
Sorry my mail getting bounced back due to not being in plain text mode.
the issue got resolved, issue was mismatch in phymode between
eth1(rgmii) and switch port0(rgmii-id) in device tree.
The Port 0 RGMII currently set as default as per data sheet, didn't
modify its port registers. The issue was the configuration side on
device tree for port 0, cpu port.
While trying to follow Vladimir's suggestion to update the device tree with
dsa-tag-protocol = "edsa";
Found there is a mismatch with respect to phymode; in cpu port port 0
phy-mode = "rgmii-id"; and fman enet phy-connection-type = "rgmii";
I tried changing the phy-mode of switch cpu port to match fman enet phy mode,
Now the switch works as expected and dhcp discover of client connected
to port 1 reaches external cpu enet port eth1 with even tag protocol
as dsa.
and errors vanished on eth1.
Somehow this missed the radar earlier since eth1 link got up quietly,
and didn't observe any error in dmesg with respect to phymode mismatch
between fman eth1 and switch cpu port 0.
Thanks for your help for immediate responses
On Wed, Dec 25, 2024 at 11:23 PM Andrew Lunn <andrew@...n.ch> wrote:
>
> On Tue, Dec 24, 2024 at 03:00:17PM +0530, sai kumar wrote:
> > Hi Team,
> >
> > This could be basic question related to DSA, if possible please help
> > to share your feedback,. Thanks.
> >
> >
> > External CPU eth1 ---RGMII---- Switch Port 0 (cpu port)
>
> How do you have your RGMII delays configured?
>
> Andrew
Powered by blists - more mailing lists