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 6F38545A78; Tue, 15 Oct 2024 21:13:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A6BF40144; Tue, 15 Oct 2024 21:13:10 +0200 (CEST) Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) by mails.dpdk.org (Postfix) with ESMTP id BDAF9400D6 for ; Tue, 15 Oct 2024 21:13:08 +0200 (CEST) Received: by mail-qk1-f179.google.com with SMTP id af79cd13be357-7b10f298052so280101685a.1 for ; Tue, 15 Oct 2024 12:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1729019588; x=1729624388; 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=4XvBouYQ1IG/M1tXzy9UeYA8nYaV5u3Z8jj3p/hjwDo=; b=YPCpzHEqbGFf80kewaxP/CX8w3CfnoySWx8Anl+EwjdPeDifaISPFwb4AO1rNcypZb xtJEXCzr48PanN/T1l1oWbEKlIfhcHR8ijDxQ8mYRMWTxCp9oWIRqAGVgOtJEpLRmEwL 5sMItrskIJbGFTqFutP72bhl80FzSzi+HSbPY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729019588; x=1729624388; 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=4XvBouYQ1IG/M1tXzy9UeYA8nYaV5u3Z8jj3p/hjwDo=; b=CNVYo7rjpShbyqLzwX0WD4ML8BJdF7Snf3OXSQ0tuhaic/pgP2hldHLXK6F2Y7aM90 GZMAtQKW7iYlKCw6BGfpHNdofkx+hQfMf0/hsjJe8DMxM7DCOWfx0WnO5vm9mfqLECh3 neitT6EPshuv/qQK2XIMg5o94rv6qwnbBRGRnZ1dR/yqXuX8vdaP/i/HJRQHMDk4YnEw VlBAIKX/8e1CAHWqm0k4M43+L4b9FPv4cKC9NJe/jpSJw65bVTg1GToHYtpJD1vMNNZ7 Ln4P0I/Us6WYCaiNT6qspcOug86IT+ebcLf1G9ffBQMpxUZ+QqWVdv5R+UpMN2hYXokU o+Eg== X-Gm-Message-State: AOJu0YyVDlWi8+PGWanW2HTD4upNVLPu2xO6b756wNqW/FsqnoVmXlHv nuyYtq1y+6Myr+MosOJWwkQ+EP6MctyW+CwDElzyn7jm9dPNhkhY5RfgoKKWL5Q= X-Google-Smtp-Source: AGHT+IHWk3RAMNONB/tZwUqzulatw3V1AndxR/vlctJZ9iyu1/1BdXApCPNE8I/fzlx19rrKF+gJ0Q== X-Received: by 2002:a05:620a:2682:b0:7a9:c0f2:86c9 with SMTP id af79cd13be357-7b1417b326bmr165216985a.5.1729019588014; Tue, 15 Oct 2024 12:13:08 -0700 (PDT) Received: from dean-laptop.iol.unh.edu ([2606:4100:3880:1271:f9bd:24da:464d:6294]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b13639512bsm102365485a.77.2024.10.15.12.13.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2024 12:13:07 -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 v5 0/2] dts: port over checksum offload suite Date: Tue, 15 Oct 2024 15:13:31 -0400 Message-ID: <20241015191333.12947-1-dmarx@iol.unh.edu> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20241014182320.31125-1-dmarx@iol.unh.edu> References: <20241014182320.31125-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 v5: * Added an SCTP-only test case and removed SCTP packets from other cases to include a capability check 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 | 274 ++++++++++++++++++ 3 files changed, 334 insertions(+), 1 deletion(-) create mode 100644 dts/tests/TestSuite_checksum_offload.py -- 2.44.0