[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5AMOVAZe+w3FiRO-9U98Foba5Oy4f_C0K7bGNxHA1qz_w@mail.gmail.com>
Date: Thu, 4 May 2023 15:39:17 -0300
From: Fabio Estevam <festevam@...il.com>
To: Andrew Lunn <andrew@...n.ch>, Vladimir Oltean <olteanv@...il.com>,
Florian Fainelli <f.fainelli@...il.com>, Steffen Bätz <steffen@...osonix.de>
Cc: netdev <netdev@...r.kernel.org>
Subject: mv88e6320: Failed to forward PTP multicast
Hi,
We are running kernel 6.1.26 on an imx8mn-based board with a Marvell
mv88e6320 switch.
eth1 and eth2 are the mv88e6320 ports. We connect a PTP sync source to eth1
and we notice that after setting up vlan_filtering on a bridge, the PTP
packets are no longer forwarded by the switch.
Below is the networking setup.
It does not matter if we assign an IP and sniff on the br0 or on the veth2,
PTP multicast is not appearing. Some multicast like ARP does come through.
Flags on br0: multicast_snooping = 1, mcast_flood =1, mcast_router = 1
Any ideas as to how we can get the PTP packets to be forwarded?
Thanks,
Fabio Estevam
# Add bridge
ip link add name br0 type bridge
sleep 1
# Activate VLAN filtering
ip link set dev br0 type bridge vlan_filtering 1
# Add veth pairs
ip link add veth1 type veth peer name veth2
sleep 1
# Set Interfaces to be part of the bridge
ip link set eth1 master br0
ip link set eth2 master br0
ip link set veth1 master br0
sleep 1
# Bring down interfaces
ip link set eth1 down
ip link set eth2 down
sleep 1
# Bring up interfaces
ip link set br0 up
ip link set veth1 up
ip link set veth2 up
ip link set eth1 up
ip link set eth2 up
sleep 1
ip addr add 192.168.0.1/24 dev veth2
tcpdump -i veth2 dst port 319 or dst port 320
Powered by blists - more mailing lists