Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7863144rwl; Thu, 23 Mar 2023 09:30:58 -0700 (PDT) X-Google-Smtp-Source: AKy350aSRPveH0yqx7C/7McGimXbz4JRLI/i5FQa5ZeFlF+D2RN7kJtkgKjRFK0pc17beJjhwyxV X-Received: by 2002:a17:902:d4d2:b0:19c:d7a9:8bf0 with SMTP id o18-20020a170902d4d200b0019cd7a98bf0mr7518503plg.10.1679589058081; Thu, 23 Mar 2023 09:30:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1679589058; cv=pass; d=google.com; s=arc-20160816; b=XchJA0VMgaqGNQPz6QATzOn7b2B95pDGj0LTDat2OIZ4+i4RaMdQ3bESr8pta8t3dB iu9YXgDFKD2/hVSmQG47OQ4WNXUVpz+nBibk84SuPxiuArB3gpK6S1k2/y1mVeYYoPrW aDbY0O6vcdAX73UCqjLo5rxyx6iM43832mK+6TeXIAquv/AVjTmHDsbgsnJJdky20sFQ 3krLWReOxt8Vunzf3yHAB6WOXZ0ktZSiuvp83hgQIaBoxC2VP8SO26jqs+ThNk4InYqp Zq1lteqAJsPcxG8YhxJYzaJ8P7Nfmmce9BxJ8xF2HRQH0TUkx227Ju6ph639cNAkce1p 3QBQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=eEn+a4rjp8fHLdErlbEajM+6ginCLcuZCVDd05eXWNo=; b=gUsn7djd8nsfbSbxdT+HKHypj+LqQIfYph6CWux02vdRWTbW3L3883FWhilUNxaUqM sJjsGiRmsMdfpdXTvinT4gMNS1P/7Y2DBIkCsxwMtJYZ9cIQ2ryx4Sp0A6ThUKxn6Yrq vcdp2/QcYbZJToUR3LZJQV3i5g2Sj3JgtNcUIe1AjG+7r9TrZSaJWFASBFJYymhIiOjv OAUPlS/6ZKEDJ2MaMXorGTyFCeiuQI9tv5hnrQkIf8rRVmKApqAEKRhIKJW2/ua6SHrV yFNuWO5g03StDXWuMifFGTtFBwgySh0P8utuZWeyB6H+SNXXBO6kZs0K5e0B6Bt/Dy/q Z03Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b="nHWgxkA/"; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a17090311cc00b0019cec510d4csi21279937plh.444.2023.03.23.09.30.24; Thu, 23 Mar 2023 09:30:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b="nHWgxkA/"; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232292AbjCWQOR (ORCPT + 99 others); Thu, 23 Mar 2023 12:14:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231778AbjCWQOB (ORCPT ); Thu, 23 Mar 2023 12:14:01 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2103.outbound.protection.outlook.com [40.107.220.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C26A1ABF1; Thu, 23 Mar 2023 09:13:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NaQdDg7uoxuwBQmt4SFPIdH/seTsXdzbOuiYKSP3eSn+WLtl46tC9ikcBLakC6sTuVWDjivHce9PjbP9hXVHWdWo9zwbPUu3eJxPJ4pvBbi6F5NPmonkbZuKyjOUe82GAbP8dOoeHaTyuMG4yb7CuVTWiKertqILQv6CGKTT2vJCwbZpRQ7M5dLJjvk0ULq+2KaFB073rq7rzvgk8YkHjkFB84corcJjqjShQarKYO0YSewOhZ8BPpxSFy6WKPPQHuaSqb/951sVZDzoX/0GBt7wdzbJQPTvbGLHczJQ9+ZflZ/u+0vpoYLkRvsyGD0aQrEseIfs6Q9xQdEDfbVQFQ== 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=eEn+a4rjp8fHLdErlbEajM+6ginCLcuZCVDd05eXWNo=; b=DLfEZryI1f1C2p7MDG6iIFD+wgerY2baqklUSfBaEQKWGor0oODsFWZ8W4PWHzOb/aMdObPsI+BEgaaR8tKTmUCvM6Y8TzCkSWwMZTODziAduIX7aUEgAKpwLNLgv0jmUhZGSBNMfx4wVLd6cZcUPUB3lqyNzy3X3daiAsFrmlWeSU2YjF2VNrA2hrO59nzSJeNxAvvyXlzhuLvFCIX9crq2lrCD5sKRWktf7bApkuCe4FErBJ5CBuSVwY1RrAkUAtNzpXyK/LPCbVhAfXqW4112PblKE8QtRwkE2I03YssWyl3FYOBPUspaywICAZAM4wOTxIZ9mzgFR9QaBDyNkQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eEn+a4rjp8fHLdErlbEajM+6ginCLcuZCVDd05eXWNo=; b=nHWgxkA/65vTLlG5evFC04R7Qm83J++i70Niof4jrMbmRLI5ZFToldz+yedIc+Y8nlME+6R1YcStKAv5Scq+ueEsaRYwjI5DEG+Bm4WCLVo6+cVhLv4ZejFQSmkHt4D4NRfz6PILIvrRoS7ebgpfzptKAc3vZbxfIWIVZBqKAc4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) by DM6PR13MB3627.namprd13.prod.outlook.com (2603:10b6:5:243::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.38; Thu, 23 Mar 2023 16:13:39 +0000 Received: from PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::85f5:bdb:fb9e:294c]) by PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::85f5:bdb:fb9e:294c%2]) with mapi id 15.20.6178.038; Thu, 23 Mar 2023 16:13:39 +0000 Date: Thu, 23 Mar 2023 17:13:33 +0100 From: Simon Horman To: Vladimir Oltean Cc: netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , Florian Fainelli , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 8/9] net: dsa: update TX path comments to not mention skb_mac_header() Message-ID: References: <20230322233823.1806736-1-vladimir.oltean@nxp.com> <20230322233823.1806736-9-vladimir.oltean@nxp.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230322233823.1806736-9-vladimir.oltean@nxp.com> X-ClientProxiedBy: AS4P189CA0041.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5dd::15) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|DM6PR13MB3627:EE_ X-MS-Office365-Filtering-Correlation-Id: 226f54da-043d-4e0b-af4c-08db2bb99014 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jNAk61A2Cxb9BlQItY/YQQjTAwV54ha91AuE6sKvf4hvrQEJcuZiaJBNeJfX+0xDkYxdBifb8kuIhZjPWLRLgprcuWSJxfOHoOrgnSjrW6xS5cbi5tzkno37IZf013U9GspV5MHISyQ5b+NVY1/s+BQGrcfa+hDsJvyGmvXXTlY6Idrysh4yKCQUgRBvh5yijoq6PVz2D1Gj3Rpa1vMDdB/xBOl9r7ej3l9lWLdDOXBZ8qhwmFWpUiU03ZgSl0ib7hf/MKKvLAG37rXrih3SLQvKgWDejlUVbfRvPD/VLrc/lDL122vmZr2p9i6SeaN3pArVkD1bsGvHHg090cH7pMPmU3AMNkegRUQ3wpqpotct50k1RrkSCpprnilsQgp7lmjVYWFFjmvOWX+72eSSSoWcoFlNVkSwwjZquI2akpKgNXoOOVNXOxmlg2Hb5rHA+jXXYgKA0d2WH+hwDFctDgcXLVWE074joFoDz29uC24FJzNsWGX2oNfc2N4agvsRLSoFb9xpx7/jA/33Qoqu+TU4ih2+JGCnSbEo4zTUwoCVmI11BoCVG9sT+hFD57Ueayqu8qV9c9M0ToNuZPF8eeRztfMcDMgMaw6BkruJPLMQ1SbnKADzXffMS7JtFbrZd7N4wJtHdT+4zvoDDFOii7ntSbxV3JzQwTyY5XQpOOMggs+rdWyKNCMO5KyU1Oi1w/36YrGpiWkWQrJ9N4iWoAFmqyBoWCr1e53TikJP2zevb6tU9xfK4qKelscA7SBu X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR13MB4842.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(136003)(346002)(39840400004)(366004)(396003)(376002)(451199018)(54906003)(4744005)(44832011)(41300700001)(8676002)(5660300002)(66556008)(4326008)(66946007)(66476007)(8936002)(6916009)(6486002)(316002)(478600001)(2906002)(6666004)(186003)(6506007)(6512007)(2616005)(36756003)(38100700002)(86362001)(67856001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?w3f45VmxJDQktgPHkTBjbRW5Jf83TJd+dOyM8eJTz1IfgV90KUxnhWmw97eZ?= =?us-ascii?Q?ReM/QEmUJzFoBxzA9+VNizBLh5I3aw5YadVK8eFWhZSUMxUq1oVQE52250aR?= =?us-ascii?Q?p6KLwqP6U7xcBvYXLAvk3gmlbWOlTC0AqqWkSJzLo4F0tXI4uFKcsIRWAOeD?= =?us-ascii?Q?ubEB6cOdDqqxqH3/CZwmtEOrtPej2Hh5mf4FoetL+436PtFGuOpGarZldYfL?= =?us-ascii?Q?OiVNDgzSNge0fw2d/dGyKKb60Qr89A7o+yzQ3iekrL9QePRdtTOhyO2HL9Xj?= =?us-ascii?Q?xWP4o0FI/s+npHJLMh5MTrYx50KccV/sghAIgcH/mf5vrfTcOiZZsmMLvFdM?= =?us-ascii?Q?6whR5AB4er29KvR3xrOq5igzJ88FnAa9iUbm15oZzdYv8TyoZUkopEjYaaIu?= =?us-ascii?Q?o4d6jGfNFwtQGBZ402n2jWEjdABtULkpRbOkjeRo/L17fAW359GP5vdjmvxi?= =?us-ascii?Q?kzp9qHrU3ugwUm9gCbWbkjY54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= =?us-ascii?Q?qsNw6xmsHonoV5fGaVOaa1n3QWZCivCUl3G45NQkrgHsUUAqO64+C26JMSn0?= =?us-ascii?Q?1XaBsihIAANeGvG2g5JYQPBy+Y39R+R6u+eOxZj1QEBJ82cOloCoH4aevqnA?= =?us-ascii?Q?gySu7G1LFHr6N1T/L82qGXGUAXIeqPcDahIYcCO7mu+ZTINW6R+rI11AGkKz?= =?us-ascii?Q?UNT7Q0WNAFOxvwdqefBm4quB10hayQjDycpeu8jtfEbfyGb7PGne0Hy9kVFn?= =?us-ascii?Q?9/m5XBZBSEdAeO6KWliTCghVmdMqs8FTlKN/ArEgGsamQ/xMGG6QazJElsAo?= =?us-ascii?Q?091kGQ=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 226f54da-043d-4e0b-af4c-08db2bb99014 X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2023 16:13:39.1306 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8cgHuCoDuIe/6YdIJNvEI7yq7Y8UX1ubKZgMbbUTeADuCbBpScZRYRwsR7FuXcfVP27wLM38hj4mJdBRRTgYrhbRVYvIrrgFgcNd22s2xoU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR13MB3627 X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 23, 2023 at 01:38:22AM +0200, Vladimir Oltean wrote: > Once commit 6d1ccff62780 ("net: reset mac header in dev_start_xmit()") > will be reverted, it will no longer be true that skb->data points at > skb_mac_header(skb) - since the skb->mac_header will not be set - so > stop saying that, and just say that it points to the MAC header. > > I've reviewed vlan_insert_tag() and it does not *actually* depend on > skb_mac_header(), so reword that to avoid the confusion. > > Signed-off-by: Vladimir Oltean Reviewed-by: Simon Horman