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 6FA1B423A1; Tue, 10 Jan 2023 10:51:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6DA1140691; Tue, 10 Jan 2023 10:51:50 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 7F10B40689 for ; Tue, 10 Jan 2023 10:51:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673344308; x=1704880308; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=VJkM0Suj7cEYWjAXJbQEZojOayRkLMqs/OApK/zfmVs=; b=S/okMGVzEUWyUe6IpCBGuwYRt+yjAygR5WENbrLvdJl+a4jaBo4mLlMn 9OL49tmSro4meo+gThtDPi6jg9X+QGCLOZ3K6OWFuWnCImXIeUkbCwSiE 5Lvd5/kup2cVjNzWD5ahKrkvQFG7EYvCq+0uZ2shM6uTH3Tn5Qvgv8x6q QbYZuQzyEv44az+oDiPzAec2NEUzHzYPntGXEPZ1mjj7pu2htWbdfCKdn 9WtVA6019ztqU9ylIDWH93EgieMO4sWov0NkkImBwt+saiL7lM6xHGbwC WcQeqXXS9cVHLKQyxSiypp7XyjkK2crUzDWtVirxMHMWnem7OJwvBnAML w==; X-IronPort-AV: E=McAfee;i="6500,9779,10585"; a="302806295" X-IronPort-AV: E=Sophos;i="5.96,314,1665471600"; d="scan'208";a="302806295" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2023 01:51:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10585"; a="689364386" X-IronPort-AV: E=Sophos;i="5.96,314,1665471600"; d="scan'208";a="689364386" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga001.jf.intel.com with ESMTP; 10 Jan 2023 01:51:46 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Tue, 10 Jan 2023 01:51:45 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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; Tue, 10 Jan 2023 01:51:45 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.42) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Tue, 10 Jan 2023 01:51:44 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NMndHbS/oIZDBEjvYar40cY9rObJB5Y3ZKsOub6bzkvgDm5AOEYgP2EA78nquGG0irjilztTFrVDBFOrEmWFmv6nDIdIf9Rti4RPPRZSzekgO/RtNCddOfzF2/+FBeeYLxavyjRjEDkxKQHgmQnE+Xp46sWW1BHiCLfQ8qCPQhk7ejRK2GQ+4dCn5Nv+oYGExRNPSYdciLkpPgl3+PCqL87SI7MKvxeUQzTQvb2JvdHtSB8JVmefypBCWv62OisaXBpmm/yhRqLVSNzXmyMmrcp4BwwHTQ2yvpxuloSqgOeji5efNPCMy5bJ8nVhzekHIOAuXC2cO3pm0BFwcZ0V6w== 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=tN8vhXUVzfpBIiIg41oJjPZ9xXU11e/PGU/Z/0PmmdA=; b=VvNjdQtE5Rh0wZ6r+lpowiUuFuwTs+uK+0gjtzMz2IRBGvnNA8Fm4bSSbz4SVVzngK1V1yXO1eGBNZTXKBjPv8iPItOOFeKkwaey57vVyYZAjQzIpOJgl4ZaCAQNYBaDFxm7a50pk6GHWl0htlldXxMdVRsi1We/qo7ZipZxGA/afbeNIzpVDK4GfsvlfjqOVpuWwvqFe7p9wvzIuCXlqGuaf1FNRRoAU3l3sHjznihQ2R/QqLupEUgEvsa/vmkvDfSTuNmXeIO+hzglVMK1OyrcFOCJ4xcfPtYpofm9zbBYaeN5Bhin7BKF54k6EiWKMJ20qjl5KIdKvtsNK1ekGg== 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 PH7PR11MB6056.namprd11.prod.outlook.com (2603:10b6:510:1d4::20) by CY5PR11MB6211.namprd11.prod.outlook.com (2603:10b6:930:25::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Tue, 10 Jan 2023 09:51:41 +0000 Received: from PH7PR11MB6056.namprd11.prod.outlook.com ([fe80::f668:953c:104d:8a8]) by PH7PR11MB6056.namprd11.prod.outlook.com ([fe80::f668:953c:104d:8a8%7]) with mapi id 15.20.5986.018; Tue, 10 Jan 2023 09:51:41 +0000 From: "Xu, Ke1" To: "Li, WeiyuanX" , "dts@dpdk.org" CC: "Li, WeiyuanX" Subject: RE: [dts][PATCH V2] tests/vf_offload: fix syntax errors Thread-Topic: [dts][PATCH V2] tests/vf_offload: fix syntax errors Thread-Index: AQHZJNZDsJTDv5uk0kWBNLiOzEHI/K6XY8VQ Date: Tue, 10 Jan 2023 09:51:41 +0000 Message-ID: References: <20230110093013.9449-1-weiyuanx.li@intel.com> In-Reply-To: <20230110093013.9449-1-weiyuanx.li@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: PH7PR11MB6056:EE_|CY5PR11MB6211:EE_ x-ms-office365-filtering-correlation-id: e466735e-b992-4143-3827-08daf2f046b9 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +CW9M078YSmkRFGKsNA2ZQqMB5QMTRKMao9VoeyxtLJv/geUxEJhiO5gs96CpcmfKUDlWUrSC63ZVDvrYVoezcfbr2DtcpaFJSIX+sdOO5CjFLE69oGfT0Uzw2uTlEG1fAUFmMBQsA7SKmsBSyccRrXsiEfJYJi4VfVB8xVW0oZLTu4MGX0CVdKCI8tTP3EHum0tMkkDULFLRaMYQ1RWqlONYbjJ/8Aik57WuNwQeK2d6VUbhLihBb7zZpojHxqF79Kb6f8omZMvqfN24vP7A/gldsrM6F5kHe6ncRVsOyjDWfpLvhoufhGrYyUasp9cHATpIJw0Am/nYXbNLZzIA6eVMJ7stQfio9aFsyuyn+MSm+83FMeCplJA3gVp4H+LzTy6By9zUYZs6dPbq87iNAvOLhEuv/1yjP1635gYzfmAux7+OrZGEYqI1ttNDiuS9s7m7IERzqWL9Kud8/Hb3Lavxu5gXZ31qgT6e81DNBEzfJIfRbhLnOzs2KoVNoP6pUBQz0prOfEXLj2j3spJBmZ/alCDPwHZHxOGcqQtim8NM97sRUMCf28S3LHhP3q26hTwonCvgG5E+3Q+CYfpxq9hYZkdDlGbHApXURAY6ciodzoj6KuNAZ8jQke776LtoIZjCj9aib1/1cE1YzSRXOkNylKmGEaSVhvw58bkqjlunpsWfQsRXtLwCMzLD7VPNg7cHJyqoq1VXcpGps/eVg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6056.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(396003)(136003)(39860400002)(346002)(376002)(451199015)(33656002)(38070700005)(5660300002)(316002)(7696005)(26005)(186003)(478600001)(71200400001)(9686003)(55016003)(41300700001)(66556008)(4326008)(110136005)(66476007)(64756008)(66946007)(8676002)(76116006)(66446008)(52536014)(8936002)(86362001)(83380400001)(53546011)(107886003)(6506007)(122000001)(82960400001)(38100700002)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ZQ3noSgcOPfWGq/JRnm9maLvtxPcfMNH0IdfGLac5XVnyjeobqZcSQq3s7SX?= =?us-ascii?Q?wD83o4ff7zvl7mCbexy1nl1k5BwvcpsN2oLFNNUxQTYyANj4P0ktPgQaf7hH?= =?us-ascii?Q?ApnydDJdR5hlIdUnPOFO3sWLvqlyYGxPJqqz4toSWHru48d/XYboYOAAl/jS?= =?us-ascii?Q?Ytnxcgq2vIEo6iFb3f6T/jfiuQionGntzxgZVV7vq/+hLkJZ+aPZeQX4Mw4q?= =?us-ascii?Q?/03QhGaxVD9zX/JXiNO5ghvzU04wvlc9bQk5SQDyrNPQNiv1UbWhaJSOHudb?= =?us-ascii?Q?60wiEuybAjygsFqX1hQsvz1XjDC74Uh75pWPjHX9VigCuDqWrH0Nl14ABB2k?= =?us-ascii?Q?2b5FBGZ6rxW4Ucj+zXqvm7KIfSJ0rT+blJLpehrnvYV52D4uilZ9dgI/JwSD?= =?us-ascii?Q?+mWlgOkvUIpdlQ6Ch6Mm0ExsBW/lFBdUYUMRm7hB3ts82iKJAoQ1D+iRFpGX?= =?us-ascii?Q?R+WgQozyInOLuFpteEECJ3k32dnBDMoBHdLL74hHt+03XX/WW8blALK0p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3k2gXaERzxMBGAnQXiPyKOrlL/nP1GH/1++LF7Cz?= =?us-ascii?Q?Kjm2HDsAcDOO60EuRoGNGhTcSHrLsY+tGcNCxjW+jBcw621q2BzM+I9oQ5hc?= =?us-ascii?Q?dxZzTsPHjqqntRU92QR3n8ELuMD5E1VJmfspOAYrO56+TByi+PZ0lfJ9NCja?= =?us-ascii?Q?CuXdowRBodh4Smzy9x0=3D?= 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: PH7PR11MB6056.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e466735e-b992-4143-3827-08daf2f046b9 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jan 2023 09:51:41.8493 (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: qi1BbmRADxSv6mSi/XpRF6xo3fVM/LCX3U7QspvzYlqmhjtFcUNxqB6xuryWR25iSGYDVEbNZjlRRQukSLbr3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6211 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: Weiyuan Li > Sent: Tuesday, January 10, 2023 5:30 PM > To: dts@dpdk.org > Cc: Li, WeiyuanX > Subject: [dts][PATCH V2] tests/vf_offload: fix syntax errors >=20 > Scapy send package count can't have quotation marks. Otherwise, send the > packet fails. >=20 > Signed-off-by: Weiyuan Li > --- This patch is to fix some potential bugs. Line 752: Fix wrong packet checking that only checked packet No.0. Line 887: Fix long verbose that may crash the buffer causing timeout. Line 934: Remove white space that format check does not check for the strin= g-ed command line format where we prefer not adding extra white space for kwarg= s. Line 952: The payload_size_list is not index-ed, may cause bugs. Adding ext= ra int() may help prevent wrong type input though the new method ensures an int ret= urn. Line 994: Add log. Add missed packet count. Acked-by: Ke Xu >=20 > v2: > -Modify the traversal comparison and expectation of the captured packet > results. >=20 > tests/TestSuite_vf_offload.py | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) >=20