Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7871034rwl; Thu, 23 Mar 2023 09:36:31 -0700 (PDT) X-Google-Smtp-Source: AK7set9pSaMFbWWDzw7O8RqtdBxiC9V8zVNv6NeEEy73DPn8OMp7NicrZAh7a50fbMs5oFKOV57X X-Received: by 2002:aa7:9d09:0:b0:626:cc72:51ac with SMTP id k9-20020aa79d09000000b00626cc7251acmr7656438pfp.30.1679589390998; Thu, 23 Mar 2023 09:36:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679589390; cv=none; d=google.com; s=arc-20160816; b=rI/7LmatMg3daL8zSsSgo27EpnuIB9y/hgrpUKX6x0BqiaAJc7m1FrhVvW0aGuREDT no6Fsk7SgjUEmfquSrDRmwnlUAQknZokZpMusROBeMIJx2kuj8GPl+Xt0oJeZ26L6TTa iBSPcprw06yBeKaKRxj5Vh+S7QH9ZhjGvQByoz2tcnaLCS/mWEODqQl8CULqzdm9krLQ Q7GWB3V9CNb0EWuia7F9G9tDh6J20et34/RJU6EPPX+O+/jva+5J7dessLPn0dmr0IrE G6x1nhWyrD7vmNorKIWTbpMxgRshEDD9KxLOPhruHozF5y+Fb7FlUUzw+ShGnwrr+j2q n4Pw== 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=jXoBBxFMsJczFH9bpzVDlikxesZHgShklnWmbKV32x8=; b=DKYLW6VW8wR6uvuY35tcITJwkmH/Ldf7F/f2p4KULfgXxeaQPesIJQlaEt/oXwRxkp Q12FzcG5Ht1xlSN63F6AfVhkHhot90fEwhtBCj7K/exMVKvL9SvMLgleW31a6BIhgl7V m5nNB/uU17lrKKxf6p4E3IZe+P98S4krVDLnM+3QmmWQ7PGPCPqlMvgteIv8VIDBxrYw Ky3rKx75kDtycwAwCGw6CAbY/mD+8g5PBi45HXNnbeyqRVsmgB7tdDfAr9D03su7OWvm tdPG+0BiTtfL/wGyXMmOKwZeclciTCPtI30eBekCIcMQiZEXQ1HlGRanyqRSlB8QZP5t ipTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pNG1AORF; 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 x5-20020a631705000000b004ffc2ec1b55si18878199pgl.335.2023.03.23.09.36.14; Thu, 23 Mar 2023 09:36:30 -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=pNG1AORF; 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 S232153AbjCWQeJ (ORCPT + 99 others); Thu, 23 Mar 2023 12:34:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231362AbjCWQdn (ORCPT ); Thu, 23 Mar 2023 12:33:43 -0400 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A9E62A16D; Thu, 23 Mar 2023 09:32:33 -0700 (PDT) Received: by mail-qt1-x830.google.com with SMTP id s12so27199722qtq.11; Thu, 23 Mar 2023 09:32:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679589152; 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=jXoBBxFMsJczFH9bpzVDlikxesZHgShklnWmbKV32x8=; b=pNG1AORFOm3s5cO6JEloApL1y3GOxUu8NVrsJSPooWZYuV8zoBH8noemN4zyW5lJhF TQP80zQG/UPBBU6IR5eLy8TdjOigWA58st4Ii33A41oJwKRGKD15mNqNbvZHHE0e3Os9 dyq4kOHnwGgHLtz7qzyVDLnifuH9eHJhaxtcuUkgaScAV5HWjyihQnMO+QjKo5eHkFk1 nJ2AvYO8wcvGH1XS5ygrOvhI9Ffh+PDAslwHlWjuR5HFwgMe4laE3xTyvrLYWR+qw73O 7xvKN9R93zZw8P5KGI/8UB6rLB8l7ve+yNiz/aU8yPmIXJUdCsrWWFtGmCKgIU+1C2di 87yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679589152; 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=jXoBBxFMsJczFH9bpzVDlikxesZHgShklnWmbKV32x8=; b=US6JFZNtogpRSMjNJ9LQqSvXI4Qd4pLetI0+UTCeE7AuzTWH46eI6RFgkQoctA83U8 Zxtxy8qouGEu5CtefA+MmOxwH7cPg3yr/N6kXKfqw6dZZL3Ea5iOm29JpFfsm42HJ+75 msRPrZ8wYpaac/fBWsikjZkA7kgBa7O2crlx5Fqv1j+Jpk6F+0v7DO+yv2frqPd2OXIJ xPyVWeZbS/VoNGy0CRgnW0tuUvJmkANIh30IRmFecfnxd6VzEMVkSH/FE6NufM9TBARm hSb5jjR4EhXhpwKdk5xmszMHL4CkE2VLEGJPnmT47e7rhDBW1BFg1imMinsOCqzlWmFV bvGQ== X-Gm-Message-State: AO0yUKWhvw2HHcl+JS6PjL8nNATMKSuUSIMZyNiwfeJfZZB+gwzlbuIP ZiXAhdCS0NNyu15I4V1gzmo= X-Received: by 2002:a05:622a:1304:b0:3e2:4280:bc5d with SMTP id v4-20020a05622a130400b003e24280bc5dmr11900228qtk.23.1679589152085; Thu, 23 Mar 2023 09:32:32 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id i8-20020ac84888000000b003e38e2815a5sm2363470qtq.22.2023.03.23.09.32.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Mar 2023 09:32:31 -0700 (PDT) Message-ID: <05edcae4-37c5-4466-7716-da592c99ffc4@gmail.com> Date: Thu, 23 Mar 2023 09:32:25 -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 5/9] net: dsa: tag_ksz: do not 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-6-vladimir.oltean@nxp.com> From: Florian Fainelli In-Reply-To: <20230322233823.1806736-6-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_eth_hdr() to > get to the Ethernet header's MAC DA instead, helper which assumes this > header is located at skb->data (assumption which holds true here). > > Signed-off-by: Vladimir Oltean Reviewed-by: Florian Fainelli -- Florian