From patchwork Tue Aug 6 19:33:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Kicinski X-Patchwork-Id: 13755261 X-Patchwork-Delegate: kuba@kernel.org 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 788D6143C46 for ; Tue, 6 Aug 2024 19:33:37 +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=1722972817; cv=none; b=Z8du0Rp/rLK3zyq1qRJlD97unfqcxH6MbxAVUG8Oete4tAgAmxpw1CyBuVplULhDQxVKeM7OdLK+i9ukp8gO4Ft2UuE1gfjc6sFsd0pYpejXMqUfux0OOLqqQdw/j97s623y3Sk+XGiYmTU+io2jQ5VJ1HiKjl/IADXC4PfLtfo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722972817; c=relaxed/simple; bh=KisNNNCfQT3YqpWIenhbN16DNRy6W+U6stCIScrNpco=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CwveLSXtNKrB9vkMXCbAN28H6n8VwEQXOlgso4iIFbWoiREFCl4+tSUtth1cg1r0sd7eC9QoccEtYtD9I9ofP+lQQrnmKyd8+5znohVy+GL8z/EndsLkGg8bJf2AqKYMVVrR5HCFgYkxCLvdNgOwJlzH51Fps4tl0Mz5PW128Gg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Q0OV04/5; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Q0OV04/5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66E79C4AF0C; Tue, 6 Aug 2024 19:33:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722972817; bh=KisNNNCfQT3YqpWIenhbN16DNRy6W+U6stCIScrNpco=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q0OV04/5oNAFn8SxZNolocYJv/ZVglvvjAvvrZgNiUhim/wLQ5SwtNpgyIoa6OAXw 0i1nzEwNatb185OLQws7nHuaeh7iCethmPjDoLgSQWDxekYK5S9ImNnAW9RvtZaPiI yrZv2wGDb/vfx4e4q+X2LhAsR5yrXBRI7wSdp8wf54MKR+izdcBoZSTv2ehr6ke/6t Qik4UGEmFG8lNqWMpvg9Xfd33KBKexTf56c7MG2I9zxcAVX0CFwLhoPFJ6KkzN1e7r VsDZXwW6nbPKk+H0mC+H9aT8K5x1y732KR1F+YRJxGSvfjGfX/v02LfGVACE+864iW VAMyu5rnP4bgg== From: Jakub Kicinski To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, michael.chan@broadcom.com, shuah@kernel.org, ecree.xilinx@gmail.com, przemyslaw.kitszel@intel.com, ahmed.zaki@intel.com, andrew@lunn.ch, willemb@google.com, pavan.chebbi@broadcom.com, petrm@nvidia.com, gal@nvidia.com, jdamato@fastly.com, donald.hunter@gmail.com, Jakub Kicinski Subject: [PATCH net-next v3 01/12] selftests: drv-net: rss_ctx: add identifier to traffic comments Date: Tue, 6 Aug 2024 12:33:06 -0700 Message-ID: <20240806193317.1491822-2-kuba@kernel.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240806193317.1491822-1-kuba@kernel.org> References: <20240806193317.1491822-1-kuba@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org Include the "name" of the context in the comment for traffic checks. Makes it easier to reason about which context failed when we loop over 32 contexts (it may matter if we failed in first vs last, for example). Reviewed-by: Gal Pressman Reviewed-by: Joe Damato Signed-off-by: Jakub Kicinski --- tools/testing/selftests/drivers/net/hw/rss_ctx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/drivers/net/hw/rss_ctx.py b/tools/testing/selftests/drivers/net/hw/rss_ctx.py index 011508ca604b..1da6b214f4fe 100755 --- a/tools/testing/selftests/drivers/net/hw/rss_ctx.py +++ b/tools/testing/selftests/drivers/net/hw/rss_ctx.py @@ -90,10 +90,10 @@ from lib.py import ethtool, ip, defer, GenerateTraffic, CmdExitFailure ksft_ge(directed, 20000, f"traffic on {name}: " + str(cnts)) if params.get('noise'): ksft_lt(sum(cnts[i] for i in params['noise']), directed / 2, - "traffic on other queues:" + str(cnts)) + f"traffic on other queues ({name})':" + str(cnts)) if params.get('empty'): ksft_eq(sum(cnts[i] for i in params['empty']), 0, - "traffic on inactive queues: " + str(cnts)) + f"traffic on inactive queues ({name}): " + str(cnts)) def test_rss_key_indir(cfg):