Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1366182pxv; Fri, 23 Jul 2021 06:42:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzjxVI0giJJsCQwyygk68Ef2ZoesZc35okl4Gz1Rzg+qF1Pe7NXg49ni4OR6VRkrBfjNS2 X-Received: by 2002:a02:2b27:: with SMTP id h39mr4309645jaa.62.1627047759672; Fri, 23 Jul 2021 06:42:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627047759; cv=none; d=google.com; s=arc-20160816; b=kgtPYTBOM28rBn2PeE3XRAPBgHeQdQ9XpURUXI4O7ycEwW/sab8E7YJRYcKmxoi7YZ /IWNcIk5CpVjClfRIqfXgymlLjLcRJzDAn4xRP2DzPk6G9xcyEK8x43cA9vmVP7+cM80 gNIMmyRp+A79Ejj8XN73oc6DwMlLnpmTrBuVSTzQmp7Ukk62vLgXTVL1eVOTzQ1Be40G QuAd/vkFu+fV5Z1W5DHethgjrl/RZtIU6Ts2HcPRm6rSRc8kNen9zF26nVpjvIvcPtb6 fKBeVHFI9MWcNzHawVmwW1uNoJ/9lyxdKjWZMF9sV129PqFqXTnLI9Df820xofqIKXQM aP5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=LaTL2iNrZOppNwoRX/A0sZoQfAeM0sYpNYrF9YslHt8=; b=zQpYPdc06x/Q6fZD87gyWMxzViwU0xEKjCXcnU2n7taV1DpteEFyOYkN+ZueQ8yZhU Y7p7pEkeLoM7teGPZwelFs+Y2FkMP4GzKGLWFOjF71kj6v3yVB6suOcK+D6MFavWgx8h D1JRcDI2CUl9LPSI2Gy0vRt8eeZtoVHt3/pLnVqJyCUExMKSRiDskibkMUbCucWxEJmg /ifLCQZaiPFZImlt8i459g5cJCCT4obX59rvoE+wud+QIhGf6nA1v0n3w8qTK8/WJqAF ZRclDfR8wes3l6Nv6Nd5mUQA0mJuGSLD6vblyEJj0YE3optmiBubTwIQ/o+ZUETZ3Cif 5WSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=QD35GZSH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w12si6639915iox.55.2021.07.23.06.42.28; Fri, 23 Jul 2021 06:42:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=QD35GZSH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235281AbhGWNBG (ORCPT + 99 others); Fri, 23 Jul 2021 09:01:06 -0400 Received: from mout.gmx.net ([212.227.17.20]:39913 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233486AbhGWNBE (ORCPT ); Fri, 23 Jul 2021 09:01:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1627047682; bh=LaTL2iNrZOppNwoRX/A0sZoQfAeM0sYpNYrF9YslHt8=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=QD35GZSH+vafo8Iulhbo3gkuQvKp/5Rsy0yrcbLNHI05u/wTc/D5dr1cHHuVEqDP/ Vpa6L1G+xYDUquVKxpyraAKR6a8gKEEhypkCCj0DHKZJ4Rch00rPou4IcR9WesLyXu mKUFsncx8cs8yvzqtCsx6n8QDCK0HqPV1BM7iW+w= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.178.51] ([149.172.237.67]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MEUz4-1lr2CW3C4g-00G4CU; Fri, 23 Jul 2021 15:41:22 +0200 Subject: Re: [PATCH v2 1/2] net: dsa: ensure linearized SKBs in case of tail taggers To: Vladimir Oltean Cc: Andrew Lunn , Florian Fainelli , woojung.huh@microchip.com, UNGLinuxDriver@microchip.com, vivien.didelot@gmail.com, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210721215642.19866-1-LinoSanfilippo@gmx.de> <20210721215642.19866-2-LinoSanfilippo@gmx.de> <20210721233549.mhqlrt3l2bbyaawr@skbuf> <8460fa10-6db7-273c-a2c2-9b54cc660d9a@gmail.com> <7b99c47a-1a3e-662d-edcd-8c91ccb3911e@gmx.de> <20210723122213.fvhudwyk36u7pw52@skbuf> From: Lino Sanfilippo Message-ID: Date: Fri, 23 Jul 2021 15:41:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210723122213.fvhudwyk36u7pw52@skbuf> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:eORuWqFC1LqZeP5vatnZ0e0ZXIxGitqetBp4/u7C1gUzPTtle/f tQkEbWoOQcuh3RW39mfmxE5t8Sqn1LWHyjB2gTnZ6k7zrH3MxuW4sT8Bue5bbpXayaKRIKd GIo06CYJV4gxIsVr3Hsw2rmmhCR/dX1+vLAWMfxy1V87Q9d0bK/jrXbSr0AMEfZ4jFq7p47 jqC8QU/BX9AtQoTKTVDWg== X-Spam-Fl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6KzqUk247eXOXoL VyyaNnqR7PeQ/ZL4zirlC+lFgf3zjcg1beMeiElW3uO/K40kBPA9UojeNg9OQTWRxhlYtjVB2 DZmwcqo17NT2CSlhllzjk1ejIWyQZQC3/Zdc2ht9gjqJKeRq/fW78xlwA== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vladimir, On 23.07.21 at 14:22, Vladimir Oltean wrote: > On Fri, Jul 23, 2021 at 09:47:39AM +0200, Lino Sanfilippo wrote: >> since I got a message that the patches have already been applied to net= dev/net.git. >> How should I proceed if I want to send a new version of the series? Jus= t ignore the >> merge to netdev and send the patches nevertheless? > > Since the git history is immutable you need to work with what is already > in the current net/master branch. What do you want to change, just > address the feedback I gave? If that is all, just don't bother, I intend > to look at adding a framework through which the DSA master can declare > what features it supports in conjunction with specific DSA tagging proto= cols. > That is material for net-next, and Dave took your patch at the last > minute for the "net" pull request towards Linus' tree. If you send > another patch on "net" in that area now, we'd have to wait for another > week or two until "net" will be merged again into "net-next". Not sure > if it's worth it. The only thing that was of concern to me is that you > assign the DSA interface's slave->vlan_features =3D master->vlan_feature= s. > So even though you clear the NETIF_F_SG feature for the DSA slave > interface, VLAN uppers on top of DSA interfaces will still have NETIF_F_= SG. > However, those skbs will be linearized during the dev_queue_xmit call > done by the 8021q driver towards DSA, so in the end, the way in which > you restructured the code may not be cosmetically ideal, but also > appears to not be functionally problematic. > Anyway, your patch will probably conflict with the stable trees (the > tag_ops->needed_tailroom was introduced very recently), so we will have > another chance to fix it up when Greg sends the email that the patch > failed to apply. > Yes, I just wanted to address your feedback concerning the feature assignm= ent in a new patch version. But as you explained this is not needed and would = make things just unnecessary complicated. So lets wait and see if there are any conflicts with Gregs stable tree. Thanks for the explanation. Best Regards, Lino