Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp502396lql; Mon, 11 Mar 2024 08:51:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWHFl+5PlC1hEZK+fTAOUpX9b+UWZnGkpa4UtZAhgtW8q1hkAg4ApNKoNydOzneXxPBHniYvYzOJ40LrlMlit903r1N2dFjaBJklpCG3w== X-Google-Smtp-Source: AGHT+IHzUvzX/RQx2IfbqxI0Zr1B/D9wFGVoa6Qm7xV/ZGCQWEnOEYQGnifUJ3DtWZJacE+xwljN X-Received: by 2002:a17:906:8318:b0:a44:dd9d:2992 with SMTP id j24-20020a170906831800b00a44dd9d2992mr4222055ejx.65.1710172298648; Mon, 11 Mar 2024 08:51:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710172298; cv=pass; d=google.com; s=arc-20160816; b=NrMvD2K/5Qek8p1RM/VM/piQI4Zm6SH58SpdJHRSo5dA0l+Y66cL2bQ4ZXmjqkixuw uJdJXVeoSud5FdwBD9WYqRAqyZcUkdsEbKkuEBXUkN93aJDdxuKnR1T3l4D6hIbp9ndq UnNUyrlLmZwELPCxd2txw2gZLDBJSOQEbpVUs7bX7xTP5xImU0ELYbN3EGw6KKrTr965 3w9pEGz5n3sTyeBnyenssAnxf+aEBP+NILDMaTuxpJ+J1J6OMxODSIWZv5whAn+B/W5+ O3aE+oXR/zFqGLkx4JLwds94JoufxCccvVXvsA/3fCj0450kYhpN7YEWtzmtBBAQyZit /93Q== 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=e4qTPaRpQdv8UBWsVBXXdHeMyXUx06WzCcoAM2+Pqq0=; fh=YL5DNUcEMSLUuewpjd1gAFE8ONkyMdqTNBIZ0ExjbVg=; b=cu0fMl5smICgw+dbYodgilRFkMX2/wX5bkcpTgJkFN+sMrU497rhU606COZ/noRNOi WRWBS6dOlh7JZYDqzoAMkPc/MvL2ed9+QhJawH4AN9v16dDbMAQ+pEg56hmMWP8mvFNj j5GpkBY2di2xJo7lIcr5aQsVuzUjzmA5V0fWmHoejWMwmNXRH7AOZOwlxaxxvPL216b5 HqXseNTtN1pi1EsZalU5QlEyYlnGoLWdTJugq/tQIiirnsQ9AOvtmmGWkL/JcZKOo37U 8ahXPq5+tNzXqXapdPeeT1Ejl7EpcWJ7EjIIOOxivb/ybb2sC8FeDIDtooccbVHAOyuz cDMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kpGMOAXp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99157-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99157-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gt9-20020a170906f20900b00a46002ba06csi2477482ejb.907.2024.03.11.08.51.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 08:51:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99157-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kpGMOAXp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99157-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99157-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 607711F22720 for ; Mon, 11 Mar 2024 15:51:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F95845974; Mon, 11 Mar 2024 15:51:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kpGMOAXp" 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 8F3554122D; Mon, 11 Mar 2024 15:51:28 +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=1710172288; cv=none; b=KUOypfXMKv3iE6R3dMLXBl1hkCEEFbBNeyWOYWRFLZ8kfBn0xI7nPDE8ahUs5wpDTlywEr93p7F67iMTlhkF2u6ISclGeHQCMJwHMRVZsG+ygwWrCK/DbATnvJrcW7n/kKdWNV/GL93dKPfRUfww0TRCBJPyqmMEus/O8/NIPOo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710172288; c=relaxed/simple; bh=XNWhsq6o7ciElMMRkGWuW4CuG+Gx1UWKBsIqAvIJeAw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=KtFK7hxPntoExM1XF9kgwTTp0PQ2amfIqX5Vf9gEGzWBM+HUHC1jQshPR233lvucnSfavV41DDN/6+WEFKvFnG2b5HoXl7oxWrKWeHwYweWgcfi8R8GtYcXHTd66f/sNC18Hs9fZAJLWb5RmIlVc4jhZcBeBVpu3cIYSMNOg9VE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kpGMOAXp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B4A9C433F1; Mon, 11 Mar 2024 15:51:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710172288; bh=XNWhsq6o7ciElMMRkGWuW4CuG+Gx1UWKBsIqAvIJeAw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=kpGMOAXpJd25+8/IDUvs7hkHrVGyOW6NfVYglOWk/RwNhFzrQ2GSeud23Rm9VZO7R 9F5zSzq4yGwAucDuKT86FY5pN/TzwGALGUogfrEKZkHdHumPRyPbO2WOurexMIkB2I 8Pij0GupcDlvtw3rJSwiHrbT9o6scfcuhAm+8gMiPtZl/A0humI6ohxO411uSVmH7B Twz+tHq368LwzdhzMxzrcM16Bvx0rQCoFcnWWFjhov/kHYK8H+GQoUxJjGxbIF8bNL cVLLGZzvcUy1V2KMIGmSCjMOuqnEaNyO+hgyWmE69rKeg4/ntNG7NVC0hKay5M4u8/ e67Ax6Uk7zMiQ== Date: Mon, 11 Mar 2024 08:51:26 -0700 From: Jakub Kicinski To: Shradha Gupta Cc: Haiyang Zhang , Shradha Gupta , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "linux-rdma@vger.kernel.org" , "netdev@vger.kernel.org" , Eric Dumazet , Paolo Abeni , Ajay Sharma , Leon Romanovsky , Thomas Gleixner , Sebastian Andrzej Siewior , KY Srinivasan , Wei Liu , Dexuan Cui , Long Li , Michael Kelley Subject: Re: [PATCH] net :mana : Add per-cpu stats for MANA device Message-ID: <20240311085126.648f42e0@kernel.org> In-Reply-To: <20240311041950.GA19647@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <1709823132-22411-1-git-send-email-shradhagupta@linux.microsoft.com> <20240307072923.6cc8a2ba@kernel.org> <20240307090145.2fc7aa2e@kernel.org> <20240308112244.391b3779@kernel.org> <20240311041950.GA19647@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> 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 Sun, 10 Mar 2024 21:19:50 -0700 Shradha Gupta wrote: > > Seems unlikely, but if it does work we should enable it for all > > devices, no driver by driver. > You mean, if the usecase seems valid we should try to extend the framework > mentioned by Rahul (https://lore.kernel.org/lkml/20240307072923.6cc8a2ba@kernel.org/) > to include these stats as well? "framework" is a big word, but yes, add a netlink command to get pcpu stats. Let's focus on the usefulness before investing time in a rewrite, tho.