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 38A1EA00C2; Wed, 4 Jan 2023 02:08:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31E3740698; Wed, 4 Jan 2023 02:08:14 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 0EC9D40697 for ; Wed, 4 Jan 2023 02:08:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672794492; x=1704330492; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=aQA4cfOl739HZh8KGxu0yokcOdcP6Wlh/ZM/6eT9O78=; b=UFdOQy3V3K8apxv4jGi7c7T5iHNJ8TvqLkL9pkIx42B6uQD3N3HfW0LG DYzMYOKtzxDmHnPLH8p/3ToUF9knuY7JqO/tb9uGzCJY6PGPfbcJ6MpVe xMwlMfqjQ2YEFIBpKEoumDgMDNH879KW7k/0r1lB+eJ7BVd3gku4TL3+k nHZ+KaV92fslrqJ1tdB4gMPGk8GMTWwu2yhHATYvIGJcKgjBpBP49d90/ atfUclviedIChCUhlyG0IdP/OpHodIIYaMJHTHyhdqX9NYpKIUy9koL/T gTC8vyfOpOhFwoH8XwgX/t14gbLI1uFFWCd9F7YJNYdVC+jwGfo3uyR/d Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10579"; a="320511001" X-IronPort-AV: E=Sophos;i="5.96,297,1665471600"; d="scan'208";a="320511001" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jan 2023 17:08:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10579"; a="718288817" X-IronPort-AV: E=Sophos;i="5.96,297,1665471600"; d="scan'208";a="718288817" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga008.fm.intel.com with ESMTP; 03 Jan 2023 17:08:10 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Tue, 3 Jan 2023 17:08:09 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Tue, 3 Jan 2023 17:08:09 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Tue, 3 Jan 2023 17:08:09 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Tue, 3 Jan 2023 17:08:09 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U1pvPHOOSvDBdnTfizJY5NpyuSVLSORCjdr4yErnCnsdguMDgzYGLriekBoIcb13twoRmaFf/ZZu6lSOX6XRCcKpQmwcMLu3R29wXBQ0ToKA2LprmCCCpl2ySXWnp1Ge/B9E0q9bn5MaVg6tykPPcUS1Zc9ppwGEJSm1lsu9GhsIsnM3TGhTO6tt1l+STmJZY0jqm3VPKLhai/DabT0xBgzwN9ugnzh1YoBGwWKqWDP4YDD/uTDCTo0ruQ2f5nxHVybQU+XrEpLofc/neDO+xNB3c4Hoc4hTXljzdDmgzqyAE14utfIZlHUHm3YpRHy3yCskk0+rDPxh+Yd9Co6C0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=W0XvzZPZtm6VnSigExJAIJHD6YR+67NOjhps5jl+n08=; b=UREenH65xvXlctGA0a5VHvo6WXya+uMwpbyhQiGmNWRjV9qc5i0XtAAhqk9uSZrvJUuKq9MnJGLD2aPgiWbHFB+WM2B9WbZh6IzWVHaWCNdYVMmOBywsLFv/EEeO7OQUeMgoDAJRFHHrCmDtJmdCNei3VRF2qcOLAf4hKpVq4eZVF+4CaF1nWjLj4olQoQ3k7lM8lU0eOy6bVvopReAO7/OBZzfoyo/smUjjUarC3qSUcVJZyDAw7k7IzwEYVEeh4xzibLgPFQ25l0DLIQz81R2qZfkoF3xElUfXg9ETKPN5qT69u1fobEDSqHx2+48ANVyuqJQdiEJexSPHWmFt+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from CY5PR11MB6187.namprd11.prod.outlook.com (2603:10b6:930:25::11) by CY8PR11MB7339.namprd11.prod.outlook.com (2603:10b6:930:9f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Wed, 4 Jan 2023 01:08:07 +0000 Received: from CY5PR11MB6187.namprd11.prod.outlook.com ([fe80::b757:434b:9566:6781]) by CY5PR11MB6187.namprd11.prod.outlook.com ([fe80::b757:434b:9566:6781%8]) with mapi id 15.20.5944.019; Wed, 4 Jan 2023 01:08:07 +0000 From: "Tu, Lijuan" To: "Xu, Ke1" , "dts@dpdk.org" CC: "Fu, Qi" , "Li, WeiyuanX" Subject: RE: [DTS][PATCH V3 0/5] Improve checksum validate and tso packet counting. Thread-Topic: [DTS][PATCH V3 0/5] Improve checksum validate and tso packet counting. Thread-Index: AQHZGnuagR7KnpUPKUy70QSmnOcXD66NfO6A Date: Wed, 4 Jan 2023 01:08:07 +0000 Message-ID: References: <20221228051503.36747-1-ke1.xu@intel.com> In-Reply-To: <20221228051503.36747-1-ke1.xu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CY5PR11MB6187:EE_|CY8PR11MB7339:EE_ x-ms-office365-filtering-correlation-id: 24a81f24-6814-4a8e-0924-08daedf023dd x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mZbY+kodpj3nH00IgvHKZ0FUvfG4UN7GZYUKhq4XIWRJ7ET3Ll2huLM8oOqgOUQt1XItpA+s5u/ydyhvysvhSxZEzAT8K+YPY3+L4XEkPp8biBUgxoWz39stcqVfqHQehRBj53hb6mm1BdytIv3AiF046qZtmW6rf5sPo+eRv4IqnZWk4FMaj82dgq/9UowY1HUG6/VssBDNL6/fLE7/djpQK68274hj1HDuQfI8zRHq5a96vfMLW2JiZknGhWxaMuq7Ygn/ItxgP3pty7Vwa/UmqP4ckj/l0jZuX/PdWr5cNxaHTj+2X7QDxsZyypKAEDL55/t9sYW5x9f5MHz09EKjzZUuIoJ+15k8641XGOHR31Cl7xThjbSf9DEKxC67aEH8wfl0clvpSthKE6s+buzqHNTKcQC4+K6i/Zky2fOa4fvfjw5RawP/1qK2ho7ZLUzdtNVy+CqII0+u+4bn2cRPs+oW+Cd8mGSTOpFXvAZ2CuBLrfdeElD+HSraAZJ12xTt8s6cCC0qEBm0m91LYJKIRjK9KLrYb4VTJW+6eXA0Fh3liRhVfDKSCG82g55B84qJkKQI6EDq0YqWJ90L2uJzQfed1EcKOzHoJYUUdN7xvTLr55M0FRwX2Ba2sM09W35qbMMlQqHAJJIpQDLuGTdfgiNi9Wy74YF+gVQYyHfpD6WqLUVzqyigtyHa+Jj0WLJcZzcnok20Zk2r8IxGaA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY5PR11MB6187.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(346002)(376002)(366004)(39860400002)(396003)(136003)(451199015)(8676002)(4326008)(5660300002)(107886003)(64756008)(66446008)(76116006)(66556008)(66946007)(316002)(66476007)(8936002)(41300700001)(52536014)(15650500001)(71200400001)(54906003)(110136005)(33656002)(2906002)(6506007)(478600001)(7696005)(82960400001)(38070700005)(9686003)(38100700002)(26005)(186003)(53546011)(122000001)(55016003)(86362001)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?waXpmkYpFDjm6Gp2VFwQHKAabHjoVJKqL+0kIzD2dPfYYJdHr0FTcG2k3bM3?= =?us-ascii?Q?e8zhUlrRsiH4EmyqTqq38EgiVmTDUcyHIeqGoQASM1vfe51ox2ZQZnACB6AH?= =?us-ascii?Q?JlA9+9EhBqXgKCEkKSCrdKZmREMER/Qfq8zwRdSP6KkvgK4LVpBw4awniRJd?= =?us-ascii?Q?Is7cLFDsigbSp4n1dlsrOJJQC00F8h5UnpQtfjWPgr7nb/0YNKRS/ZiMxoQQ?= =?us-ascii?Q?45vSVXZuUV7CfCny3FM7gMWiXR+P8yGuJkjml9N+G8x7sl5UJoPFXhgPdDjZ?= =?us-ascii?Q?N0g71ib9W7hGob6ofa1SjqZ97alz9vWxqCK/WdNxHg++EAcrHnCqk6SN2Mpk?= =?us-ascii?Q?0m9oMBF7pTn18eyU/SJbfOugV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oAovIz1yniiB4Bmg54ExQmIE7SWxEdczyy5Z/v1V0kon2tUkhaTcAL3dVBFu?= =?us-ascii?Q?dzvyM/qr7RBT7YumFOQZtd3tY91j0cJ4lT6HTcpAQ8lI9LHYizm+fo4i68h2?= =?us-ascii?Q?p+21eyHtv5GhuxNH0zDeysAWVP3mkguqZHd51z7TzWvXuckRTxj4Y8vnEjFJ?= =?us-ascii?Q?OLBYKWHch6yFRSAnOCNT1/v28utge2VngSGNuytLqKXFMJLXRqEcOQwtuCU1?= =?us-ascii?Q?iouEBiy05Ka4RC5OIh4jzzE35j1glZQPx2q11FBR8ET4bh0814byacHUZBzB?= =?us-ascii?Q?brrykE8LbHj9HdTgJGRQoyx4CxMpdJJ7syZnPzTj?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY5PR11MB6187.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 24a81f24-6814-4a8e-0924-08daedf023dd X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jan 2023 01:08:07.5812 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lDT49FRSEjcveV+s/UPg2bidLNLIiD0yOrLRPXcm5GAbT0VOei10JBH9+MsInX4iYHBdxdQOyokG7TxUB/wbPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7339 X-OriginatorOrg: 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: , Errors-To: dts-bounces@dpdk.org > -----Original Message----- > From: Xu, Ke1 > Sent: Wednesday, December 28, 2022 1:15 PM > To: dts@dpdk.org > Cc: Fu, Qi ; Li, WeiyuanX ; Tu, L= ijuan > ; Xu, Ke1 > Subject: [DTS][PATCH V3 0/5] Improve checksum validate and tso packet > counting. >=20 > This patch updates checksum_validate method and remove the tunnel one. >=20 > Use packet.show(dump) methods and packet reading to validate the packets= in > a faster, more common and more stable way. This allows packets other tha= n > the plain packets can be verified by method checksum_validate. This upda= ted > method replaces checksum_validate_tunnel in checksum offload cases. >=20 > This patch also updates TSO packet checking. Replace the tcpdump > implementation to a packet reading implementation. >=20 > Packet reading implementation is more common to use when to verify the > received packet count and payload size. The tcpdump method is not able t= o > recognize some of the tunnel packets, leading to a wrong output failing = the > validation. Newly added tcpdump_analyse_sniff method is implemented by s= niff > packet reading and analysing and can replace the lagacy methods > number_of_packets and number_of_bytes. >=20 > This patch also removes a redundant variable. >=20 > Ke Xu (5): > tests/vf_offload: Improve checksum_validate method. > tests/vf_offload: Remove redundant variable used. > tests/vf_offload: Use modified checksum_validate to replace > checksum_validate_tunnel. > tests/vf_offload: Improve tcpdump_analyse_sniff method > tests/vf_offload: Replace the tcpdump implementation to a packet > reading implementation. Applied, thanks