Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5802012rwb; Mon, 14 Nov 2022 09:36:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ZVbZrIMD5c5OGr919SJ5o3ImiII9BMYQP98/haeyl1njKXKtDkRqGHZ9VWULSqmXcBR9k X-Received: by 2002:a63:135f:0:b0:476:a62c:b2a6 with SMTP id 31-20020a63135f000000b00476a62cb2a6mr920451pgt.588.1668447418946; Mon, 14 Nov 2022 09:36:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668447418; cv=none; d=google.com; s=arc-20160816; b=TlOnlY53oATjuGAmjUKTunivGUexEBZI7oJJrvQ3YbyenDE6DeVHnOrjjfBGcjC/jb tF7P+iY/PiVvgXg9fHkw+iISWppjtbIqNBMyH5K4dDtLWkDXX1nRSPWbiuoTfdJqXPzL 8f4wgx2LYPmiu8nTFlFpSWT/gfOdF9hFdMPWoSEGomt5r0CFJZT/JKY6+qwUUghtxh7E w7wLY0XSBkAMh9n9b1X0ga9bF3RGAel3YcTTbQsugfHXTXGTXSiWFPljNmjx1OTmxJHL dHUl/rxcGAt2sTx8nUe2ufWr2EZh2klp5cVdw+aLzRhUlNBL6FxujIfh3xBcoNnVr+/+ P2NA== 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=ktBBLTT3vSliP/exlkdDZyhEYwd2DSgNnMzZXpJJ7W8=; b=rncUOm+bwUdZLL1e2Ze7SGTo6rOdnDr8beAauGIDcmleV8F5epPzQe6VqTHDSB6hLk X/u/sGJDYro+EwE9XXOT3IzqduPHKdsLq9TIi9zTx5tGoXT7OwQoXFlG4balD7TMxQhj 5iefYu06DMVDed84Zk5jHwKbxls/NJZEI6/HNm134A2o4eAnXsA5LnPIZ6EhHTB7HhI3 8Z/7kUermx7x5mOSo1JEnv5p9zf3OOCPA1Tu5zmZkNBq2F6x2of6U7tuOMPHMZx2axs4 SK1ThPl14qC9iDXJXQALfVwpCGdTbf6K1dfoarT7Ra48qb25+Dgu/2jxRsZfF1pfGSNS FDMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HZuPUSrd; 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 t10-20020a170902bc4a00b00186ab03eebfsi8739532plz.418.2022.11.14.09.36.46; Mon, 14 Nov 2022 09:36:58 -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=HZuPUSrd; 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 S238143AbiKNRAU (ORCPT + 87 others); Mon, 14 Nov 2022 12:00:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238139AbiKNQ7w (ORCPT ); Mon, 14 Nov 2022 11:59:52 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 147862FC07; Mon, 14 Nov 2022 08:59:07 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id s12so18219947edd.5; Mon, 14 Nov 2022 08:59:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ktBBLTT3vSliP/exlkdDZyhEYwd2DSgNnMzZXpJJ7W8=; b=HZuPUSrd8qXjxX3o0nHA4aQWN50i4yDSsiEHuuvdnZJKmk+2eJ74UY/x6wy9xLCFs7 5d5DuSQNIX5DwL8A1m5P3piV8kYvQc9jMxENcp5LPPLD6TwXhYBbPy3KU6Bco2cjft29 Xhgyvhi/ftRXWR/baep+rNIE+7aAOIT0ZAXa9HySYvG/r6t3/j2b+o2Sv2vJGvLBDkMg Ig4kRnM4rF3RCkAcPeDtHm+zOTnXJMLrgurt03e+WV60bqHyx7glPIFFy4+mroR0RHVp +2P+tqpz/CTD78/LXRxjRK1UDgr00MLFHiZ4b4vNq/HzlFLmJdbRp0CZ938xVfubuq1X gXjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ktBBLTT3vSliP/exlkdDZyhEYwd2DSgNnMzZXpJJ7W8=; b=KWsGL0lo6t623V2Gsdjps5tGyBmswE//BCT/DiFXQmKh5RdaGOHn0VJiCDpJrzUmXH +JwRhaA8vBQ0dcauTbozHNrA4lnhH+wluT8cKikdubHGPbHBRGFFRqs3fCcL7EaavHI6 HLqb9DHBNMMtTTGLkJQqjqYwbDohGdP+SrBk5xdQ7FgmB2xuxo4R+UteM2v8G8BG2JnY IvZfBulycSTjjpgwRiGoe7vrjbiWjrqBeXZibQILd+Mk6wZGEWwh5JMkn2Dz9W+ncjfM tF7ojOASZ/Xq9mn8W6zZGlYxexIrI8g2fX99NmuLMqZPUryjabGQx5V/LO/+xGY/Qfs3 uHIg== X-Gm-Message-State: ANoB5plvN3ZxS2CTmVbTbQXVNVQA673aFO+/1fOTqBmRL/2GnuHJCyiy 0CSnQCduIupPGTjEL0aLoloXyAvdgGAF1Q== X-Received: by 2002:aa7:d793:0:b0:460:d1f6:2917 with SMTP id s19-20020aa7d793000000b00460d1f62917mr12193750edq.207.1668445145415; Mon, 14 Nov 2022 08:59:05 -0800 (PST) Received: from skbuf ([188.25.170.202]) by smtp.gmail.com with ESMTPSA id w25-20020aa7da59000000b00463bc1ddc76sm4971101eds.28.2022.11.14.08.59.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 08:59:05 -0800 (PST) Date: Mon, 14 Nov 2022 18:59:02 +0200 From: Vladimir Oltean To: Felix Fietkau Cc: netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , Florian Fainelli , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v4 1/4] net: dsa: add support for DSA rx offloading via metadata dst Message-ID: <20221114165902.zqkx32qlrkolcjxb@skbuf> References: <20221114124214.58199-1-nbd@nbd.name> <20221114124214.58199-1-nbd@nbd.name> <20221114124214.58199-2-nbd@nbd.name> <20221114124214.58199-2-nbd@nbd.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221114124214.58199-2-nbd@nbd.name> <20221114124214.58199-2-nbd@nbd.name> 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, 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 Mon, Nov 14, 2022 at 01:42:11PM +0100, Felix Fietkau wrote: > If a metadata dst is present with the type METADATA_HW_PORT_MUX on a dsa cpu > port netdev, assume that it carries the port number and that there is no DSA > tag present in the skb data. > > Signed-off-by: Felix Fietkau > --- Reviewed-by: Vladimir Oltean