BCM芯片对unicastpacket处理流程:
对Multicast packet, 其基本流程与上面unicast相同,不同点在于匹配L2_ENTRY table后,根据L2_ENTRYL:L2MC_PTR指针返回1K的L2MC table,该table里面包含Port-bitmap以指示包应该转发的目的端口,但这些端口还是不是VLAN的成员还需要确定,如果都是,那么该报为known multicast pakcets, 否则为unknown multicastpacktes,其转发行为与L2_PFM值有关:
L2_PFM = 0, Allmulticast packets, flood to the VLAN
L2_PFM = 1, unknownmulticast packets are flood to the VLAN, known multicast packets are forwarded onlyto the ports included in port-bitmap
L2_PFM = 2, unknownmulticast packets are dropped, known multicast packets like L2_PFM = 1
broadcastPacket更加容易了。SA learning后,直接转发到vlan的所有成员。