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 1FC8E4586E; Mon, 26 Aug 2024 23:22:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C92F240B97; Mon, 26 Aug 2024 23:22:32 +0200 (CEST) Received: from mail-qv1-f49.google.com (mail-qv1-f49.google.com [209.85.219.49]) by mails.dpdk.org (Postfix) with ESMTP id 1F6B7400EF for ; Mon, 26 Aug 2024 23:22:31 +0200 (CEST) Received: by mail-qv1-f49.google.com with SMTP id 6a1803df08f44-6bf92f96f83so25769346d6.3 for ; Mon, 26 Aug 2024 14:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1724707350; x=1725312150; 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=DQWIkBiUCvB7QYko0AWL0J9oOLfFhd/fdsDhM/s+DC0=; b=giVjqmR3iRAnFnbJFs9bUN+PdudDmI+fuJyTZz58m1Se7wkgL+d9YNxdXRbmptofq6 Z4gVm/zNgaSkb17Ze7KG1vpe/IXXNVlEqFLq/6VBbXigndnXX6X9Q/v4KaI60dquS4wC yRSCkUgMTpjhHfeay4A6VJjO6GAngYkzhu61U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724707350; x=1725312150; 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=DQWIkBiUCvB7QYko0AWL0J9oOLfFhd/fdsDhM/s+DC0=; b=ppBUf1cXX2UpowJ29vVZejFwJFaZNasYycjpaor+y32voGTbaqbr83xKJ7swRsNTfC 4rCR2s2YWHuASJH4MN0i8KA3esmz/iKDrvc4pw+Y5dN/wMtwwdczJ/Hc9dttcHL9aYu/ 0ggkL3iBAzYOvqPhhPSy/TK3oqjSPERa4s7UTGDsSBUkWY4+nqeeWXta4hASRyGzVQND /boyuBMvdFA2P08448D/5Uij1Vq+yqlwNMIBQzixfRgwoR3IaWWKu0Dp70gvITU8GaYL Eu+CQwG161aVih6v/F18VL1AIbUKAS7wDcdpDJgQPpEqWiAhh4vxtQCENiiWj434x3gM HLjQ== X-Gm-Message-State: AOJu0YxFi1Vgw7jc/ShUpqtHRsPyTyGwvKU9MrxRM/04RwQCCuqzNG60 A5VADTi7rXhB/xSHn/fE5XxAw3XqyOhJ7NVhRJ6LvftBZk0hmBXjDSx+tL1tpU4= X-Google-Smtp-Source: AGHT+IGbnjoa1zC7MjWalQ4GWYaunQmUGzU0ADFEc2EVR7YmE+h9wutLPOFBhMRyRCO1LLiZR8pwTA== X-Received: by 2002:a0c:ef90:0:b0:6bb:a329:5dd1 with SMTP id 6a1803df08f44-6c16dc9531dmr105124266d6.8.1724707350287; Mon, 26 Aug 2024 14:22:30 -0700 (PDT) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1210:52ef:3eaf:5f1e:6f6a]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6c162db0c18sm50192046d6.96.2024.08.26.14.22.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2024 14:22:29 -0700 (PDT) From: Dean Marx To: probb@iol.unh.edu, npratte@iol.unh.edu, jspewock@iol.unh.edu, luca.vizzarro@arm.com, yoan.picchi@foss.arm.com, Honnappa.Nagarahalli@arm.com, paul.szczepanek@arm.com, juraj.linkes@pantheon.tech Cc: dev@dpdk.org, Dean Marx Subject: [PATCH v3 0/2] dts: port over checksum offload suite Date: Mon, 26 Aug 2024 17:22:48 -0400 Message-ID: <20240826212250.26993-1-dmarx@iol.unh.edu> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240821162550.1163-1-dmarx@iol.unh.edu> References: <20240821162550.1163-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 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 | 51 ++++ dts/tests/TestSuite_checksum_offload.py | 257 ++++++++++++++++++ 3 files changed, 310 insertions(+), 1 deletion(-) create mode 100644 dts/tests/TestSuite_checksum_offload.py -- 2.44.0