Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp94299lqh; Fri, 3 May 2024 14:39:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXM3pTwBoWzXq477heMT23cg2o3Qc19C9LelK96AcCM956F3tTw4TpN656oAf8qEuj+XJ/8JklbbvVipCUALB3XShdYrhEw9b8kjKX1tw== X-Google-Smtp-Source: AGHT+IEeAyQcQuWDtlGzjzw+l+APH1z+KUur6YsKPMaJ3vx2STOuYTULgSHP+nam5WjXhKPhlff9 X-Received: by 2002:a05:6512:786:b0:51b:de3a:33ac with SMTP id x6-20020a056512078600b0051bde3a33acmr2537160lfr.59.1714772371159; Fri, 03 May 2024 14:39:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714772371; cv=pass; d=google.com; s=arc-20160816; b=w1RVYZ/CjNUHARvZX0G3pxUsGyz7Af4w6HQ0gRhiu4Qowq/Tg83IunRcXS0SDkaVhL ZsuUMEsCkjZaBlDGEHF26X2+lU7fQBTlpYBob/e4xMv2axp4ZcvK1D0N5j7KE8YscUVK nVqWZpyX9gjqkyFB9Qn22Y52yZxMLtqrCMqUs9PlriYTZ1/lnaw8HzGKC+EcSKHPm7Cc hpyur51cu5kiHoLeHGZbcPt/IThaWsiyptN9TZ2jcx3BU0i8Cs0SFXkdZ7CSXqgqwznr 8ZEgm9XiegAen3/ZYV8jD1lCzKcS1BGxe6x7ttqlLOVXnmF0Fh4BWIggw2G6LSr2wRDz d/Bg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=6Zumu7CQKew7w3UsPyTtBdtjgLmbA+TQhAKJ4W9l9RM=; fh=cxUyqxM9BLPr5G/PV/6GIuweadPlhc9J8ZoVmafUgW0=; b=m9VSgsC8RDb6pDH4xOheDGMdn0mlwFgYPaAmLX5LBjFlb0eXWe9G+iOlVmbMLKnB+B PI1XdJ+ld930rzFgSxNVHqDcfwreBvDe7VTUUyeRH2jVGN1dYBn+vS53eMLb8R2J3yDF 0LRn5ZGW472IzlzH5IpzdnwzAWHMKjnX80zIT4/rJnVVc0zEbqCcetveheAMHCY+tlju 2xv6T4LEwIdZV2JowzV7aYM/toSLsNa991i67K8j6xtVaSFYVKNwwRCgFCD7BKvLtwOi 3LRV/Il2VvI7m7QozBvGoa6ZKBYxp/grpas3fNq4q0VKLxndX3SihknKVSmcqHXfP8lL mlug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H6yvp+1o; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k19-20020a1709063e1300b00a599a892211si688661eji.1040.2024.05.03.14.39.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 14:39:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H6yvp+1o; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D3AC21F21F8A for ; Fri, 3 May 2024 21:39:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85F5812FB0A; Fri, 3 May 2024 21:36:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="H6yvp+1o" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1F5912F383; Fri, 3 May 2024 21:36:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714772216; cv=none; b=ene6OZUkzD9ZlJITj8Eumza7C4uLR15LndlAlgFiPnZE7r02eyejzm7iWe9C+xnDPmUNQGC7GNDg02paXBTwVLmb8O+233O8VwXlrmCidUp4RNITkDKWBWIxBs7jNU8PC86DW9sxqtRLtgINF9dtOEjOm1EKylDyKpsjj1HIRoY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714772216; c=relaxed/simple; bh=oJxbG4iY5MyfxFSePgZ5OYJPB8lo3UrJt32E8U7juLs=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NQd2t2ik4ItDv3x3tYopr5FUYvGI4pae8E5/PXPHxHWUDcx9f9BmoBlSCikGnHlDIC8rkouuB4zg3txYEqtQlp2RC1OpMIzZx8N70GdXRt+TwB+ZhrSTOwTIlm2mmJR+8C7+so03+NlVeZGF8o/ozSpWBk6snhWOfbxAEQjFBEc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=H6yvp+1o; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD247C4AF14; Fri, 3 May 2024 21:36:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714772216; bh=oJxbG4iY5MyfxFSePgZ5OYJPB8lo3UrJt32E8U7juLs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=H6yvp+1o9rEoCh6PRS62OY8NaRXlf2To9Z940HIrR8qjT10QbMU2zhYGIr7kB+pIl znh0FVGv6grs9F3m0S8MonRqJE9be4r/dfn4dsWIPQh5jYQnsPEBZstx6kBxew8IBt 9t48TZx6ngGRGeMcHrjww+zxIGK1xMSkaOXFN8W411C5BI8rAr35QrjF7cgRxtGyss ysUHH9rME9fPa2t5AJYITgTBWemWaySP4SGrHpxbXNBC7Dso3Ju2m93M2hTAOLRGaO bbyILPq6arDtav+jI+XF0VaUpQXpos+ozYNvqiHGifulyDiCciaGtpTZ6l50dyshCK LXtrK7+sJcAYA== Date: Fri, 3 May 2024 14:36:54 -0700 From: Jakub Kicinski To: Florian Fainelli Cc: Heng Qi , netdev@vger.kernel.org, jgg@nvidia.com, leonro@nvidia.com, Andrew Morton , Tal Gilboa , "open list:LIBRARY CODE" Subject: Re: [PATCH net-next] lib: Allow for the DIM library to be modular Message-ID: <20240503143654.6843f43e@kernel.org> In-Reply-To: <60ac51d1-da8a-4108-97c0-2d1ca8dc997e@broadcom.com> References: <20240503002540.7154-1-florian.fainelli@broadcom.com> <20240502175815.4f1619c6@kernel.org> <60ac51d1-da8a-4108-97c0-2d1ca8dc997e@broadcom.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 2 May 2024 20:19:27 -0700 Florian Fainelli wrote: > Looking at "[PATCH net-next v11 0/4] ethtool: provide the dim profile > fine-tuning channel" it seems like Heng took care of making all of the > newly added functions EXPORT_SYMBOL(). The only thing I see missing is a > "select DIMLIB" from config ETHTOOL_NETLINK, do you see something else? I think we refer to the default DIM tables from net/core/ to clone them at init time. But we can move the init function into DIM itself. That's probably for the better.