Re: [PATCH net v4 3/7] net: dsa: mt7530: fix trapping frames on non-MT7621 SoC MT7530 switch

From: Arınç ÜNAL
Date: Tue Jun 13 2023 - 13:21:50 EST


On 13.06.2023 00:14, Russell King (Oracle) wrote:
On Mon, Jun 12, 2023 at 10:59:41AM +0300, arinc9.unal@xxxxxxxxx wrote:
From: Arınç ÜNAL <arinc.unal@xxxxxxxxxx>

The check for setting the CPU_PORT bits must include the non-MT7621 SoC
MT7530 switch variants to trap frames. Expand the check to include them.

... and now you add support for this to the MT7530, which is what
alerted me to what seems to be a mistake in the previous patch.

"The setup of CPU_PORT() needs to be done for the MT7530 switch variants
as well as the MT7621."

No. ID_MT7621 represents the multi-chip module MT7530 switch in certain MT7621 SoCs. So saying "the MT7530 switch variants" already covers the switch on the MT7621 SoCs.

Arınç