Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp496523lqt; Thu, 6 Jun 2024 09:25:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU0APEKY1M144F51AQDz7nEtgbMLQ58sULXqeK4IM1Ni/kiuWnvmTnyJs2eJHsXEOkr6ROvSHWRwfQAcYNjsjE5BU6fB0bfQGt/VW5tGQ== X-Google-Smtp-Source: AGHT+IGAXKCwbIzQQjw4sFnuVlxPOfwr5ywPIUy8MFPu1AbkPE/abfldGOgcqWsBUj0/fLnLtHdy X-Received: by 2002:a17:906:6405:b0:a68:fb7e:f476 with SMTP id a640c23a62f3a-a6cd665b4ffmr5081166b.30.1717691121640; Thu, 06 Jun 2024 09:25:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717691121; cv=pass; d=google.com; s=arc-20160816; b=amJs6hVhAvd/6a5BipxL6tAa8NkM8fbKmbVWw55C9wciN9L4/iQEwv0W1yszrpnzY2 c8t5yYI9o4ZcmANo63DQauIG+BuqW+0bZ7lj8AWUuXqIRL9mRJPF7V+PhWrVyHGrOihp thBLHhH3ESIzv6HY9kz+gMy0LPxthrZ04jwpIsgVk76mpa507CuSJqt2appWkS08VvXN PhFCnyHB6L3DwG4YKNrP/ltyb/IyTRJ9ghSx5Ekfehyx0DTEkSa+RMoX1dJs3X21M/9b rrJ+fr0KY4XPBYshjm+N7+2Ouko6lWYevkkUv0XGAsdaOTJv3vsRcRznKMsEfRsmv9/f pKeg== 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=nCEDPOAoB3PF3LXqu/NlINSITUjYKeO6fLl0X7rpavw=; fh=lhDfECx+/PRemcjWGtRNr4zjRizr4Z5sscvuusuVwM4=; b=hehk7KMZ0RvHGr6etel86OCCDoJdS1HwoNeqR06vnwJwsov8zaabWPnAnLQbEf6Esl ojQPRtricST3vOUdMnOLvva/89O8LDp9OhnC1aOaB2LJutOL615cZ+WGxk55E4RZs15t CWqA2UtQuyLnxLBINNeF/9HCNYdtbOIvvjdf9XF6UoFHWCqijsYwUnD+JEqnhQXOq29b g375eh8DO7A/lsPg3e/rz4LBhT5no+vZKqpcL4ZXZptfpwsrbTL0nJyxi3sQn3oU9sQZ cPsgRx4OAeEhMUrkpvM5yaMcw8gAHkwGMREIUY1ghs105xi9SIVI30u7hgGQseqEHofG 5Wfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MvjQP35u; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-204695-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204695-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 a640c23a62f3a-a6c8074990asi85732366b.936.2024.06.06.09.25.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 09:25:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204695-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=MvjQP35u; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-204695-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204695-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 575481F2443E for ; Thu, 6 Jun 2024 16:25:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 540AD198A19; Thu, 6 Jun 2024 16:23:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MvjQP35u" 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 73B131E495; Thu, 6 Jun 2024 16:23:55 +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=1717691035; cv=none; b=ohUPuQx1p207gAsZ+gMr1PNAC4y6dJY7gHg4tF3iuzh1A6q9wCDnvIPAdf1sL9DYWL2mKlMhwa1+Zapzhgsc19V95zZbP8CWhsI/bYvK3xojMvwjPHNGCdbaDG6Q38jzRG2LeJjvA1r/l90HhzIIoJ3sY2dPaJpNYpr8PsZuGHM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717691035; c=relaxed/simple; bh=OfyrndzLBxJXPZARRdFKfxdMEQKUjt4NmFCK9jKy3kE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=A8yjNIw6orD5UdsN2aZXnrY15130XSKTJMv9i4341HD0b1U3HRntNW3ub7C7eQt89qLnhOx8bzQ1SEgUmxmkG2Kb5lzaxOZXbmLgZnbw6Xmf3XYKYmhdFVxMc4l4KbCcn0J+lif83XucJTUypedjrIME1YIdWje3nU+Ns0DIjSE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MvjQP35u; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50776C2BD10; Thu, 6 Jun 2024 16:23:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717691035; bh=OfyrndzLBxJXPZARRdFKfxdMEQKUjt4NmFCK9jKy3kE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MvjQP35uNLlZFu2pDuJZxY8IqFVlqjuBpv/6fAkRG0fzQNiPGsbVEwD1bOp1n6LuV s2WsaGBcPt9duPaUy6QfHRD8FPOoByAy41iVkERZ8ffAY9+PX6p/iuNFmyaceAhoQy lp5zgPzFLZXZ3HI2tW3/5DsR1nyvh7tQ8hdXkhFf2Unw3eGuidx+51pi1QJX2Ff8wI AkRwZZsB2wDItHkXzz1H1Hnl7ILIARNfVwvb52hegaEf7Fl9Islfu4mbL/RbyKt4Me 5/j7U4j0AHDlELmgeUMwae1nWfB/YcE5GhXarsgmpL8TuDZ4gQX7s5gtlfdK4HLWyn dbhXyh21hLRXQ== Date: Thu, 6 Jun 2024 09:23:53 -0700 From: Jakub Kicinski To: Joe Damato , Gal Pressman , Saeed Mahameed , Tariq Toukan Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, nalramli@fastly.com, Carolina Jubran , "David S. Miller" , Eric Dumazet , Hariprasad Kelam , Leon Romanovsky , linux-rdma@vger.kernel.org (open list:MELLANOX MLX5 core VPI driver), Naveen Mamindlapalli , Paolo Abeni , Richard Cochran Subject: Re: [RFC net-next v4 0/2] mlx5: Add netdev-genl queue stats Message-ID: <20240606092353.31908bc1@kernel.org> In-Reply-To: <20240604004629.299699-1-jdamato@fastly.com> References: <20240604004629.299699-1-jdamato@fastly.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 Tue, 4 Jun 2024 00:46:24 +0000 Joe Damato wrote: > Significant rewrite from v3 and hopefully getting closer to correctly > exporting per queue stats from mlx5. Please see changelog below for > detailed changes, especially regarding PTP stats. > > Note that my NIC does not seem to support PTP and I couldn't get the > mlnx-tools mlnx_qos script to work, so I was only able to test the > following cases: > > - device up at booot > - adjusting queue counts > - device down (e.g. ip link set dev eth4 down) > > Please see the commit message of patch 2/2 for more details on output > and test cases. nvidia, please review this It's less than 200 lines of code, and every time Joe posts a new version he has to wait a week to get feedback.