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 946DBA052A; Tue, 2 Feb 2021 14:48:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83B942402DD; Tue, 2 Feb 2021 14:48:29 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 1CE732402B5 for ; Tue, 2 Feb 2021 14:48:27 +0100 (CET) IronPort-SDR: oQgYXfwhcCsMaT24Jy08+X16yyH4l9kyBiFO9ZvmGJa3oeDo/nzcX4PhkQ28tVBXZRb+ailn9Q ljuTtawYHxWA== X-IronPort-AV: E=McAfee;i="6000,8403,9882"; a="168531649" X-IronPort-AV: E=Sophos;i="5.79,395,1602572400"; d="scan'208";a="168531649" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2021 05:48:26 -0800 IronPort-SDR: JPv0wIpjz2gsOBYeEc2F/TMNrhzg/GAXz0HQWko/P4tOJ9H9y7bBTPmj0/tIw4GJ9UrYMfRn0p sP4UQC6V8wdw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,395,1602572400"; d="scan'208";a="581932485" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga005.fm.intel.com with ESMTP; 02 Feb 2021 05:48:26 -0800 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 2 Feb 2021 05:48:26 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Tue, 2 Feb 2021 05:48:26 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 2 Feb 2021 05:48:25 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NA/ZoMX4FoBPEnP86AddPLwX07b6TSgjK9ZhEjD+hNhtXSwekuL+ZmZRg4X2S32vhDXQqKmZfPodLjPebRFjlIBktcaXjKmG6zL6947K9BJ0kY6x7BqYxXthfFUa4oJeAVm/8wiUMpT3rLBbK9N1NLwDQrzfmeaq0STPqD8H+Q1kPPiTu7wjlOWQ7Y0k0bnjqbhbLdpNOJB9KkiCfBf0Y10tCu1CYliV001L+d8QPq/uyGuQEH5pEItI//E+lwLmW0sLCl0pQVMu8WJd+s8td9aPKaWxPAAwvMg7ToYIWuK7FIhqYFQCPYbux+/WBFGFTN3B1boGZd1KwMXpWC7S8w== 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-SenderADCheck; bh=yfqj4gz1v4S0t/9/Gz+APRLmBUl2Ug4AaTu99d+IipQ=; b=BdKBfPEweNzan25j3LykcPvMN8aBSkBOQ2typekjXri6C2dm0XSvtVuc3hPKAtBJVI/nhpsmy5Dtn0zZ4yDLeotsFwxyjiXSMIhZk6lmXzuoF59ZLSU4s2TdNpMMXdUpSrc6lArURfcvHxZGUeSzAm2f8FbsfgrSmKotuYTYg132JO7/pM9LPuVe4WcI05ygfvZ6APUpKXEQxKPoyq5erEtlqcM7yrCUTYvBwsuABNEzM1kxC9GT3yKVTwhWGQCjSu2loA3Z/AlvSzh59tXo232Fs/6VCtUMtVt9YAJ8jzgEOJY/+y4KdxdzsUp/6Z7ffh1s8wXp6aOUnvphC8eyPg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yfqj4gz1v4S0t/9/Gz+APRLmBUl2Ug4AaTu99d+IipQ=; b=S3emcjkbxrk/oIAOSfNdBfmdRUHWiJWa1AJCnW8omdhnH62XCHlZTQKdgsQckKfhckeJG34Xh9Z42wRgYwmY0B3VEAMQg9fGXU73EbCsdEid7py92yhC4C4tEwUdpB5g1TbNgLvy/VbfH/VA9LP8gzurqAJLCJjsDnO4LW7j5Mk= Received: from BYAPR11MB2648.namprd11.prod.outlook.com (2603:10b6:a02:c7::10) by BYAPR11MB2693.namprd11.prod.outlook.com (2603:10b6:a02:cc::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.13; Tue, 2 Feb 2021 13:48:23 +0000 Received: from BYAPR11MB2648.namprd11.prod.outlook.com ([fe80::281e:c126:2abc:b2a]) by BYAPR11MB2648.namprd11.prod.outlook.com ([fe80::281e:c126:2abc:b2a%4]) with mapi id 15.20.3805.024; Tue, 2 Feb 2021 13:48:23 +0000 From: "Wang, Yinan" To: "Ling, WeiX" , "Ling, WeiX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1] tests/vhost_user_interrupt:modify execute virtio-user server side testpmd command after client side started Thread-Index: AQHW+S7i44hUVHmx9E61wXev31lJFapEa+EAgAB14ZA= Date: Tue, 2 Feb 2021 13:48:23 +0000 Message-ID: References: <20210202143715.3877934-1-weix.ling@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.222] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b0255c09-2c40-4514-ccc3-08d8c7813551 x-ms-traffictypediagnostic: BYAPR11MB2693: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2958; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vmJ/N+klmtBCSS1jGN9Gq6A3aoYXt/GIsJeIFqmuLo2PL5sdrSjyhZr4JHMoncY1m6CyBdMxyup4Cz1/5F0MmgskEe5sAgFMOOm4y9/g5s1aDrzjCzDUMFZ/ER8O6mcgT0XYRHSdnL8X9MqzStO2hlM3F//69/wx6ZsGNoyq50SbeB2iR5SkppzdS5PPwDxXpdeQ8StEQz434VbW9hAcQ9cHZbLVbANzuJnoQ74aEx7jaZr/I6yQttNgdqW2EtybYuur2JOFmYCDO4bgnoV3O8ppqUi8CZM5g3cbEo8ri1izDBCqaygrKyVH+r8tDWUuyZp4+0YAji4vK3l23bys5FBPtYsh2boAGh9F15XbKVo8drdEliXRlSSDD8x2AKTM72AAYsMKigfYI/5paBFujviZBkB6Z7AE4HZ6ZGKydiaHzP2KxVz4RKfjXBM8JxJmLmLC1H5nlKk+lh1uo1b8/bf0SO7o7oM/OFp2oH4VkjrNQBxjS6qcYQaUaQufbsSgT2ub4oCCPmdPNhPyeFheZw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2648.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(366004)(346002)(136003)(376002)(39860400002)(478600001)(186003)(55016002)(66946007)(71200400001)(8936002)(9686003)(83380400001)(6506007)(53546011)(66446008)(52536014)(64756008)(86362001)(110136005)(316002)(26005)(8676002)(33656002)(66476007)(7696005)(66556008)(76116006)(2906002)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?Windows-1252?Q?EietwLbxffn5U4jnCWWrXJk5GlMQZ9xad8wPJz3LhWDUE+IFOj53H6Qx?= =?Windows-1252?Q?CLOu50I8t7qvGYtzvvAKFpHnu4PXq5p1tRkG26Zo3wYR1gi9CP1IDd3i?= =?Windows-1252?Q?2+oVPQYcDTUfTql+cmAj199X1+pp8rfCY7/lSLev1nh2gUtpSgSElVdb?= =?Windows-1252?Q?//+KFIWgS9rUke7eZEI0+BBgEdAS2eZK/O5UFKoP/GHSHWzA5VJaTxdt?= =?Windows-1252?Q?up83ZOraDK5gZWaNJP9IDvt3RJl09D56Jkfi+IM5r6i8pM/FqCH4vZs7?= =?Windows-1252?Q?r384Jo3rU87qCxkVf7UOJPGtx8dfSLJYgCjis8Bi/kzcRmaM8Xlf5jOf?= =?Windows-1252?Q?jnVRmkCPaMwfzZYi7/uuQKdQfiA7aA2eNhXL3W8Tksk30YpHUcH3zh2d?= =?Windows-1252?Q?qVuwJMt5TScrywsX1dFfeTfGrGjPQiL58L2UnwFx42ZJnJVoNqGu22TZ?= =?Windows-1252?Q?SFwG39B0npYL+8kWCoXt4utpOJS9Si/CJWh6VQbb5Q83yKG4XmhEgKjF?= =?Windows-1252?Q?r+N/1RNvBNz0XtRQjfw14JNbhtJpmKzdIfXD+gGTkDSjz52/242Esr1v?= =?Windows-1252?Q?bmop1KtVoRj3Zn0nd2rqd4GK6aE9lVGEP7O3JCtPUn0U1eNwhhRsCVeR?= =?Windows-1252?Q?sKMeH3f0waM3cky/wcamK6fiUm9d2jLXRkGfOciAF5IATLz6Ob1K0+z5?= =?Windows-1252?Q?HbENFHd7es4mvlbsRFqgWIQN65ltT9pCU7/09vtUkzeSnh8SpiXjWe3U?= =?Windows-1252?Q?RyYMTbCJgl6nNk48cp7rRdVsOGKEJE0yKBPSAfrUmCEy0VwUqWk2pipg?= =?Windows-1252?Q?VeIACNQwLC6T55oYdLNZ5OYx5C82u7r055BXptGeHIJEcQKiVvVxk9GT?= =?Windows-1252?Q?1kiUK70xW0+S2npNeS9HeHfl1WKY5TwmcrYggPe9vPpgft7SmboO+16w?= =?Windows-1252?Q?O6vTCzKT2BnrRtrijeGeR6t0Dujm6kPWiefdc/tWi1YIhVcKyzYPk886?= =?Windows-1252?Q?mllZGgDpqQ1PdV7c1mEKp63DA+TKUWIYATJVqlm/1BX070Iw4At1BYlH?= =?Windows-1252?Q?xcUTKZd+fnCvSlEg1fPN26piXsk/aXhucxRpipcWSLpM3GiSX6kggEqf?= =?Windows-1252?Q?o1kzRkUdNTQivzmDAnyorLZh?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2648.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b0255c09-2c40-4514-ccc3-08d8c7813551 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Feb 2021 13:48:23.0647 (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: WDDp8D4iF1qsjMSyUIDsX2CYxmup9YS81S71ZBOn/jpJnK7n4oKpljECGlD1+M28TGEgnBz8TGccvh19DKyJ7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2693 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V1] tests/vhost_user_interrupt:modify execute virtio-user server side testpmd command after client side started 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 Sender: "dts" Acked-by: Wang, Yinan > -----Original Message----- > From: dts On Behalf Of Ling, WeiX > Sent: 2021?2?2? 14:46 > To: Ling, WeiX ; dts@dpdk.org > Subject: Re: [dts] [PATCH V1] tests/vhost_user_interrupt:modify execute > virtio-user server side testpmd command after client side started >=20 > Tested-by: Wei Ling >=20 > Regards, > Ling Wei >=20 > > -----Original Message----- > > From: Ling Wei > > Sent: Tuesday, February 2, 2021 10:37 PM > > To: dts@dpdk.org > > Cc: Ling, WeiX > > Subject: [dts][PATCH V1] tests/vhost_user_interrupt:modify execute virt= io- > > user server side testpmd command after client side started > > > > In DPDK 9af79db20f4cf, when launch virtio-user testpmd as server mode, > > virtio-user server side testpmd expected character will be 'wait for cl= ient > side > > started...', after client side started, it change to 'testpmd>', so dts= need > > modify execute virtio-user server side testpmd command after client sid= e > > started. > > > > Signed-off-by: Ling Wei > > --- > > tests/TestSuite_vhost_user_interrupt.py | 8 ++++++-- > > 1 file changed, 6 insertions(+), 2 deletions(-) > > > > diff --git a/tests/TestSuite_vhost_user_interrupt.py > > b/tests/TestSuite_vhost_user_interrupt.py > > index bc340c4..2a10199 100644 > > --- a/tests/TestSuite_vhost_user_interrupt.py > > +++ b/tests/TestSuite_vhost_user_interrupt.py > > @@ -108,8 +108,7 @@ class TestVhostUserInterrupt(TestCase): > > eal_params +=3D " --single-file-segments" > > para =3D " -- -i --rxq=3D%d --txq=3D%d --rss-ip" % (self.queue= s, self.queues) > > command_line_client =3D self.app_testpmd_path + " " + eal_par= ams + > > para > > - self.virtio_user.send_expect(command_line_client, "testpmd> ",= 120) > > - self.virtio_user.send_expect("set fwd txonly", "testpmd> ", 20= ) > > + self.virtio_user.send_expect(command_line_client, "waiting for > > + client connection...", 120) > > > > def get_cbdma_ports_info_and_bind_to_dpdk(self, cbdma_num): > > """ > > @@ -231,6 +230,7 @@ class TestVhostUserInterrupt(TestCase): > > self.get_core_list() > > self.lanuch_virtio_user() > > self.lanuch_l3fwd_power() > > + self.virtio_user.send_expect("set fwd txonly", "testpmd> ", 20= ) > > self.send_and_verify() > > > > def > > test_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample_wh > > en_multi_queues_enabled(self): > > @@ -241,6 +241,7 @@ class TestVhostUserInterrupt(TestCase): > > self.get_core_list() > > self.lanuch_virtio_user() > > self.lanuch_l3fwd_power() > > + self.virtio_user.send_expect("set fwd txonly", "testpmd> ", 20= ) > > self.send_and_verify() > > > > def > > test_wake_up_packed_ring_vhost_user_core_with_l3fwd_power_sample( > > self): > > @@ -251,6 +252,7 @@ class TestVhostUserInterrupt(TestCase): > > self.get_core_list() > > self.lanuch_virtio_user(packed=3DTrue) > > self.lanuch_l3fwd_power() > > + self.virtio_user.send_expect("set fwd txonly", "testpmd> ", 20= ) > > self.send_and_verify() > > > > def > > test_wake_up_packed_ring_vhost_user_core_with_l3fwd_power_sample_ > > when_multi_queues_enabled(self): > > @@ -261,6 +263,7 @@ class TestVhostUserInterrupt(TestCase): > > self.get_core_list() > > self.lanuch_virtio_user(packed=3DTrue) > > self.lanuch_l3fwd_power() > > + self.virtio_user.send_expect("set fwd txonly", "testpmd> ", 20= ) > > self.send_and_verify() > > > > def > > test_wake_up_split_ring_vhost_user_core_with_l3fwd_power_sample_wh > > en_multi_queues_enabled_and_cbdma_enabled(self): > > @@ -271,6 +274,7 @@ class TestVhostUserInterrupt(TestCase): > > self.get_core_list() > > self.lanuch_virtio_user(cbdma=3DTrue) > > self.lanuch_l3fwd_power(cbdma=3DTrue) > > + self.virtio_user.send_expect("set fwd txonly", "testpmd> ", 20= ) > > self.send_and_verify() > > > > def tear_down(self): > > -- > > 2.25.1