Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7852487rwl; Thu, 23 Mar 2023 09:23:20 -0700 (PDT) X-Google-Smtp-Source: AK7set/KH8ma5CCt1xS4IvlMQSjSh3EW9O3JTrFyjVfaFIdPjn5419Q+n0aNFgib5QwzN/fmOdsl X-Received: by 2002:a17:902:e405:b0:19f:1c64:c9ca with SMTP id m5-20020a170902e40500b0019f1c64c9camr6341554ple.49.1679588599892; Thu, 23 Mar 2023 09:23:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1679588599; cv=pass; d=google.com; s=arc-20160816; b=0GH1bhA2fn+xhw17Wq6P6zrROvsSniTwALlTkHdOpkWrehxnAEo1ustfU85cx5O4YM Gyp9sbOIZm/tapI3/GfA/B+JOaAjUsCauzFK7U9cH6XECzCQvrZmBmd+acDDfsqAOVS2 mmom0/LKe9knJ3mPhzjacFyx/H6QHJI/z32BjyMEE/5fOqQy17hBcgzF9Qne2BfE2k0V Me6HGQomZtyuQTYxAxf6L7/5xZxALZarqdUwsumhYSYcWq5qppfoxcZsN5lPtugDeaWj pD9MYPIl6oa3L98+xW+wEkuxUcaEGDG+LKIh8xMKs09u+R1FhLP2cWEqO4rwofjoxb7R 6+Ew== 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=/BSbPBXEfrhdrl7wMvAfSg3L+M99qqvGt36YvYYpRJ8=; b=f9IjbkNPrGYxMWS8eA2o/xpOAO7fYhjm0CeIMqgNxsfYfX/K1gjmoHCijLZ43C/1si 5PbpraVGJis+G2pr6AT46Il9mQ/6jUkqYS9rrHN88z4EHEFk30dxFuZbghxK14p04XmI pP1XwbMgUbVX33vTLyY/KsP/WufRpu/nRzQZPLChcKpClH8WeoZdXNiLRtKmaBPTC7hy 4VY2lcz6l/q0tmizuzH1fNB2RWVyNJwug0cO9RPtVeS1rQ01MtS/5A8i2iCc2BSpenWc nLocFNhuLD8E6KCt5AkznJNP8mjGHUkxFI3w2WT0XsQ3Dj8hRUmx7ZewbRn+71Cv1mQx v9Og== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b="UvK/mEHQ"; 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 f6-20020a655906000000b0050bfc20c795si17772151pgu.279.2023.03.23.09.22.52; Thu, 23 Mar 2023 09:23:19 -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="UvK/mEHQ"; 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 S232279AbjCWQNR (ORCPT + 99 others); Thu, 23 Mar 2023 12:13:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231668AbjCWQMo (ORCPT ); Thu, 23 Mar 2023 12:12:44 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on20727.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e8a::727]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D111235ECB; Thu, 23 Mar 2023 09:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lrTt4o5gpGn+fmnnz4casTHSmfIMQRUJ9W7NKw1aCtihAJ3aoz5BjBpNO9NnZ/3OUwJOneWN6mdDlOuc+X2VbprWllJTt/tUc+W7PjpP+rBhTroz3QBjUzQmrqWeF7DSQh+ejaoH45WWC8F2PD2DnHJX/nAdwKvBGP6j/eemIQmO6dYRemdcz0R79BiZ8gLA7R2eAgxqqN9ENuXSaa9Qkzm6lWB/CFCEBJ6VA4kgUClRyWIr0bGezWnIbVN+wEWhYPzv1LcmxG+dIqYofUgs2RPpq1GzpUhzdNFB4LsAwbHjHWD0/zcGtO/Haz97xqmDWWTgCdy66WCnsliSmqA3fg== 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=/BSbPBXEfrhdrl7wMvAfSg3L+M99qqvGt36YvYYpRJ8=; b=fs/5PRSVXN/WcDuLp7gBc0k9MkDm7x66eExQIY2D0lFA/DJP32AlHwaBOOMcqrl6Fdm++/mIC1bX7Wat345NqDk2EiUDt/n3N+YDS6vdJr9UtEfwztjJG0rWLf8nvMA8BTkMfl1QjMX5wwvtOrBxtZ7IHhIRtgXzLTkxy4FYPDkIwG97VosQtg5j7LsWlsbWQ+aEYSn2HEsT36cxxdRlw7BEwd2kRnNDdPwLw1fOq0qv16oD47bmVXP9UokPJKiSofxUx4lbYWYUFMN0H8VB6MbY8oaGQmbPDg0JIJhs2n7lzKAcG2SHpGX/H1qeSCroQ2LlAmGRBVn5D0ojSkL8yg== 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=/BSbPBXEfrhdrl7wMvAfSg3L+M99qqvGt36YvYYpRJ8=; b=UvK/mEHQqMUenz+Cr7tL2RNKvy0Km8IgM4J+3ExdqqB5w06oKhsKg/shxjjNJQu5wV7Xf5pA5LvMJ76J6ea4CO3eYfBEjNYeyVOzv1cINNvyzEaCP1DngMnzPT4kFgtuF7NLKM3BIv92fptcLURyul7HMCO/Fa1nGw+93zmgF5s= 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 BL0PR13MB4435.namprd13.prod.outlook.com (2603:10b6:208:1ca::17) 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:12:34 +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:12:34 +0000 Date: Thu, 23 Mar 2023 17:12:27 +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 7/9] net: dsa: tag_sja1105: replace skb_mac_header() with vlan_eth_hdr() Message-ID: References: <20230322233823.1806736-1-vladimir.oltean@nxp.com> <20230322233823.1806736-8-vladimir.oltean@nxp.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230322233823.1806736-8-vladimir.oltean@nxp.com> X-ClientProxiedBy: AS4P191CA0004.EURP191.PROD.OUTLOOK.COM (2603:10a6:20b:5d5::10) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|BL0PR13MB4435:EE_ X-MS-Office365-Filtering-Correlation-Id: 43d17a76-6170-4e81-276f-08db2bb96935 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: u/72doE67oWevrGPlBzJp4cdXz/NIVeyVM8eVYtZfycjLIXiHfSPpunWqCYdTi6lCGHRmn4Wk+GDWuVXtAek31cXQcbjkrzKx2L/bX/advukivPFCmepNq9hK2eBKHUJokaSLP8mwVzB4A8ARfhvf7qdZhhrF465evGWFQ3qmbx91wgcqXDMkFkXbKH8+RKkyvUzvUbGZXxumvOGuqthl9kVWJVbnoKBEI9seTLfZgxobeMpadKtbuGUZD+FZzZNktLyDipO6SOZeM/4RzTai3ZzLocZuA1y6J69qPQgZJ7v0HkAhu+5aUUXS1gaNclw5582HuML2FoUO2fb7vgJkMNaMS0QQpPzV2tgwfKqwWgb0ncKKtlSOOhEWD373ItNOXEcniKLmXq/713XGhCGJj3rx245PCwz9bDEg4wieXrz/s1zKnjFXJ9Mv+3UrdhX8BtyBXMqLJ7Wj5p9urpoTn3DrwyYBuvQRwUB/z+P715pGUtnv8lAf/t/OetYZyTdO3HGXI8JTKazG2Ssfj1GQoHMzdYg0L/u6cOKZrW6d+DJYPbK7p0qIQsk2yQR/2YdC0S6D+hTPoSXDXkGCHOD7t71nWUGEsBoCjsMexnOsnpEKCm/n1/2VDPphDd3caT0MwQCy33emFFc5gsR6K49Jw== 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)(366004)(346002)(376002)(136003)(396003)(39830400003)(451199018)(38100700002)(2906002)(66899018)(6486002)(478600001)(2616005)(186003)(558084003)(86362001)(36756003)(316002)(54906003)(66946007)(66476007)(8676002)(4326008)(66556008)(6916009)(5660300002)(8936002)(6666004)(6512007)(6506007)(44832011)(41300700001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?axjQX2OFGtSrkR804pycA8Sb184S/qtZI7KtzZ/OfD6Pyf2UGKrtzX7I2eIH?= =?us-ascii?Q?aawdYN/RTcaj23XVE4ITQ4TvWwUcY1CSRl7a+IJImMR3Ws+zIJ6zF+FPd0fu?= =?us-ascii?Q?ylL6PxuyzHVxCs0B3Tk9qevg/FcV6cyXe4Bl9bx08+n/oUQKnWerv1ZxofMh?= =?us-ascii?Q?muL8gSi9aRXQcQE2R9GgX7/Fle/HMaYQAA04tjgKecM34HvrD1yNqBceRDE7?= =?us-ascii?Q?yHPEoDhC5DBNmTUXFb1ZsQ7t2cMcZQJZu+OqmOdY6RxhfAfOW+AjG5WYLDDd?= =?us-ascii?Q?UHDzxN9207f78g2BniGRCBZqitj1/p/KPzYBtb3+39OJcBd8mz5LTX2O9cC6?= =?us-ascii?Q?kdmOR18Z9+ngVgH/uxj6q8qkDE+GNrDokmb0SZRwryN5RRYof5O89KbFgL08?= =?us-ascii?Q?iRut9cn3jSwl/WcDRlVQdOfmpMpMrbV8vVQ0X9SSPtddl7T2qishoBeava9u?= =?us-ascii?Q?UFAjOIh/DfyXNABaihCRFY3xywd3RYlQ4yNTueeSnAZrkrFG5diftZrzLYLe?= =?us-ascii?Q?8CrR7YEsFzuz191VPVVCF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?Zx3SWqQzfTwA5rUT75waLioIRCnee8OsGBYRtQmizIK8G8sru4BkwwFoXuV+?= =?us-ascii?Q?OJqj+k1WYc6y8fsGbRO6BgrvaMwDMO3lEGey2T2XJL3SFBK5pQibZY54p4J+?= =?us-ascii?Q?fkQ6TxAjr3gLTyx6x/IVnJ8msaNkOvdvbE5hJnm+00CXHrq+cFBFxLTHqARE?= =?us-ascii?Q?TCzqmsqW04A/a88JWIvnYidF72eO4jnsEnp3NIun0Ju1PDGGk2fgSQvC9T5y?= =?us-ascii?Q?gsFMsw=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 43d17a76-6170-4e81-276f-08db2bb96935 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:12:34.0229 (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: YbwW9X63Dh6d5/Vr6oyVHd4P5EkLEb2Iz57FCWb0T/NuL6vnWsx8bBqm+bL8OlNMWdywWgyaiR3/fNvHZqgx58OGyaT5yDFIyrqCxb/S1a0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR13MB4435 X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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:21AM +0200, Vladimir Oltean wrote: > This is a cosmetic patch which consolidates the code to use the helper > function offered by if_vlan.h. > > Signed-off-by: Vladimir Oltean Reviewed-by: Simon Horman