Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7866987rwl; Thu, 23 Mar 2023 09:33:32 -0700 (PDT) X-Google-Smtp-Source: AK7set8+6j+qpECK78XjxjoIXaIL0tk8qqmrp4U+GkBiFdiUm4VrhU0sKrvEHWK5DW8MUvhA4bRy X-Received: by 2002:a05:6a20:5089:b0:db:b086:b25d with SMTP id l9-20020a056a20508900b000dbb086b25dmr232910pza.1.1679589211994; Thu, 23 Mar 2023 09:33:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679589211; cv=none; d=google.com; s=arc-20160816; b=EQCyDuGIQ53TzolA+gbqPW4t8Sjzz2OaX07Z8xRgfN0t0IOw91wSFIPglooagDtH93 2QiO9ELu8JQrQ4I9gMQY+CKkdtQeCUFHq5TZ6LLufeATRbbZGj28UZCtnu5k/ibB4v9/ fkg6WwPeU1u2BsfztQ/VipMRyWtHLAvLHHKGTMN3b7MOwqgzqGpFRBI2pXXKMChmg9dR OcEHx/4LK0mUAjYjq3f7jOsMFaejl0pvfj6gBoubnF+zsNxKzil1VFolAr8NYHdp57kn Y0fHJ+jLFmz3om/COnK7EC+itjn21/Re2koUd1+59vWaAq3NIthLeqW/bhsOdJCD9bZ9 0nTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=wE7wxRuLK08uzH1OcaWrx6WAEK1JsYpETenvKCrBuDY=; b=kPNMgnHr6jBX3IzH350bWeXNJPcHSGPgA5it9HuLG8aJv0gQjFyBxFcmcAvyEca8CX Ck0b5HGZfndq/UOr1bzt3iByLmMX1kwURRG/wPlknuH4a3+PdZNJXnyQ/QZCmRfGvukd jXdAiLVczyp9QRCU8alsUMAdfT9MLKafcis0TLD18eRLr09OzK8tea5jsIoTT77GMcfx rK4bLG96pZsX+obWJKevYfrYCOK6yqO2hOaircyy3RaVeZJWT8DfTXJebj5f4M24sKdX 9TVUrLdqRSh37u49b6Un81snlMB8n73g/cuc47o8tZbeACIOHczaQm01B4HJTUolvj3k 500g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=dytsPW6O; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a63f508000000b004cf7904ba60si18629195pgh.25.2023.03.23.09.33.19; Thu, 23 Mar 2023 09:33:31 -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=@google.com header.s=20210112 header.b=dytsPW6O; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231886AbjCWQYn (ORCPT + 99 others); Thu, 23 Mar 2023 12:24:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230435AbjCWQYl (ORCPT ); Thu, 23 Mar 2023 12:24:41 -0400 Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF60F1FE7 for ; Thu, 23 Mar 2023 09:24:40 -0700 (PDT) Received: by mail-ua1-x92d.google.com with SMTP id r7so15388202uaj.2 for ; Thu, 23 Mar 2023 09:24:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679588680; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wE7wxRuLK08uzH1OcaWrx6WAEK1JsYpETenvKCrBuDY=; b=dytsPW6O6Ddrj6PQWy2KkcUkauZpXxyOIlxEk3OZkBuwER8pipyV4s45Kp3CGEAXLq RJE3EJbltfHpQCWmyv8DrxgBS1c7j5z4yvw4cO/wo3cVfbHgdIGJinImIU45zlEMQCnz 5mR3mpdCbDxugrxmB2n+S9NNXHaezpq1njC2IhG+RXZUQGduGpFgmVlP7wqM0rdu8BWB OKjNtAwz5WXHfMgKLgUum++BToklgHD6jcb39SeWmOV5w5mcy1et3NUPGbqKrx6/4e9w 99YsMvE2KPzD24W/r8pni5RgSKULyAdpJQ1i2VMCZXrZmopNUMp+J8Gm6VY7xZAntsd8 Dt5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679588680; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wE7wxRuLK08uzH1OcaWrx6WAEK1JsYpETenvKCrBuDY=; b=2OSTK7BA2Z4RU0krgz5iFKJ1EvnZbr3ZrRhWcwwHp3RIOZTzhPlNoJfby5MMVwrN/E JgRgLdjkv1XCUpAAWZhSts0q8JKJckGyF5TQHZA/mNdghv/yN+6/niQNgAEotZlSQd5G Pyd1rHgTOGv4sBzb/neZwWs9c6fqWbxzA5JXRdoPhrFXkOT3cPSq38slAM6VYOpfRYUA kUCqgYSj5BEmwBacwnwfchCYYNdALMzIzbTUqzrfnVuIZrpSeyHlXqh9lfw+8YtjjQik ReRyTM1fWCsXFemaIWW5LIBN1WlbhcExs+Fu6NHCIDoR88Hya6dy28sdU2s4NqN/kHxt ML6A== X-Gm-Message-State: AAQBX9eXdKSX5w4MhDCw5oBnOpbVjwkC+zquatTxc5U8+DatQzon0Rt8 uKq2UVlSvZ1bIqGD/XfOxPD4IaCd4y+MMQzNjTmuxw== X-Received: by 2002:ab0:6c44:0:b0:68a:6c1e:1aab with SMTP id q4-20020ab06c44000000b0068a6c1e1aabmr7290926uas.2.1679588679806; Thu, 23 Mar 2023 09:24:39 -0700 (PDT) MIME-Version: 1.0 References: <20230322233823.1806736-1-vladimir.oltean@nxp.com> In-Reply-To: <20230322233823.1806736-1-vladimir.oltean@nxp.com> From: Eric Dumazet Date: Thu, 23 Mar 2023 09:24:28 -0700 Message-ID: Subject: Re: [PATCH net-next 0/9] Remove skb_mac_header() dependency in DSA xmit path To: Vladimir Oltean Cc: netdev@vger.kernel.org, "David S. Miller" , Jakub Kicinski , Paolo Abeni , Andrew Lunn , Florian Fainelli , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-15.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,ENV_AND_HDR_SPF_MATCH, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL 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 Wed, Mar 22, 2023 at 4:38=E2=80=AFPM Vladimir Oltean wrote: > > Eric started working on removing skb_mac_header() assumptions from the > networking xmit path, and I offered to help for DSA: > https://lore.kernel.org/netdev/20230321164519.1286357-1-edumazet@google.c= om/ > > The majority of this patch set is a straightforward replacement of > skb_mac_header() with skb->data (hidden either behind skb_eth_hdr(), or > behind skb_vlan_eth_hdr()). The only patch which is more "interesting" > is 9/9. > SGTM, thanks a lot ! For the whole series : Reviewed-by: Eric Dumazet