From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BF27FC4332F for ; Mon, 7 Nov 2022 18:41:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0c68FhANMr/XjRU1WVjYc4ex0GU7aiSYk51zsN/KQ4k=; b=VwKC8yZ3L7Di7c xQb+aOKAm2bLjdsArR85odXRwyVhbRL0sf5vNZtq1bBuMMH9aCxynXpIdi+ddDDJskCvNBM5qX3/r FNxaCs+p/2X7acjRHVnclK1laenH/XzX0+TQsExiHw5Asb5n6B4WB2m3/IUUFubvc8EnVEscJk64N oEd2QwN13Y1M84xkKy55RgPAYWkt2gLX9y+Y0uZ2ZnyxH7MzJ6UjytmVF4bVHV0AIKkONbO4nIaON gdvV//BRhKW0eiuxcioOAsfPWGx3p/QVW3flhvnLn/mfdc60ZqgeVkXDsFP2KIPvGlmSIa/tYsst/ DAL3+oHuybSEY8DDwMEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1os72l-00HEPu-K1; Mon, 07 Nov 2022 18:40:23 +0000 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1os72i-00HENj-Bi for linux-arm-kernel@lists.infradead.org; Mon, 07 Nov 2022 18:40:21 +0000 Received: by mail-qk1-x72c.google.com with SMTP id z30so7687581qkz.13 for ; Mon, 07 Nov 2022 10:40:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=oSEQrw4mhcPxa7ZRyjeV+zh0S8mxURHBDWDQBmjbbK4=; b=AqlOOA0Fl2iAW3i+Stm7LaJg3ozlLIaZ+P1yzZWfO4Hn1nu6xfAkrCGNefOTQ706zR XdCpHIWj5ESNONNNF+5Y42r6ctTYUxr3jrId+h64hw4FYno2/yEFSQDro8fr5LpVSOZP 2qCHD0RQtjRRczreB10WroM3RmZC5yIY0SqhFjacrNc3/ynZZ/uAbrwPW82w3ak9nCfd SAJKEiIqiyUipPKqRI+a91xXDx3cWIiCng8Vy5ZnYMG5GT/nQapaZaKA3/qGQC1p+RPd QDzKIx0dvU/u58fxUguv8B1wv5xyIoZtk68u0F6+HA/19sMi0ZNVOGnTxAhXnuLplnum qM/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=oSEQrw4mhcPxa7ZRyjeV+zh0S8mxURHBDWDQBmjbbK4=; b=6ql67DNyjx/nM/SgmFFRMnT2X451roV0t/AGotv3L7QTHA3bl8hEtInMPUlD4Obgj3 6yZAbE67eE+bUFsr7DYa1WkGFYOiaHZhgUNe5g6a/e3hu28fYObeu3HQ8vcIspRUVSF5 nZsDmAIKXs3nSnT7VbrzkMF9At0KGJmO6PtD/NAAN5iJtMcreOt7FP2YwBw0KMSATcBd 8ooVBC/xrpY/qbLaxXFveNAdJDbKpv1+Mw1gUuQjAOSRY/DpV2QFXjOyIpDzI45/GD5D 0UNDUG5kjH7dmXARbmwhBtbM4F5H0kxYeg2K2JpbTV4uW7J10T8kvpKnea2nTz1f3hLb qQDA== X-Gm-Message-State: ACrzQf2+VkqK+avR+QVmAjTJ8knKd1jJBWoNEjVz5SVZQmqyoItuCQXP XLJC6LuQgnA0RzVb+nfQI3o= X-Google-Smtp-Source: AMsMyM7y2ySxIqnP3Q7GjsbWSKl/8WqMGzRHoBQJ0/3bAJawFA7WegxPK3tZmYwDbwfFwIodoXImeA== X-Received: by 2002:a05:620a:29c7:b0:6fa:aba4:f853 with SMTP id s7-20020a05620a29c700b006faaba4f853mr8971241qkp.208.1667846417660; Mon, 07 Nov 2022 10:40:17 -0800 (PST) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id c22-20020ac87d96000000b003a5416da03csm6592007qtd.96.2022.11.07.10.40.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Nov 2022 10:40:17 -0800 (PST) Message-ID: <02d0cc2d-26b4-e655-c2b9-9514a29074f5@gmail.com> Date: Mon, 7 Nov 2022 10:40:13 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH net-next v8 3/5] net: dsa: add out-of-band tagging protocol Content-Language: en-US To: Jakub Kicinski , Vladimir Oltean Cc: Maxime Chevallier , "davem@davemloft.net" , Rob Herring , Krzysztof Kozlowski , Eric Dumazet , Paolo Abeni , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "thomas.petazzoni@bootlin.com" , Andrew Lunn , Heiner Kallweit , Russell King , "linux-arm-kernel@lists.infradead.org\"" , Luka Perkov , Robert Marko , Andy Gross , Bjorn Andersson , Konrad Dybcio References: <20221104174151.439008-1-maxime.chevallier@bootlin.com> <20221104174151.439008-4-maxime.chevallier@bootlin.com> <20221104200530.3bbe18c6@kernel.org> <20221107112736.mbdfflh6z37sijwg@skbuf> <20221107084535.61317862@kernel.org> <20221107172846.y5nmi3plzd4wemmv@skbuf> <20221107102440.1aecdbdb@kernel.org> From: Florian Fainelli In-Reply-To: <20221107102440.1aecdbdb@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_104020_432516_833E8E9A X-CRM114-Status: GOOD ( 12.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 11/7/22 10:24, Jakub Kicinski wrote: [snip] > Yeah, it's a balancing act. Please explore the metadata option, I think > most people jump to the skb extension because they don't know about > metadata. If you still want skb extension after, I'll look away. It seems to me like we are trying too hard to have a generic out of band solution to provide tagger information coming from a DMA descriptor as opposed to just introducing a DSA tagger variant specific to the format being used and specific to the switch + integrated MAC. Something like DSA_TAG_IPQDMA or whatever the name chosen would be, may be fine. The only value I see at this point in just in telling me that the tagger format is coming from a DMA descriptor, but other than that, it is just a middle layer that requires marshalling of data on both sides, so sure the idea behind DSA was to be able to mix and match any Ethernet MAC with any discrete switch, but integrating both into the same ASIC does nullify the design goal. -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel