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 E45FFC05027 for ; Mon, 6 Feb 2023 20:33:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230020AbjBFUdq (ORCPT ); Mon, 6 Feb 2023 15:33:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229582AbjBFUdo (ORCPT ); Mon, 6 Feb 2023 15:33:44 -0500 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2060.outbound.protection.outlook.com [40.107.104.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1234A12076; Mon, 6 Feb 2023 12:33:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iK392bIxjK/Sg/9D2WhcUh6qXg6Dpdu86ZXtV54UlykUQ8i5rn9Ob2GIZ1Sr0u6Bbj262WdOJAHUtSDgJcMFcLRE5aih5YlarUhd31VdyaVvFfrr2AhfSgTCJWYQhhttV2kZYfKJrGx2F1NigkXuLlLyLYA05DyPZA9xb7lY/geQgZREuUakijUz3Gz7TgGCGcSA5nbtLz5fVpqisv8pGJbl8AE3BNW+305eo0pMv6bDNsCTyHULEwX7AVMBB3DaKi2BLSF15Nj87o8iJEjH/T9QN0ICsMjYvbQu9DPV/tXmizQKbaZ6tZR05MhUUBRStTI21lg4EAykhPt32qMqdQ== 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=FeC7JPAqx9zZtwQRn7NbRa1nsXFYiZLnx9XTfjVW+g0=; b=inAp2O0Ba7F4Qwn3OSVBE8twX/8ObvcOaURGP/czirkZ9Wo6waazXxTagI/oyteoYLcAOZX48hpJw+Hxqjk9/nOOThW4Cs1TpNApV/3DjpjIFZACnOaiRd8i50zDDbOiLM1ok7BazNjrakBiPMKb1i4RSqzDv3v8Xom5/kRD5hlGw+tRsfSLp/QoausBRSPUtAu1mizd6U9Fv3+uxntTy6603FqxV9xyTkTfG//51+bvpsXo7gaWE2UKidL4OYjb8fKLZOYSDR4WnOFn/NR/3eIM1NkBEbEwZjtJ2veH2/WFR4GLOA3Ux08iIOBPFsRr8kKxUszCLdfXBJs020EuTg== 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=FeC7JPAqx9zZtwQRn7NbRa1nsXFYiZLnx9XTfjVW+g0=; b=roDHK/FFGEUbmYIQ3yQhNhEMy28Zk0ccscsEGxON8uFnmjvJGtPjMg3+G6dVWsu67uyLJJO4uYFiv2LGHqE+kFRoHHVRA6l9/Xaddkcrx/QHgiZBOlIdIWq/gCoQP4ZJ9YnDeOFWePyGTlhHaWTE5dAe98EVlyhNgh3C4khKukA= 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 DBAPR04MB7304.eurprd04.prod.outlook.com (2603:10a6:10:1ab::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.35; Mon, 6 Feb 2023 20:33:40 +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; Mon, 6 Feb 2023 20:33:40 +0000 Date: Mon, 6 Feb 2023 22:33:35 +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: <20230206203335.6uxfiylftyktut5u@skbuf> References: <20230205140713.1609281-1-vladimir.oltean@nxp.com> <3649b6f9-a028-8eaf-ac89-c4d0fce412da@arinc9.com> <20230205203906.i3jci4pxd6mw74in@skbuf> <20230205235053.g5cttegcdsvh7uk3@skbuf> <116ff532-4ebc-4422-6599-1d5872ff9eb8@arinc9.com> <20230206174627.mv4ljr4gtkpr7w55@skbuf> <5e474cb7-446c-d44a-47f6-f679ae121335@arinc9.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-ClientProxiedBy: AM0P190CA0012.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:190::22) To VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB5136:EE_|DBAPR04MB7304:EE_ X-MS-Office365-Filtering-Correlation-Id: 3547a517-c27e-4c43-a0a0-08db08816e5e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /oJSTCb/7flLX6T4D2wFTwObJCOGLtmKQYJeoxR/pcWYxZM6S+QgWQW9//7C43+wHZfrqpFG4e4B4a8hWf88OZl1vIuIWuvYpEsaH2qDuspawDYcjmT+J1bucoGrD0W91QLI3NKwg4DO0cc2Y6M5m6HTOEyJkL791fWXGgGpA1PQpj8rnRUebvCJkFvbvrXPZD8HrgKXaSU8gy0s3edwyNuoMPpDl/gPS5Hh7RMPgNl5ANTQvfuxLMMIy4bpZAqadPij6aE/w39nRS7W+tqWHE8JXv6h+kunHMMuKykFP91JX7MiQVmzOe+ISe6rwwPTWH3MCTzIdeJiOE5mRo41YoOoEl/u9I7c6gi0Hvgc5oP0t5cMYUCaJVI9YPFMo15JySRCg8LcOlzyujgdyPjU013kJIVgOpk7YOe0IZDt6kZQtJz237sbHRqJjvwnH5s/z9Ut1F3wKEF1AtABPjzxzX4pTMuBIFNb2YUNHiR45l2TM1GbY3W1dvkjCxPU3TicdSdRZMVRvZKvYT7/fLvMs9M2DsZ8b9FNKY0ZVSiTbuXnceOtfl1pnU3KVH9zkxZ/CFuXHLlMAO+DLuqNFpDbuPT/3Vh0tFcuiPEIwCxLwstlLCY+6Krx9SgE0JRnS6Mb8jRXkpF0p9JnGzqYfVvHqQ== 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)(39860400002)(396003)(136003)(366004)(376002)(346002)(451199018)(4744005)(44832011)(38100700002)(2906002)(54906003)(7416002)(33716001)(86362001)(6666004)(9686003)(26005)(6512007)(186003)(6506007)(478600001)(1076003)(6486002)(8676002)(41300700001)(8936002)(66556008)(66476007)(316002)(66946007)(6916009)(4326008)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Ex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khxcHl0VDdmWkFlQlJiNlRTRTBZUXlyUU9yRU1GbGZmb3l6Tk1Vb2FKOGlT?= =?utf-8?B?dWVUL3paVWxwanZwSThGZFM4b3IxaE1NRFBqY0dPcklYd21OOHgxdkp3VndJ?= =?utf-8?B?VUZ2YUdFb1lUSnpRTGM4TUE4SDJyT0hRWG93YWhEYTBhRDlYOGNvMnRhbUNa?= =?utf-8?B?dU0wcC84aVQrcC9SOHFiZ1R1Vlp1YVVaSSs3dnRQeS9DM2Zpd0hOdGxzdkk4?= =?utf-8?B?YUR4UEtEMkJhVk9XeEg5bDdFN0VUdHhOQnpzaW5sQlBJU2hZM3R5aUpFbnFW?= =?utf-8?B?cmZTeGpyQzUxUUhKcHhWT3d2V21ibmpKWDVUbmsvS04vS3Z4M0VJUkUzOEcr?= =?utf-8?B?bVczOC9GbUxkWStUdFNWMEI4Ris4YTVjMnBYemR2ZzloU0VlQ1QrS0EwUS9Y?= =?utf-8?B?MVE9PQ==?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3547a517-c27e-4c43-a0a0-08db08816e5e X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2023 20:33:40.1368 (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: 5cye8bTLlbcXxB6fA7wUHlzk9OLchBCu1g1jpkg7B+hFmEgclAPWtuEQiim2Yp7UnFRFTWh/GtG0SQ28OQPgKQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7304 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 06, 2023 at 10:41:47PM +0300, Arınç ÜNAL wrote: > One last thing. Specific to MT7530 switch in MT7621 SoC, if port@5 is the > only CPU port defined on the devicetree, frames sent from DSA master appears > malformed on the user port. Packet capture on computer connected to the user > port is attached. > > The ARP frames on the pcapng file are received on the DSA master, I captured > them with tcpdump, and put it in the attachments. Then I start pinging from > the DSA master and the malformed frames appear on the pcapng file. > > It'd be great if you could take a look this final issue. What phy-mode does port@5 use when it doesn't work? What about the DSA master?