From: Vladimir Oltean <olteanv@gmail.com>
To: sai kumar <skmr537@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: DSA Switch: query: Switch configuration, data plane doesn't work whereas control plane works
Date: Tue, 24 Dec 2024 14:00:49 +0200 [thread overview]
Message-ID: <20241224120049.bjcxfqrwaaxazosw@skbuf> (raw)
In-Reply-To: <CAA=kqWJWjEr36iZXZ+GFeaqxx35kXTO0WdGZXsL4Q7cvsT3GYg@mail.gmail.com>
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)
> Switch Port 1 (lan1) --- DHCP client
>
> I am using marvell 88E6390 evaluation board, modified the device tree
> to support MDIO control over USB.
> The switch control plane works, we are unable to dump registers and
unable -> able, right?
> see port status.
>
> The kernel version on board with external cpu is 6.1
>
> I have connected a dhcp client to port 1 of the switch and the
> discover packet is not reaching the cpu port (port 0) and external cpu
> interface eth1.
> Using the bridge without vlan to configure, able to see the client
> device mac addr in bridge fdb show
> with vlan id as 4095.
>
> tcpdump on external cpu port eth1 and bridge br0 to listen for
> incoming packets from the client . No discover packets are being
> received on those interfaces.
>
> Could you please let us know if any configuration is being missed for
> switch data plane to work ? Thanks.
>
>
> The below are the commands used to configure the bridge:
I don't immediately see something obviously wrong. Could you run
ethtool -S on lan1 and on eth0, and try to find a positive correlation
between the DHCP requests and a certain packet counter incrementing in
the switch? We should determine whether there is packet loss in the
switch or whether there is some other reason for the lack of connectivity.
next prev parent reply other threads:[~2024-12-24 12:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-24 9:30 DSA Switch: query: Switch configuration, data plane doesn't work whereas control plane works sai kumar
2024-12-24 12:00 ` Vladimir Oltean [this message]
2024-12-24 12:50 ` sai kumar
2024-12-24 16:00 ` Vladimir Oltean
2024-12-25 8:53 ` sai kumar
2024-12-25 17:53 ` Andrew Lunn
2024-12-26 5:00 ` sai kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241224120049.bjcxfqrwaaxazosw@skbuf \
--to=olteanv@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=skmr537@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox