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 DADD745813; Mon, 19 Aug 2024 16:28:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 55ED240669; Mon, 19 Aug 2024 16:28:29 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 148D740668 for ; Mon, 19 Aug 2024 16:28:28 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 67388339; Mon, 19 Aug 2024 07:28:53 -0700 (PDT) Received: from [10.1.37.32] (e132423.arm.com [10.1.37.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BECF43F73B; Mon, 19 Aug 2024 07:28:25 -0700 (PDT) Message-ID: <61704ce2-7e06-4845-8cf2-8f1d26ed2005@arm.com> Date: Mon, 19 Aug 2024 15:28:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 2/2] dts: checksum offload test suite To: Dean Marx , 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 References: <20240816142031.15150-1-dmarx@iol.unh.edu> <20240816142031.15150-3-dmarx@iol.unh.edu> Content-Language: en-US From: Alex Chapman In-Reply-To: <20240816142031.15150-3-dmarx@iol.unh.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Hi Dean, Just though I would point out a few things. On 8/16/24 15:20, Dean Marx wrote: > + def send_packet_and_verify( Should this not be `send_packets_and_verify(` as the argument is `packet_list`. > + isL4 = any( > + VerboseOLFlag.RTE_MBUF_F_RX_L4_CKSUM_GOOD in packet.ol_flags > + for index in verbose_output > + for packet in index.packets > + ) How does this filter out noise packets with valid checksums? > + isIP = any( > + VerboseOLFlag.RTE_MBUF_F_RX_IP_CKSUM_GOOD in packet.ol_flags > + for index in verbose_output > + for packet in index.packets > + ) As above I also noticed there was no implementation of IPv6/SCTP. Although the old test suite did not include IPv6/SCTP, would it be worth adding it to the new test suite? It was included in the test plan, but never implemented for some reason. Best regards, Alex