[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 5 May 2023 08:27:36 -0300
From: Fabio Estevam <festevam@...il.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: Vladimir Oltean <olteanv@...il.com>, Florian Fainelli <f.fainelli@...il.com>,
Steffen Bätz <steffen@...osonix.de>,
netdev <netdev@...r.kernel.org>
Subject: Re: mv88e6320: Failed to forward PTP multicast
Hi Andrew,
On Thu, May 4, 2023 at 4:40 PM Fabio Estevam <festevam@...il.com> wrote:
>
> Hi Andrew,
>
> On Thu, May 4, 2023 at 4:21 PM Andrew Lunn <andrew@...n.ch> wrote:
>
> > Do you see the PTP traffic on eth1?
>
> Yes, PTP traffic is seen on eth1.
I gave you incorrect information, sorry about that.
Let me restart and share the test results.
We have made 2 tests. The only difference is the absence of "ip link
set dev vswitch0 type bridge vlan_filtering 1" in test 2
Test 1.) No PTP traffic on ETH1 can be sniffed after config
----------------------------------------------------------------------------
ip addr del 172.16.42.199/22 dev eth1
# Add bridge
ip link add name vswitch0 type bridge
sleep 1
ip link set dev vswitch0 type bridge vlan_filtering 1
sleep 1
ip link set eth1 master vswitch0
ip link set eth2 master vswitch0
sleep 1
ip link set eth1 down
ip link set eth2 down
sleep 1
ip link set vswitch0 up
ip link set eth1 up
ip link set eth2 up
sleep 1
ip addr add 172.16.42.199/22 dev eth1
sleep 1
tcpdump -i eth1 dst port 319 or dst port 320
----------- ------------------------------
Test 2.) PTP traffic on ETH1 can be sniffed after config
------------------------------------------------------------------------
ip addr del 172.16.42.199/22 dev eth1
# Add bridge
ip link add name vswitch0 type bridge
sleep 1
ip link set eth1 master vswitch0
ip link set eth2 master vswitch0
sleep 1
ip link set eth1 down
ip link set eth2 down
sleep 1
ip link set vswitch0 up
ip link set eth1 up
ip link set eth2 up
sleep 1
ip addr add 172.16.42.199/22 dev eth1
sleep 1
tcpdump -i eth1 dst port 319 or dst port 320
----------- ------------------------------
Please find attached the log of PTP sniffing on eth1 from test 2.
There is no such MAC address as 01-80-C2-00-00-0E.
Thanks,
Fabio Estevam
View attachment "ptplog.txt" of type "text/plain" (26838 bytes)
Powered by blists - more mailing lists