Thread 中讨论的其他器件:TDA4VH-Q1、 TDA4VH
工具/软件:
您好、
我们在本机以太网配置和 SDK 11 中运行 CPSW9G。
两个(或更多)外部交换机端口属于同一 VLAN。 在 A72 上、我们还使用此 VLAN 接收/发送数据包。
当通过一个交换机端口从外部系统向 A72 发送单播数据包时、我们会看到这些数据包在其他交换机端口上重复。 使交换机的 行为就像集线器。 从 A72 对外部系统的回复不会重复。
我们在开关模式和 Mac 模式下会看到这种行为。
开关:
10: switch: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether fe:d2:b8:9a:b6:12 brd ff:ff:ff:ff:ff:ff promiscuity 1 allmulti 0 minmtu 68 maxmtu 65535
bridge forward_delay 1500
hello_time 200
max_age 2000
ageing_time 100000
stp_state 0
priority 32768
vlan_filtering 1
vlan_protocol 802.1Q
bridge_id 8000.fe:d2:b8:9a:b6:12
designated_root 8000.fe:d2:b8:9a:b6:12
root_port 0
root_path_cost 0
topology_change 0
topology_change_detected 0
hello_timer 0.00
tcn_timer 0.00
topology_change_timer 0.00
gc_timer 160.16
vlan_default_pvid 0
vlan_stats_enabled 0
vlan_stats_per_port 0
group_fwd_mask 0
group_address 01:80:c2:00:00:00
mcast_snooping 1
no_linklocal_learn 0
0 mcast_router 1
mcast_query_use_ifaddr 0
mcast_querier 0
mcast_hash_elasticity 16
mcast_hash_max 4096
mcast_last_member_count 2
mcast_startup_query_count 2
mcast_last_member_interval 100
mcast_membership_interval 26000
mcast_querier_interval 25500
mcast_query_interval 12500
mcast_query_response_interval 1000
mcast_startup_query_interval 3124
mcast_stats_enabled 0
mcast_igmp_version 2
mcast_mld_version 1
nf_call_iptables 0
nf_call_ip6tables 0
nf_call_arptables 0
addrgenmode none
numtxqueues 1
numrxqueues 1
gso_max_size 65536
gso_max_segs 65535
tso_max_size 65536
tso_max_segs 65535
gro_max_size 65536
交换机端口:
7: xf2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mqprio master switch state UP mode DEFAULT group default qlen 1000
link/ether 00:60:c8:63:07:95 brd ff:ff:ff:ff:ff:ff permaddr 02:60:c8:00:00:04 promiscuity 1 allmulti 1 minmtu 64 maxmtu 2002
bridge_slave state forwarding
priority 32
cost 5
hairpin off
guard off
root_block off
fastleave off
learning on
flood on
port_id 0x8002
port_no 0x2
designated_port 32770
designated_cost 0
designated_bridge 8000.fe:d2:b8:9a:b6:12
designated_root 8000.fe:d2:b8:9a:b6:12
hold_timer 0.00
message_age_timer 0.00
forward_delay_timer 0.00
topology_change_ack 0
config_pending 0
proxy_arp off
proxy_arp_wifi off
mcast_router 1
mcast_fast_leave off
mcast_flood on
bcast_flood on
mcast_to_unicast off
neigh_suppress off
group_fwd_mask 0
group_fwd_mask_str 0x0
vlan_tunnel off
isolated off
locked off
addrgenmode none
numtxqueues 8
numrxqueues 8
gso_max_size 65536
gso_max_segs 65535
tso_max_size 65536
tso_max_segs 65535
gro_max_size 65536
portname p5
switchid 000000000c000000
parentbus platform
parentdev c000000.ethernet
8: xf4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mqprio master switch state UP mode DEFAULT group default qlen 1000
link/ether 00:60:c8:63:07:94 brd ff:ff:ff:ff:ff:ff permaddr 02:60:c8:00:00:05 promiscuity 1 allmulti 1 minmtu 64 maxmtu 2002
bridge_slave state forwarding
priority 32
cost 5
hairpin off
guard off
root_block off
fastleave off
learning on
flood on
port_id 0x8001
port_no 0x1
designated_port 32769
designated_cost 0
designated_bridge 8000.fe:d2:b8:9a:b6:12
designated_root 8000.fe:d2:b8:9a:b6:12
hold_timer 0.00
message_age_timer 0.00
forward_delay_timer 0.00
topology_change_ack 0
config_pending 0
proxy_arp off
proxy_arp_wifi off
mcast_router 1
mcast_fast_leave off
mcast_flood on
bcast_flood on
mcast_to_unicast off
neigh_suppress off
group_fwd_mask 0
group_fwd_mask_str 0x0
vlan_tunnel off
isolated off
locked off
addrgenmode none
numtxqueues 8
numrxqueues 8
gso_max_size 65536
gso_max_segs 65535
tso_max_size 65536
tso_max_segs 65535
gro_max_size 65536
portname p6
switchid 000000000c000000
parentbus platform
parentdev c000000.ethernet
我们已经测试了或多或少的每个可用设置。 你知道我们缺少什么吗?
此致、
Matthias

