Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2270197rwb; Mon, 7 Nov 2022 11:11:21 -0800 (PST) X-Google-Smtp-Source: AMsMyM7vAkRmelskjw8viEloezzcI/dn3L5yuAZI3qhITTOVKJaStltTUJrAx9S4HGOFoCujJbVH X-Received: by 2002:a17:90b:2353:b0:216:3194:fc74 with SMTP id ms19-20020a17090b235300b002163194fc74mr24736160pjb.112.1667848281605; Mon, 07 Nov 2022 11:11:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667848281; cv=none; d=google.com; s=arc-20160816; b=q9ZISOyhNOkh9xRag0jocvZ3FYGQuFGgcp2pcUWFsdoiKBvAHQd5oD9a/aWebqOLdy PPeiGYZ3fphM2oke4rOb6A5MQ0jAYuAUvbFqHLs/0bfUBSt/AGayaLqvj8cOe9wseicD eha7XUG0itwQO/km0MFNoJLw55erzhnIlo0m49u0BdfKTFNqK5MeECDcIseHLw3Ne58B o3lW3DMAOQCbZgr94PmISowUkZwkXW0gD6NWDjpk6HWdSsv1GKhz+XPrx58OpD0jw1Dy HpHKvdjwSi46omXHbV/SIlgDIejfHn6AoiYMAGo/vPEgmA8GgK8TmU4QqVogB01x1qMH 2vwA== 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=oSEQrw4mhcPxa7ZRyjeV+zh0S8mxURHBDWDQBmjbbK4=; b=CZhhVqnLd3Vx5l2qr6OJvHXPaykU6rQAW/0DU9Bzz4yntOdicq6g88XAi2LnSJnujb jmo9cAlwg9T1Mzsd4u10q7bFIgvk7lWWfNB8E5kuY7ow9A1pBvwi7+KYxGmizIcsp80z 6/Ak1FT5qumuF2J/InC3MN6oVCHN2pNcvkpxOCMyAyU+UIRw9GEy7UgSrCUA47n5hVzU //2+neesSGVmIP5n5jZ3M5B40sPq9jflikkFpePbq29PjVoX/MtwitwIGSAdgdVoEEtB /55SRldisHZKoeiDPbVo3v7CZRzubhVXxZOF9B0evUhBD/cHkl24zFEKfbh8o3dTEkxk ORWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AqlOOA0F; 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 e14-20020a170902ed8e00b0018659963cdcsi9853707plj.514.2022.11.07.11.11.09; Mon, 07 Nov 2022 11:11:21 -0800 (PST) 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=AqlOOA0F; 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 S232215AbiKGSkm (ORCPT + 94 others); Mon, 7 Nov 2022 13:40:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232180AbiKGSkT (ORCPT ); Mon, 7 Nov 2022 13:40:19 -0500 Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9026520198; Mon, 7 Nov 2022 10:40:18 -0800 (PST) Received: by mail-qk1-x72a.google.com with SMTP id s20so7721932qkg.5; Mon, 07 Nov 2022 10:40:18 -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=xRu43Y9LH0+WNQ/TG1eG9ixtScwW9NrVm9JZQ2ngwxDFa5+Mg2aqhA/z7IdLrgQdEt isdgAWVDIhiAJ+ef+B9ravgVQ22lZ5PWrpo8BwVl1wK1FzJg8c2gD/bhdW/bcbOld4It Xqvz+A0TVD1UXTXtyUqmnt1yB6/LVLZHx0UGeeOzy6UvTWYoi9JcKTDp79E7kBg+sIGp x/U27AUgTKHm/4aiajQOOag46jvpzJ1YT93zhPiQiRsWijglPjlwwmF9wZpzK5k4xNH/ 9jHdX0vu0ynI9yW9f9WTdvz30aiwFgmqnUznFlfj5ZVNtDXnw14sPHCyjreZO1ViXsR2 GeNg== X-Gm-Message-State: ACrzQf3mdjmiQ8WSRmy5OpRueAtgWR8Swkvf0/uHPeIJysYKmpPH75NA ZflgJVbHY34P1KnqBnBMKr8= 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> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,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=ham 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 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