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 4094DA0542; Fri, 18 Nov 2022 09:12:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3B21140DDC; Fri, 18 Nov 2022 09:12:08 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id A5A794021F for ; Fri, 18 Nov 2022 09:12:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668759126; x=1700295126; h=message-id:date:content-transfer-encoding:mime-version: subject:from:to:reply-to:cc:in-reply-to; bh=gBugCLe589ky7FtoD7BjSIw2F2/07cKFfTHdOlZIZuA=; b=cjtCjz5Dt7W/0SSc6zmSPuZtNAHIUk5Ek7trcOECKL9JgQJnjK6TFfVo lyf+mGq5LdG3dJdHNENsTh32tF3Y1QCchOo3aiV7cTHiiGqxIIkPYpL4t wWqhsrHYhPHQjggzR7Smuxofyz/AdvKFnlZ+KfbdA7vi4IeSTbs6RIvAC x95BE6KZt22g9y4+V6yg18f9K39jFWv0lMPs/X8SSC6dXzG9v4DCXjJ9I hAUvNfgh3DnuSV27AllFrFm0FcXhKwSGXE0JAw4B1lL2g8ddkuD+0e0/+ iMspO8ETDaxlwaVczZX0jMdAlQtBt6gBE9Dd4jeHWqY+PFROdvPn50XVR Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10534"; a="310714646" X-IronPort-AV: E=Sophos;i="5.96,173,1665471600"; d="scan'208";a="310714646" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2022 00:12:05 -0800 Message-Id: Date: 18 Nov 2022 00:10:34 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10534"; a="617930861" X-IronPort-AV: E=Sophos;i="5.96,173,1665471600"; d="scan'208";a="617930861" Received: from dpdk-lijuan-1.sh.intel.com ([10.67.119.225]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2022 00:10:34 -0800 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [dts][PATCH V1] tests/tso: improve checksum verify code From: lijuan.tu@intel.com To: dts@dpdk.org,Ke Xu Cc: lijuan.tu@intel.com,ke1.xu@intel.com In-Reply-To: <20221110081050.76753-1-ke1.xu@intel.com> X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ke Xu Errors-To: dts-bounces@dpdk.org On Thu, 10 Nov 2022 16:10:50 +0800, Ke Xu wrote: > Reimplemented the checksum calculation with a non-file method. > Replaced property pks with a local variable pkts. > Renamed local variable pks to pkt as it stands for a single packet. > Use the name of layers as the index of packet to check if it is in a packet= rather than check if it is in the dumped string of a packet. > Renamed checksum_list and checksum_list1 to chksum_list_rx and checksum_lis= t_good. >=20 > Signed-off-by: Ke Xu Reviewed-by: Lijuan Tu Applied, thanks