Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B226DC636CC for ; Sun, 5 Feb 2023 20:39:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229537AbjBEUjR (ORCPT ); Sun, 5 Feb 2023 15:39:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjBEUjP (ORCPT ); Sun, 5 Feb 2023 15:39:15 -0500 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2053.outbound.protection.outlook.com [40.107.6.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2E3918B02; Sun, 5 Feb 2023 12:39:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S8n26RR5nA3P+fAUrQQRPWlCzVdLms1j0U2SW60iSwyQoGnLDUJSns9GN5Iu7wpmDSuO9zYlBpabZsv1JJwyTvbu2R+oAxyvpp10yBrJJtxJQkglANlOqlDCksoWUFsB8G7f5p9HG0OrtfCosA2iIqXEcA97TYQUuHQRzDMeQO+2A3/1j12dGHcK8Sc3QVUlAhRjh/0VkY4bdfjA28fQpn/bpTW7LLzvPUSwx6en01s+iz9P/TJZTIa1Ij2gtDWxWQxlsGU5x0jhWFXpSi+mX/fIov2CvDse9dK8jg01xVq6JRKvoORle1AjsS5JRrLkpi3xizRwYV8w0gf/gg/npQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yXtrL4atjeUFa21cgmLp7XL7Bv2BXLFyDd0gYR8OsmI=; b=NPV/SFykyyZPhoB8fbFQS0iMihcXiofsrOCRA55OEfwwcwzhncVXFAnmbsKQSXsTjEVLh4HQF2HjJYAfelgSbr1nZRbqlbJJiqjcooLV2mMhdGRVTunjnd/xRnR1uyXPbPMeMst4QH76biYCBYPeEs71IU+MDQQNmN6z00Gj4K/H/c6XpqVUnKjjf2a/7NXPcc8fvTQi/9MqMEaKY8Af/5KSCvQ2Iz3ToarUqQl133ZpIeuM7Rm8CVM4uxh/JF9BAerHjJlCR6NzTqOSiD4zBWPG3siUqgVEB+jRQMOTFdzr1Pirv+RASIBq8oMXOpQPG7uBCtu4GYWJPh9ZioGffQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yXtrL4atjeUFa21cgmLp7XL7Bv2BXLFyDd0gYR8OsmI=; b=VBZhitm2gyHQVKzjVynoYm+FZv7TMhuf5orxVgARF90aHb6BwSJemyF4z+uhPdyjd3zgOC6wolkilggAXc2GcGMBpxQhvldIBmTgQTRTs4uqhsA1GauhNnX3bM3BTr8LJt4aepURIb0+QDsudrPmcoqsX+zbiWEVpW2sFq26ZAc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by AM9PR04MB8953.eurprd04.prod.outlook.com (2603:10a6:20b:408::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.34; Sun, 5 Feb 2023 20:39:11 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::3cfb:3ae7:1686:a68b]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::3cfb:3ae7:1686:a68b%5]) with mapi id 15.20.6064.034; Sun, 5 Feb 2023 20:39:11 +0000 Date: Sun, 5 Feb 2023 22:39:06 +0200 From: Vladimir Oltean To: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= Cc: netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Sean Wang , Landen Chao , DENG Qingfang , Andrew Lunn , Florian Fainelli , Matthias Brugger , AngeloGioacchino Del Regno , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Frank Wunderlich , erkin.bozoglu@xeront.com, richard@routerhints.com Subject: Re: [PATCH net] net: dsa: mt7530: don't change PVC_EG_TAG when CPU port becomes VLAN-aware Message-ID: <20230205203906.i3jci4pxd6mw74in@skbuf> References: <20230205140713.1609281-1-vladimir.oltean@nxp.com> <3649b6f9-a028-8eaf-ac89-c4d0fce412da@arinc9.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3649b6f9-a028-8eaf-ac89-c4d0fce412da@arinc9.com> X-ClientProxiedBy: BEXP281CA0007.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10::17) To VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB5136:EE_|AM9PR04MB8953:EE_ X-MS-Office365-Filtering-Correlation-Id: c0f2945d-ee50-4e43-6dd5-08db07b9091c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bMXk15QU0k6+wGYspg1nqatcKb4AYCcxgwCITQCwxm3DL2kWN0C/FFJ+SQOlvAcL6byaRh7XpLOF745p+dphI40aXI7a5lcDu8hvwwDEhmLfJHnLZYxwD6Zk2ykP6wrfFKe1gFdQdEdSGznUFmAkPPTiZRJnCPnPeKzulm6rmzj1OmIDkKbfzLVd7ST9XXSZUV8riXMixWQNTTLvXtShLiG4QInv5E/h6HUfGN9/a1vEmYPjJU0mpoegAMprVtLozJtH682P5aRrW16+C1sDGeUdRZJTXmcgCfnbsWYs8GdKBH5z5QoRktn3sOKN4UMPvw+QO9cMI4hiq+yDakfpnC7A3Ft4yTnk7/GxHS9p9nl11xeqokXOR6irF2Je6AnRYqC5WhCF8oBfBgT08vq69odZuFVfYkksN0FXErEA5/iCeDON6VbwH9ZrMgPbb/Ms+ceOVtb5+8UkKvIGOiCGXoWLWFRH4UEly/63U9g5CDgB/1waKcn86Lkivzbty+CxYinpZN9bb8W2CFYup4VMkeYWD5saCDXJJD+H8KsENJLUSQ/5AkeSxdQzn8RMMTHDmmRizk9yveQZAXI8wa0/qIWg9b32kV1vxdE8t9/b62ecryJLaor83AG/plQ0/ynpv61Z2J2UO+fAXH045xqmqg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5136.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(7916004)(376002)(136003)(346002)(366004)(39850400004)(396003)(451199018)(38100700002)(316002)(8676002)(6916009)(4326008)(66556008)(66946007)(66476007)(54906003)(41300700001)(8936002)(86362001)(6666004)(9686003)(6512007)(186003)(26005)(6506007)(1076003)(2906002)(33716001)(44832011)(5660300002)(4744005)(7416002)(478600001)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dmNYYm85dmpWQUxRTy9jemlUODQ4Zkp3SVhUdVJjVXorSGMwT0l3OGhhRy9y?= =?utf-8?B?ZW45b1ZiN2pUZlVidnRDV3NCNFh2WTBzU1pBeWhBNmlGS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ZyZFp5OEQvM3oxMHlKdnRnUVVnTCtCSzZybU81Z0EydXIxODJLLzVuSzRR?= =?utf-8?B?ZFVXeUhNcTFnYVlSenNnUHY1cE9zQjRMZ0UvK1FoUlpDclZybWZIMkZVNURi?= =?utf-8?B?eFhGNHZjUVpsVjQwNXJwU21wR1JtTG5ncUZ6cmRyN3kxODVqNVFESkZ2aENL?= =?utf-8?B?cmxvVkxJSWd0Y3pLOTNRdVBsSkc5ajNINDZMbEZZU21YaE5may9IM0w3V29p?= =?utf-8?B?bHhWTWFZaTQ3VnBMN3Z3aERpblVsUlpUb2pVTitxYjhoaHJyWkgzRTFiUXMz?= =?utf-8?B?WEE9PQ==?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c0f2945d-ee50-4e43-6dd5-08db07b9091c X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Feb 2023 20:39:10.9071 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ufbXjgal/pyGFKdx6BQjw9IZcqKTMgqhFai2UWeiek2QUuAeg/kudD5+PLlTOg/L2gUPspQ7CBEJ38wd3s9F8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8953 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arınç, On Sun, Feb 05, 2023 at 10:25:27PM +0300, Arınç ÜNAL wrote: > Unrelated to this, as in it existed before this patch, port@0 hasn't been > working at all on my MT7621AT Unielec U7621-06 board and MT7623NI Bananapi > BPI-R2. > > Packets are sent out from master eth1 fine, the computer receives them. > Frames are received on eth1 but nothing shows on the DSA slave interface of > port@0. Sounds like malformed frames are received on eth1. I need to ask, how do the packets look like on the RX path of the DSA master, as seen by tcpdump -i eth1 -e -n -Q in -XX? If they aren't received, can you post consecutive outputs from ethtool -S eth1 | grep -v ': 0', to see what (error) counter increments?