Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7871764rwl; Thu, 23 Mar 2023 09:37:06 -0700 (PDT) X-Google-Smtp-Source: AK7set+8jFPtjtp6isomVYl6Pvovy4OEzUAUXSCqdiV4VZHKhMEj1y68daySlnqmi1ICSTVVMXEZ X-Received: by 2002:a17:907:2da0:b0:939:ad91:adf5 with SMTP id gt32-20020a1709072da000b00939ad91adf5mr16069522ejc.25.1679589426545; Thu, 23 Mar 2023 09:37:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679589426; cv=none; d=google.com; s=arc-20160816; b=WH4o7D6D00l2KsQhmhwL0WjHwDG8CFYPzquPrd5BcCiAiBFnzvn5nUWpaY209rSE2R KVpbYfQInozUBHXxkuXirb0a1asGjT3XuQoIDK5rIK9mgpV2dWJrfM9IQjp4yvIAtyzT TP9HlgvPqNG2ElBiS1uT3Vs9GY4q3vJKyu7dt/ukF3UQvERyric2wz7Pu3xr5f359/4p 1/ajyEj03Qe+1aJ1W1uSuRrfbuKRRUeR+IbAcqGa6puwPkrTmmVbG4VIdy5k49OXc8LL /OGEnlqJELyedAnDBEdXC638HMn2JlVOz58kA8L8MnPTZpDxkl8Zv8JFGz9T587akeNW rBfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=gQ/65gDGq3+1pjKQZ0fWq2F2Rh6nvrUOZSoWkysxM04=; b=O2pQGBQqPTpRlXUEn/NkytzYPbQlk1aDuR9ZtTrIx+7tGNV583C7rnLKaiwoonbhrR we7kD06tsHOLYvw1EiVRf7DFhiCCxyV55dOyTk01An/G8/BEmFP+WjOeI+Q+O41LVxTJ Jydh4frjzfY6WdAzmz5v5C2ws4iv6+1cmlUhNj+x702nlEMqm2JlFR509kvi9AV4Pput y80GP1pIJQCNJdWtNbanOuVfUmEIX0FRrBKBkfB9ubihg5ezwtMMmtoAHM9rwpjjUbaO 5jOx3Fk30e8AIF2ugllgfW+tQmjQ1VBbuHHAaqkWJSU4r5grxSj9JTG1algFOk/ETFA4 c7zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bAHsQe3l; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v20-20020a1709063bd400b0092f55812555si18337702ejf.586.2023.03.23.09.36.41; Thu, 23 Mar 2023 09:37:06 -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=@gmail.com header.s=20210112 header.b=bAHsQe3l; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232043AbjCWQe2 (ORCPT + 99 others); Thu, 23 Mar 2023 12:34:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229836AbjCWQd4 (ORCPT ); Thu, 23 Mar 2023 12:33:56 -0400 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F81733CD9; Thu, 23 Mar 2023 09:32:43 -0700 (PDT) Received: by mail-qt1-x82b.google.com with SMTP id bz27so15488248qtb.1; Thu, 23 Mar 2023 09:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679589162; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=gQ/65gDGq3+1pjKQZ0fWq2F2Rh6nvrUOZSoWkysxM04=; b=bAHsQe3lkzk3IHWM/bzc4Cr+jxeNMMMwwUMUiYkcq+EtiGkRIdz76r8Y3UDf+zoj/t 07uBNm0TAbADC5wXyR7equ9n0wwZ77PdbE/27X6Zs28Zel4lk1IdRlJtS5PRI5vT76TL D0X+ze4IWmPv/tSjdyJPhN3vzJ+rfcT2ZfllYDAhryQWpSpWpLLpJTqlVcmz4PvbDRuC umT2RBAGiLCuwlNZT+tNiNR8s2bS/ymNgFph30lrsgGQqshZ+AbFT7fBd1qhtU2KOUFA vtUcF7HQKBj9WhfT3jC183gsQg6+h2MBGm3xpaaMBO9lWXOmrvwEWkLZGa8LX8QqcoX0 AACA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679589162; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gQ/65gDGq3+1pjKQZ0fWq2F2Rh6nvrUOZSoWkysxM04=; b=juGh0/96xeImwOldUINoAygHkv7YPZqFZkfFgCsCVqXuwvvEYgx3Q2vMI6BEReBLJG eazmTcOBo15xY4gdDGw1zQrGezAQ2qdciosL4uiSoKkW6N2VWv/yJoPzrJ/gUnlITGW8 kFQ4QaJQMW74ekUSgCHb+zplX7t4G93931/b4VVyHQGRN2YFtmtpkqlMch1qfLsI0AbZ Y93IM8vO1Bt5BxhUQFn9wgF9afD0rZZIRrPzh//czgiuGsH2vY/KBx/QMQEZ16TUerYX 1aMOvKeS3V5Rck7rRC1flMKwJtu/ja3Qrg2fINojIEUW6nK+cxkk9J/yZIItlwigTxHe Rwmw== X-Gm-Message-State: AO0yUKXMbjSbrSoafpCjXCGVlSGfTmx3HgAUca6ZpghKZxRNs6WKAj53 oQjH47cx6wayOxnfgE4SCyUmUXHMZRU= X-Received: by 2002:a05:622a:10d:b0:3e1:90e4:c1d with SMTP id u13-20020a05622a010d00b003e190e40c1dmr11817604qtw.58.1679589162476; Thu, 23 Mar 2023 09:32:42 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id r1-20020ac87941000000b003e1f984c9f3sm7095483qtt.93.2023.03.23.09.32.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Mar 2023 09:32:41 -0700 (PDT) Message-ID: <510fc25a-6df0-df50-ed93-ebf3c2bbf423@gmail.com> Date: Thu, 23 Mar 2023 09:32:35 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH net-next 6/9] net: dsa: tag_sja1105: don't rely on skb_mac_header() in TX paths Content-Language: en-US To: Vladimir Oltean , netdev@vger.kernel.org Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , linux-kernel@vger.kernel.org References: <20230322233823.1806736-1-vladimir.oltean@nxp.com> <20230322233823.1806736-7-vladimir.oltean@nxp.com> From: Florian Fainelli In-Reply-To: <20230322233823.1806736-7-vladimir.oltean@nxp.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 3/22/23 16:38, Vladimir Oltean wrote: > skb_mac_header() will no longer be available in the TX path when > reverting commit 6d1ccff62780 ("net: reset mac header in > dev_start_xmit()"). As preparation for that, let's use > skb_vlan_eth_hdr() to get to the VLAN header instead, which assumes it's > located at skb->data (assumption which holds true here). > > Signed-off-by: Vladimir Oltean Reviewed-by: Florian Fainelli -- Florian