Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4262699pxf; Tue, 16 Mar 2021 09:13:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKgDlUN0YoUJRvX2YSY6YZQbtkoEb1+bI1pytFGQYcEM6eIBf4IGmNVvtCs0neXrF6sXE/ X-Received: by 2002:a17:906:f283:: with SMTP id gu3mr30103005ejb.91.1615911223533; Tue, 16 Mar 2021 09:13:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615911223; cv=none; d=google.com; s=arc-20160816; b=KnognrC3dMQ6XhSVvDsC5gehYE/3EfaHZUiRxZozOgjpCP6RJgLyXx1MQO9JnMs1b9 j1IS+2xckBAfT/7to7dBwFFyodBsYcb8aP+VFpKKz8+DNl2uDJVDNPAggsSoVppyI06E xYaqCKMyUu2Wh1fC4HzMz40qYhW5MrFgwvNHvUt0dt+lzUQIaivTnhe/auREtYjvDiuw 6QcJJ9YEenolJtPa571ju1WTJabkQHFPjLm7rDJEvgW4WIcJ+bAGbGAJ8qPiwkrIAbuj Xw7zFgiPD/wi2ufHSw/7X/9ZBzA+LgNB9VXgjVt/Ztz6Yh4toWBcvfAWnaVsSaAbRMX8 BG3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=g9uXJUViTKXZKSQddRDs/kJnKTBPzrOCYL8tAHJ4Ytk=; b=p21UAFKrmUn9o7kXtwTe2Yf46kie7M6A20yO2GwkiHsf1/4sthHYCn5dt3c6qQyR5H ZlWpodYHmwg9+ovzlTpJbU3vTYcMv8cp79Y8Yn/Dr4elKYCLnrWw7On81N8hfdLK+YAk 24DN47za6cq7sPp5/XHlPkfnh7ugwTUqgUIW3MC0zKHqcJIJcxEDS6xQOP3SRARg/hco 4ZnErjSFq3XzCsPffkPOO5pSgb41CuZYwguca2+8HXUY4sAShYnKkHjM4Q8uVEHSBy7o eBfHrwWKc8z83nkvE5iVI9ouNtx8FsLL9w/OUavKSJcZ1W1IGMYm9vJvGOQN+um7Z7EF ZuVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kepDP69R; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si14513249ejj.248.2021.03.16.09.13.19; Tue, 16 Mar 2021 09:13:43 -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=@kernel.org header.s=k20201202 header.b=kepDP69R; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235587AbhCPNyR (ORCPT + 99 others); Tue, 16 Mar 2021 09:54:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:56846 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235569AbhCPNyC (ORCPT ); Tue, 16 Mar 2021 09:54:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id ED1E664FED; Tue, 16 Mar 2021 13:54:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615902842; bh=DSp4ZyCdLVrD/515PijNSWVY8esTcirqwL+R08qKkD0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kepDP69Ry/ngCbQbuVnK5sTa8HmjWObQRpY7jKZ/9Hdv2iZjgSp5SHDIReCV41yZ9 rlszJk7PyvsUW4DYxuhv/CmMZUFFJpisL35DeJnnbcVWxtl7bLLZMB46dKXWmL6g2/ DmSHwku234UB91qYKSL8SGXWRQMfObJB0TanU91Ffh0lRiTl2g3nyixzDT6Q5TYp3k XYr3ZnxDouOsdg759LsDTpkNijYEmApECpUjePgms6NYr3+I5FCPCKs0459YFW5SWF 7r10Z3kwUY9YGDVkqEiTxXl33Q7Qi8YANQuFN0JaCuRhlhiI19DDaU8fLVEyBJNmgu iwHD+LAO2CE3g== Date: Tue, 16 Mar 2021 09:54:01 -0400 From: Sasha Levin To: "gregkh@linuxfoundation.org" Cc: Vladimir Oltean , Andrew Lunn , Florian Fainelli , Vivien Didelot , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Kurt Kanzenbach , Jakub Kicinski , Christian Eggers Subject: Re: [PATCH 5.10 113/290] net: dsa: implement a central TX reallocation procedure Message-ID: References: <20210315135541.921894249@linuxfoundation.org> <20210315135545.737069480@linuxfoundation.org> <20210315195601.auhfy5uafjafgczs@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 16, 2021 at 06:46:10AM +0100, gregkh@linuxfoundation.org wrote: >On Mon, Mar 15, 2021 at 07:56:02PM +0000, Vladimir Oltean wrote: >> +Andrew, Vivien, >> >> On Mon, Mar 15, 2021 at 02:53:26PM +0100, gregkh@linuxfoundation.org wrote: >> > From: Greg Kroah-Hartman >> > >> > From: Vladimir Oltean >> > >> > [ Upstream commit a3b0b6479700a5b0af2c631cb2ec0fb7a0d978f2 ] >> > >> > At the moment, taggers are left with the task of ensuring that the skb >> > headers are writable (which they aren't, if the frames were cloned for >> > TX timestamping, for flooding by the bridge, etc), and that there is >> > enough space in the skb data area for the DSA tag to be pushed. >> > >> > Moreover, the life of tail taggers is even harder, because they need to >> > ensure that short frames have enough padding, a problem that normal >> > taggers don't have. >> > >> > The principle of the DSA framework is that everything except for the >> > most intimate hardware specifics (like in this case, the actual packing >> > of the DSA tag bits) should be done inside the core, to avoid having >> > code paths that are very rarely tested. >> > >> > So provide a TX reallocation procedure that should cover the known needs >> > of DSA today. >> > >> > Note that this patch also gives the network stack a good hint about the >> > headroom/tailroom it's going to need. Up till now it wasn't doing that. >> > So the reallocation procedure should really be there only for the >> > exceptional cases, and for cloned packets which need to be unshared. >> > >> > Signed-off-by: Vladimir Oltean >> > Tested-by: Christian Eggers # For tail taggers only >> > Tested-by: Kurt Kanzenbach >> > Reviewed-by: Florian Fainelli >> > Signed-off-by: Jakub Kicinski >> > Signed-off-by: Sasha Levin >> > --- >> >> For context, Sasha explains here: >> https://www.spinics.net/lists/stable-commits/msg190151.html >> (the conversation is somewhat truncated, unfortunately, because >> stable-commits@vger.kernel.org ate my replies) >> that 13 patches were backported to get the unrelated commit 9200f515c41f >> ("net: dsa: tag_mtk: fix 802.1ad VLAN egress") to apply cleanly with git-am. >> >> I am not strictly against this, even though I would have liked to know >> that the maintainers were explicitly informed about it. >> >> Greg, could you make your stable backporting emails include the output >> of ./get_maintainer.pl into the list of recipients? Thanks. > >I cc: everyone on the signed-off-by list on the patch, why would we need >to add more? A maintainer should always be on that list automatically. Oh, hm, could this be an issue with subsystems that have a shared maintainership model? In that scenario not all maintainers will sign-off on a commit. -- Thanks, Sasha