From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F130345B3B; Mon, 14 Oct 2024 20:22:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D41C402C3; Mon, 14 Oct 2024 20:22:57 +0200 (CEST) Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) by mails.dpdk.org (Postfix) with ESMTP id 405824026C for ; Mon, 14 Oct 2024 20:22:56 +0200 (CEST) Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-45f059dcc77so48534581cf.1 for ; Mon, 14 Oct 2024 11:22:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1728930175; x=1729534975; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Qf4nQ6P096Co1/QqC4lsr2TC0XKf1+5Hlaj42gzaN4s=; b=HC31WFdSE2MJR5e3ALe5fR+zhPpidk/JG4Omk77V/e1cQo3UkN6tCH2AMHSfsZ34yY qpJ3C1AU/OEAKhNr9NHMb4hdh7bE38iuMrEi6M450BpVWd4zZvNa14/j/xVfb8qDAc0i iriSxqwCnV0OFkbahnoeNdqPJMPHBMyTDY/bU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728930175; x=1729534975; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qf4nQ6P096Co1/QqC4lsr2TC0XKf1+5Hlaj42gzaN4s=; b=wrRrcFN4Q5EXAJzrA6MT1hr+7/h/+N3PfT9h2DJvd6etjCU/+/xWsqScc4t0vT3k20 D9I2ladJqI7gATjSmruKF+89ccUkv8F6M1Y0wKunkp7e9jrZJBiWBEoNO+Qb5RSLtmPr qvkFWDa4ulKtXPEQ/K8cbS53TwD3pLnpnWhwxRwyFOXPqlbmxpyUlh5xa6zHY1f0s+4S nkkOdb3CQqfLjJw5Eo+wd2Hs1RVfxleB7L2z4tiRZhjCLVPBYIZ9nHUFlf0BuqeLCReo o5osFbhsQ9Gho9Q14dVIGKF/Yi+Vefnk6VbEb1XfRyJBRj9WMcZE4r7irynlPoYCZ0zL UEXA== X-Gm-Message-State: AOJu0Yy8ows3a8LCGDMovB4D+HhuY3x7kk9Lmx96Gp1+hzAHpppHTA3q g3hxR27tR022OpaUt+qBVlmIF3JLEOn5CGwiZNVKoh0S9WoiK3zPGM4m1My4xtg= X-Google-Smtp-Source: AGHT+IEFMslvr7DdkuoKszW07SReJulnB/tnx/GRIIrRqyZWpk68OMwiCWhi7ry8UN158VrvtiIq6A== X-Received: by 2002:a05:6214:2b8b:b0:6cb:e6fa:4960 with SMTP id 6a1803df08f44-6cbf9bde36dmr148868036d6.0.1728930175507; Mon, 14 Oct 2024 11:22:55 -0700 (PDT) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1271:f9bd:24da:464d:6294]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6cbe86322a7sm47989366d6.116.2024.10.14.11.22.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2024 11:22:55 -0700 (PDT) From: Dean Marx To: probb@iol.unh.edu, npratte@iol.unh.edu, luca.vizzarro@arm.com, yoan.picchi@foss.arm.com, Honnappa.Nagarahalli@arm.com, paul.szczepanek@arm.com Cc: dev@dpdk.org, Dean Marx Subject: [PATCH v4 0/2] dts: port over checksum offload suite Date: Mon, 14 Oct 2024 14:23:18 -0400 Message-ID: <20241014182320.31125-1-dmarx@iol.unh.edu> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240826212250.26993-1-dmarx@iol.unh.edu> References: <20240826212250.26993-1-dmarx@iol.unh.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Port over checksum hardware offload testing suite from old DTS. The suite verifies the ability of the PMD to recognize whether an incoming packet has valid or invalid L4/IP checksum values. --------- v1: * In the original test plan, there were two Tx checksum test cases. I removed them due to the lack of consistency in testpmd with Tx checksum flags, either not being displayed during packet transmission or showing values that did not align with the original test plan. v2: * Added filter for verbose output using dst mac address v3: * Refactored csum set hw method to iterate over an instance with multiple flags * Fixed docstring errors and method names to be match functionality v4: * Rebased off next-dts Dean Marx (2): dts: add csum HW offload to testpmd shell dts: checksum offload test suite dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/remote_session/testpmd_shell.py | 58 ++++ dts/tests/TestSuite_checksum_offload.py | 266 ++++++++++++++++++ 3 files changed, 326 insertions(+), 1 deletion(-) create mode 100644 dts/tests/TestSuite_checksum_offload.py -- 2.44.0