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 40A38A0552; Tue, 6 Dec 2022 03:18:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1745740156; Tue, 6 Dec 2022 03:18:27 +0100 (CET) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 6E7A140151 for ; Tue, 6 Dec 2022 03:18:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670293104; x=1701829104; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=81zThkjc7GDmxkY0IHJJgmbg/Uk0+IZy/5U+GDWcxfA=; b=joAdVsTNknBoKEB6OAdlkro0mo6rttvxZnfgOjhCAAnP358txg3fPLpv /YLSA0mHEvFforfhKyP0Ial+G4ODqfCj2dEWrMi0svDyPsIF6lujXvNWA fw/GlEpVMhMCBszSPX0kXr/NbCw9OU/LbdI/EMSTDWaEkgH9jjFnfyWCy HR1gZ73whhfqN+qFbfJjdB2W8PYwHgTRBCVy+KniAUGqTNLuJ8dp6pamz +4sXCH9/VIIP/CEb4c6pCC92s0Gx34dsSh7Cg8LH8Et0QJrFeJmaTh1r6 9X95/JK57DJLrGSHz3Nl3O6VeHpwx1oytsmonAm7/QgxGyJyskfcTsmtn g==; X-IronPort-AV: E=McAfee;i="6500,9779,10552"; a="378678506" X-IronPort-AV: E=Sophos;i="5.96,220,1665471600"; d="scan'208";a="378678506" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2022 18:18:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10552"; a="646048340" X-IronPort-AV: E=Sophos;i="5.96,220,1665471600"; d="scan'208";a="646048340" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga002.jf.intel.com with ESMTP; 05 Dec 2022 18:18:22 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 5 Dec 2022 18:18:21 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 5 Dec 2022 18:18:21 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Mon, 5 Dec 2022 18:18:21 -0800 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.41) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Mon, 5 Dec 2022 18:18:21 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OtZcAMEugccEF0D0rHsxS2y5GbI4ZFL4r8r7vuFGpSQkDQvSLyOi7jHjDg7/tDDiYXvrA2ZRnMOa8it50Y3XUp7PvcpcwCseUMqU7l1LGgMkhIAFvJow8OZr4Y6x1BZ7S3xndd7jd0MuiIiOXxJZz3Gb8EtaPAPHtfZJwa8Aj03KnElNdMl+uFmtqmjjY1fddXjxQUnYWvttTEJmzeqB5uz3CnrKqexP6JxP8YfhTvm91BrCI3/POmHScWBL9/uCCek/Q3hv8Hw7GDAqIQwgRwqxX89GrinWujH3rcK+eLgJZO4NduLUN9uAfUGEmZzwkXvkANc46JwULknQ7CzUMw== 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=4v47REeypla/wVPq9exTLbAv/XTv5eg5b3y7bzni99s=; b=ntXnz8vtN40w/BMwG7pKs47QfZUtp8LsFoxixGOWVHko0gTdDTSSO8Mq3Svfy+9EZXvNgxg1cLA1P+Ox5TA/VzEW9nT0nTzD11GaCAnwffNPD6jF3MbrLPqzMau++i7eE+66IEvzeZNbGhzRNPDQlPCsd5CrHRSi8GiG8hQ4BpmAe/MPLkDqRuVWG06Hs9BGs9Ta6OgMzbg/h82zFIlcUjrO33c+DR7nuUfZciNXG/2+lZJkgZB5ynNkbKWyugCX0ObB5yHwhOQ+zi5oWdVObhBarbsv616R3czuzSszC9NCdLbLu2d2U1JaaL+tV7ZL//jnMc5HutNza4frfPm5Gg== 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 BN0PR11MB5712.namprd11.prod.outlook.com (2603:10b6:408:160::17) by BL1PR11MB5302.namprd11.prod.outlook.com (2603:10b6:208:312::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Tue, 6 Dec 2022 02:18:19 +0000 Received: from BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::ce17:2cd5:4d06:bfe5]) by BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::ce17:2cd5:4d06:bfe5%9]) with mapi id 15.20.5880.013; Tue, 6 Dec 2022 02:18:19 +0000 From: "Huang, ZhiminX" To: "Li, HongboX" , "dts@dpdk.org" CC: "Li, HongboX" Subject: RE: [dts][PATCH V1] test_plans/pmd_test_plan: supplement the test plan Thread-Topic: [dts][PATCH V1] test_plans/pmd_test_plan: supplement the test plan Thread-Index: AQHZA56+la4Slwmk9ECFrcP6Ir5cda5gKeog Date: Tue, 6 Dec 2022 02:18:19 +0000 Message-ID: References: <20221129015805.1051611-1-hongbox.li@intel.com> In-Reply-To: <20221129015805.1051611-1-hongbox.li@intel.com> Accept-Language: zh-CN, 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: BN0PR11MB5712:EE_|BL1PR11MB5302:EE_ x-ms-office365-filtering-correlation-id: 5a6bf779-4a7b-4b25-7b16-08dad7302467 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Jmr/FcODHkU1T0mybq7OcwZ8QpA/+Z+Qweuo+bTljK52FL/qmwxD9C3WY4l5TbP6UjwlJ6qZ1iGQ3H/LCGtmUOjemPJ9QRBlqfmJCyVrJ+m5mliJF6jmVn9bzvylRERIwr3T3DV1f5w0wJfSzntwhOmTrdAN+2KzGbntc1RryJ7REoF1MNvmTsC+e1Z+U/hoqUNSrN8Z8H/22VRbyJYpCfkKNoSvB5EGooYua7wVG21VdjTaaiosZHEANlML70KMaLTWrkNkSGXBrxPHmUChoSSMadPtnXumgAJ4iFPY0xkur4AxWe8Dx1SLw8eI1RmUXYQgzGI57N6mmo2YLxR16qUQfaR4PDb5/lbF2viKuwF4psnSrmrAjugbhXgNOFkMfwkCLKdOqYqzMYeFDVJaSTdtcsZTrg/ohGk+JW544QeLYQA+6MRVb/udW9U050VItVdFKb2bulH3dx3ooJ5h68hkIY+6oRdd6bydou+aAPCNs9pK0kZYc3U663vjpEnY7t/J2xVPdoQv0IYEFoWN1F4GCj/12/TkVPpyXosIMNP8UThnCiNCEV+Lmswm0O8xZGFx0GOZ8JQWOZBXnamM0IYIcgBAMZLeyux2x9w/jcKoYRMyZL8XGr9l6RYqj7xZRLIml8hkdHVJVebVL9t51ZOnJgG2OF0vGb4q2ng71kPw5ckZQhOtFP6ceaUDxU6xD8FjXt1/CKNwpCnRLfG0iQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR11MB5712.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(136003)(346002)(376002)(396003)(366004)(39860400002)(451199015)(478600001)(107886003)(71200400001)(55016003)(53546011)(33656002)(76116006)(66946007)(186003)(86362001)(26005)(7696005)(6506007)(110136005)(9686003)(66446008)(8676002)(66556008)(316002)(66476007)(4326008)(64756008)(38100700002)(122000001)(82960400001)(2906002)(38070700005)(41300700001)(83380400001)(52536014)(8936002)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?veiDENeQRP44jPTttB6yfwVL0rp4NqAG9XtXlu0zByu0psTx6iAZz6wOobCL?= =?us-ascii?Q?UHJ3+BJbRgfKj8F+C9O7deo8MWRkGBGPalq7DBzFM9h2Z4Zg867pNTXg9Zez?= =?us-ascii?Q?0GOsM0nc+MUf+gaFFc5CuuRmiZerYWODUed0AAMPOL7TLL4meRksSzSRqaz6?= =?us-ascii?Q?oxurlWsdohq2LYt/3RVPJuQpXfCJpi2YUGLxsAcY3KkmUm/lbpraDKdQPwQg?= =?us-ascii?Q?MNVxAVrSELisyug2V25mTq+UqlHUC+xetnIKuim7w2urhFOrczW4hT7xg6Oi?= =?us-ascii?Q?htTiy2CxXX03kFJExc7ntQgBOLLNRZH1bgGYbKaiH7aV18uLk9WL2jIkyOlK?= =?us-ascii?Q?ivAF0FkkxghhMj1CG/OPAKxDE0dh1AzFWr6EBxC6h+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wD6rTXBIpu0nLMXZbwxhXpEP5bFqyhauwLcRgV0NWUffNvDI09rmW?= =?us-ascii?Q?4/47fT3UF2scHSEIj3g/5vm2S1mnCGMWqrUgc9ZhNo0jyeip38w0AjxpXIs2?= =?us-ascii?Q?HAX+nbj7GZMYhcn6r48ybZ4nmYPXqgeMwvZpdGlcSH/fAj557M3q6QYloxJD?= =?us-ascii?Q?3R9aisJ9tekkq/XR/p8B1zKKaxeBb8QxQL3sq8NflMctf/ti6JDWwKP8HEwD?= =?us-ascii?Q?bFMelK+nRW/Rj3/EshWOynUNhgCadKvTtZ9DH5xa3p5eW5kTkzS1oJ13ZwA/?= =?us-ascii?Q?zi/UMTISvtGqwdFwBnc9lVQ2yInLtCoP/e2C3LpP?= 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: BN0PR11MB5712.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5a6bf779-4a7b-4b25-7b16-08dad7302467 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2022 02:18:19.4885 (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: sOgZA5RM/u9KObXjQkam9jhlRG6+WZnkeCe+CH30GdGPWE2Rnqyt8FwJ7LZ7sfFHh5wzrBEuUSqhuneprabSKQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5302 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: Hongbo Li > Sent: Tuesday, November 29, 2022 9:58 AM > To: dts@dpdk.org > Cc: Li, HongboX > Subject: [dts][PATCH V1] test_plans/pmd_test_plan: supplement the test pl= an >=20 > the case of pmd/checksum_checking only cover in testcase not in test plan= . so > supplement the test plan. >=20 > Signed-off-by: Hongbo Li > --- > test_plans/pmd_test_plan.rst | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) >=20 > diff --git a/test_plans/pmd_test_plan.rst b/test_plans/pmd_test_plan.rst = index > c371edb1..c1760c97 100644 > --- a/test_plans/pmd_test_plan.rst > +++ b/test_plans/pmd_test_plan.rst > @@ -73,6 +73,24 @@ Test Case: Packet Checking > which will be forwarded by the DUT. The test checks if the packets ar= e > correctly forwarded and > if both RX and TX packet sizes match by `show port all stats` >=20 > +Test Case: Checksum checking > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > + > +1. Start testpmd with rxfreet=3D0 and set forward mode to csum:: > + > + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 -a > 0000:18:00.0 -a 0000:1b:00.0 --file-prefix=3Ddpdk_2179994_20221121150432 > -- -i --portmask=3D0x3 --enable-rx-cksum --disable-rss --rxd=3D1024 --txd= =3D1024 > --rxfreet=3D0 > + testpmd> set fwd csum > + testpmd> start > + > +2. The tester sends 4 messages with error checksum, and check whether th= e > message is correctly forwarded by DUT:: > + > + sendp([Ether(dst=3D00:11:22:33:44:55, > + src=3D"52:00:00:00:00:00")/IP(len=3D46)/UDP(chksum=3D0x1)/Raw(load=3D"P= "*18)], > + iface=3D"ens9", count=3D4) > + > +3. Stop testpmd and check whether the l4 checksum error reported by the = Rx > port is equal to 4. Could you add the expected results at step 3? > + > +4. change the value of "rxfreet"(0, 8, 16, 32, 64, 128), and start testp= md, > repeat step 1-3, check the result is same. > + > + > Test Case: Packet Checking in scalar mode > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > -- > 2.25.1