Re: [PATCH 00/12] staging: dpaa2-ethsw: add support for control interface traffic

From: Andrew Lunn
Date: Tue Nov 05 2019 - 09:44:36 EST


> Hi Andrew,
>
> Just to clarify...if the STP handling is removed, then we'll have a
> receive code path but no frame will reach it.
> This is because, the only way we could direct traffic to the CPU is by
> adding an ACL rule.

Ah, that is not good.

As i said in one of my reviews, you need to receive all multicast and
broadcast traffic by default. Without that, ARP will not work. Does
the switch perform learning on frames sent from the CPU? Does the
switch learn the CPUs MAC address and forward frames to it? Can i add
an IP address to the interface and use ping?

Andrew