From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 00EA8A04A2; Tue, 12 May 2020 09:33:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EB91C1C118; Tue, 12 May 2020 09:33:12 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 61B341C06D for ; Tue, 12 May 2020 09:33:11 +0200 (CEST) IronPort-SDR: XhvaVDvgDevlqoOimKQ+BH2LEjcR8tohLrBSIifG3KNDVc8YUoqZfOF1TyHfAHvNObpE/T//Sq MJY6rqaDp2RQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2020 00:33:11 -0700 IronPort-SDR: uU/uI3NScHhnSI4SJE61QWlG3AHBffS418Irgzzb3XUPn/zrcH5pOkBjRxdSBIEszBGA2pKZRV Yq5qZ5GuP3GA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,383,1583222400"; d="scan'208";a="280037374" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga002.jf.intel.com with ESMTP; 12 May 2020 00:33:11 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 May 2020 00:33:11 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 May 2020 00:33:10 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.225]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.200]) with mapi id 14.03.0439.000; Tue, 12 May 2020 15:33:08 +0800 From: "Tu, Lijuan" To: "Jiang, YuX" , "dts@dpdk.org" CC: "Jiang, YuX" Thread-Topic: [dts] [PATCH V1] tests/link_flowctrl: fix to support byte type for py3 Thread-Index: AQHWJPXiN7Ld6QwSA0OwyTfAb1pybqikFTqQ Date: Tue, 12 May 2020 07:33:08 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC2A359@SHSMSX101.ccr.corp.intel.com> References: <1588913651-106666-1-git-send-email-yux.jiang@intel.com> In-Reply-To: <1588913651-106666-1-git-send-email-yux.jiang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/link_flowctrl: fix to support byte type for py3 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Jiang, YuX > Sent: Friday, May 8, 2020 12:54 PM > To: dts@dpdk.org > Cc: Jiang, YuX > Subject: [dts] [PATCH V1] tests/link_flowctrl: fix to support byte type f= or py3 >=20 > From: "Jiang, YuX" >=20 > Specify byte type in py3 >=20 > Signed-off-by: Jiang, YuX > --- > tests/TestSuite_link_flowctrl.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flow= ctrl.py > index ed89162..ee190d0 100644 > --- a/tests/TestSuite_link_flowctrl.py > +++ b/tests/TestSuite_link_flowctrl.py > @@ -52,7 +52,7 @@ class TestLinkFlowctrl(TestCase): > pause_frame_control =3D "\\x00\\xFF" > pause_frame_paddign =3D "\\x00" * 42 >=20 > - pause_frame =3D '[Ether(src=3D"%s",dst=3D"%s",type=3D%s)/("%s%s%s")]= ' > + pause_frame =3D '[Ether(src=3D"%s",dst=3D"%s",type=3D%s)/(b"%s%s%s")= ]' >=20 > frames_to_sent =3D 12 >=20 > -- > 2.7.4