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 5A537A0C4D; Thu, 10 Jun 2021 02:53:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E0634067C; Thu, 10 Jun 2021 02:53:39 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id C13BA4003C for ; Thu, 10 Jun 2021 02:53:34 +0200 (CEST) IronPort-SDR: verjEqu3UsXbWla7iwXqfTv4iXy2sI8Wvcu0OeLt1vwDrLUKBFMTPyjeszz4mG8HZ5zgFfAn/l lSA8IruPlasQ== X-IronPort-AV: E=McAfee;i="6200,9189,10010"; a="192516034" X-IronPort-AV: E=Sophos;i="5.83,262,1616482800"; d="scan'208";a="192516034" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2021 17:53:33 -0700 IronPort-SDR: GznxcmgJrkWSKRNqCnWnqZAiQQABdCwtSuviI0NMrGkv2d9gtErS92+YYWBCeCmdyCM/r3vhXH qKSoVywZaZEA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,262,1616482800"; d="scan'208";a="402486896" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga006.jf.intel.com with ESMTP; 09 Jun 2021 17:53:33 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Wed, 9 Jun 2021 17:53:32 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Wed, 9 Jun 2021 17:53:31 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Wed, 9 Jun 2021 17:53:31 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.49) 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.2242.4; Wed, 9 Jun 2021 17:53:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fnqiF0Dt2EVPnc3sH+UKxrkWnbCni9ntavdjieFnDatVP0WUFcQaXLeOgJVZ09kuxj2BUAgJ+SpHFWeXYlUasChskFw2mylDqDmH7cjCR0YytfGABZHe/ZOTynuJu5gzneDln9I0G+q5VTXjpOJyOc2OF4XV6zACn+0L4YnT+q4w45NHpbBZR2CwQGZ16f3HEVeePjrokewmq+Bt6n3MUJkH1niDbpcXdnQVa/C0DYUvXcC59QNgicjpYosgyM/SFWtJjUk4MHYVqgLf+P6qXfyMVx0HLl1KsfebV/Ai5PZgBbueG86gK+XRy0O69VnYVKDezaqTiqCyA7sf6ofpmQ== 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=60jtqBGDo3Wk7dX10NGxNOJ+QC0tV8x0nACRVF+4vIs=; b=khY3AWpEWR7hlP5f5avwnPUKNfJs2jTS7Ew7FrSebTEuX4aOEa8QIA0kjiBtslwL0EBUUt/Cp8MDjsNnGkUoVBrRUB/pEIgiw5ZGRIXqUMTZNfGVA3ZQnPcYpMDF6lTtsP+vkBRG901MsVWoKDgQ6N2Gq56xlSq7nAdcNfVIf/9iaUDDzu7uL2Amznumv1KuK+lBmtN9luQyeendUrEy6haMgt5UbFx/IKhS/2R418HuO670i0u1CjAjoTfmU09Yz4DzVdJuw4N6snTQ7CPWMxB/f5O4oPRi/S4yNlh0cNMPwST/OAeB84zsRRaWu/tLg3muZUp6f9up2AwY8mj76A== 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=60jtqBGDo3Wk7dX10NGxNOJ+QC0tV8x0nACRVF+4vIs=; b=xnKmjvze4KnP9dmbsQHq1++cJCR7nwlE8zgtbKp7PaW4SKhY1JB0BG/+gRsm+Mveq8A12jHofzNuvkOSLfMpBAH7PAwbEoWI+hSk1HaP6WDhSg8uYLDGsFEHjBVOrfyQZWusezrELyd9zvx0sXt1xmkfxWgZoS4bsPIEkel5cEY= Received: from BYAPR11MB2648.namprd11.prod.outlook.com (2603:10b6:a02:c7::10) by BYAPR11MB3080.namprd11.prod.outlook.com (2603:10b6:a03:8c::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.22; Thu, 10 Jun 2021 00:53:28 +0000 Received: from BYAPR11MB2648.namprd11.prod.outlook.com ([fe80::48a3:7162:824e:a9a8]) by BYAPR11MB2648.namprd11.prod.outlook.com ([fe80::48a3:7162:824e:a9a8%7]) with mapi id 15.20.4195.030; Thu, 10 Jun 2021 00:53:28 +0000 From: "Wang, Yinan" To: "Tu, Lijuan" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH v1] test_plans/vm2vm_virtio_net_perf_test_plan: update packed ring cbdma cases due to Qemu not support packed ring server mode Thread-Index: AQHXXNyLMLWsgES/yEay7cujwRzix6sLWe4AgAEQe0A= Date: Thu, 10 Jun 2021 00:53:28 +0000 Message-ID: References: <20210609115030.179202-1-yinan.wang@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.55.46.52] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5f7f019c-5e2e-44d2-c98f-08d92baa2929 x-ms-traffictypediagnostic: BYAPR11MB3080: 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:4502; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bS5PwE3Xvy9E+0L5WEuwEl9iEv20oSgorLs6bf4WbD6eqSd41fYukNPZb14BP0vdBTbun6cICSF0SGLVU74f4EaeTt2AZ1sCFksMUODrI9GI3joFwmJT22kVHpodAesLYJK5+Mo1N4X6l50Jrpw8nSZSXS3WpRD6KV+yRbV14oB5tb4RvmBFVyCHJ3/Jc80Fg/FPnzI5fHaTOTCmfCcjwMhKBulw18Fzs7ZwBD//0fZt4Iy4eSCKN5mtEgWJbEs23QZ7Jwf7IidbM7b23oZ5rYaQkyuJdFwYBzaNjVyeb7a2+13iLCjKWYOmpwnT5rYaUOuUuepOPCa8LGXzO9EYTNvi4QXze3KFIVhyBoJTMxdxZUkwzmxFa4jXHjKxpkgaejN2wd5c8hwml5Zt9ltzMNJZXeBxD2V+Rpu0cX0diR9Ey3+OV5zvgeen7kzEaMF/gv9gN8m3tPLo/StmY9Fae2s6I2SjgZaDnvHlvzF4XbLkxkHp6QhBItN/CsZFTullnKskq/CNaLyZ8UPqrh4M7IUjgUdULqlgJHQbPCK55crWMtWphy7/uKu1+Xjv4vYx356/z7IeZqnoYSL7OCK98jqjj9hoJqYBkLyWKIF9Iz4ifnKuHz6hHG5QktX11ARG6Qinxj0ISsszPKG1+S7LhTrxAqRdQVuH1DRRK3BdTNZBeIhB6Hh8IR2VKzFt7CCS 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:(39860400002)(136003)(346002)(396003)(376002)(366004)(8936002)(5660300002)(186003)(76116006)(83380400001)(86362001)(110136005)(7696005)(33656002)(122000001)(9686003)(52536014)(26005)(15650500001)(55016002)(8676002)(53546011)(30864003)(66946007)(71200400001)(6506007)(2906002)(66446008)(478600001)(64756008)(38100700002)(66556008)(316002)(66476007)(21314003)(47845001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?ZGc1YXJLdzl4a29BVEpMTXVYbndiN3V2ZFgrU01rR0txM3QzdE1LQlVs?= =?iso-2022-jp?B?dTJJbUZJUldOTmtwandkdmdVSnRleXNxYUVkZHlBWTdNa1MyU2JYT05z?= =?iso-2022-jp?B?emZYV0ZteC81RmFoMVFhV1RwTlhUQ1FOSmxQVU10Z0tHWDZILzB4ZTlZ?= =?iso-2022-jp?B?QTI5V1BlQWFVY0VYdEZPNlQvR2Z5SHZaeDM3azBOa0xtS0lJTVpMckFC?= =?iso-2022-jp?B?MW85eXV1WVZYQWcyYWNqWWxoazA4MWRsaklVYjIzVnQ1dWVSc04vTm1l?= =?iso-2022-jp?B?VXNHNFNjeGQveklVOGhyK2dDMUZBQkg4L0RzQ0FDTUNHdGxSdGd5YktU?= =?iso-2022-jp?B?NEdXY3hoc0RTeUd6SU9DRUlrNVIySkd0RHJ2cVNUbVZDZ0l5UjVUUTVj?= =?iso-2022-jp?B?Z1kvNExPeHlza3VuMDNKbHJwWHJZa1loZFQ2WWc1YjJnNUhlNWNZK0Jr?= =?iso-2022-jp?B?SWU2UUcvTmdJanh4QmtreDBJdkNlaDIyMGUzOEpDWng1S2J1OEo3c3dJ?= =?iso-2022-jp?B?R3lpUmFIMnVmTlZ3Zm16ZW03ZEFKdTJRQkdLbXFaUjJkZC9VWlNObjFU?= =?iso-2022-jp?B?ZEJQRCs4emlZQXB3b1J5OFFWcGZZRUVUbStzNE8rb3F3T3Z2MW5ubmJr?= =?iso-2022-jp?B?MXdLbTJ6L1d6Qks4bENWd21XMktQVXBNcVJEZ08yWURpSm5uN0JxcEVG?= =?iso-2022-jp?B?RnYwd1JoS0ZRdndKRExkcXBGMjRYemNCbmlwWis4YmNtbk5CV0tQQ3Vs?= =?iso-2022-jp?B?M0FSVzEvZno2cEZCUVlpaDB2bThlUUYxbW0xaDN3RkF3ZlZ3SVl0aGU0?= =?iso-2022-jp?B?WTNtcWZqWUZ0cTRoTDVoQkJxaXFIMGtuWVRRK2xVS1RzNWx6a0dQZkZG?= =?iso-2022-jp?B?RWllZ0lqOUp3Z0JsTmFFNlhjZTlvMWxJUU44QU4zNElqTk8vOEM5dGNY?= =?iso-2022-jp?B?dUNUVlJKNHZNdVNEa1pDdlpwTmZjSXJNOFkrdjZvb3VjVmVQRlZseHBw?= =?iso-2022-jp?B?L2lrQTB5RWtrNURxeHJ1RnZEU3BmTUdzLzMrSGFUdkpOTHFtY2QvUnlF?= =?iso-2022-jp?B?REMzQUVnK3VXY21KWHhMZkd5MEtJd0dSV0hXclZWWDU0U3V3OTI0eFpY?= =?iso-2022-jp?B?emRJTzl6a0d1byt2bVBOblN1anlIQ0ZkRmhjTzBBaDB5QUxhZEdlSEpR?= =?iso-2022-jp?B?OXpTWHo0V05PNXY3ZlpLUGNWT1FqU20rbFNuc2N0VzdtM2t6ZmpkdTho?= =?iso-2022-jp?B?Slg0bjM1SWYrWnROTTdiWDJZd1JIRHNxYTlSMHdyYVprT2t4K09UNlNK?= =?iso-2022-jp?B?bzRYaW91ek4xNFRmL0pSMkFibXF2S2hQMURpT0hGUWNydXdYOFMzYmZY?= =?iso-2022-jp?B?eVgxSUtnWU1oQi9JZ2J5Um9vaHU4bDVydzJTRDQ4bGhJSXRkNVBHYXVn?= =?iso-2022-jp?B?WitFOFJrVWM5ODY1a1lqQXRTZThDSlhNa0o3L05SVHV3bEdObGJuRUxi?= =?iso-2022-jp?B?K2Q0SjR4QXc0cjZEUWNOK3FxWWpHaE5WeXFiYjV5VGVMK3RSK09qdW5u?= =?iso-2022-jp?B?cFhaem1RRFM4eXhNNHg5aHBtT0toUzRHUiszSHNpQUthbXg4SktmeEdh?= =?iso-2022-jp?B?VEU5U1hGN2ErU2dPLy9ZZHlzaSt6d3orcjg5RGVWTDRCWWpFdTdydTZl?= =?iso-2022-jp?B?T0gyZzZtNVFwc1U1d2NzblVVNS93VHlTUERTeWRkQ3RhTWJISzNJeTR3?= =?iso-2022-jp?B?RnFCaUFwZXF3eGZqd244bUt0RVhrUERVZU5jMTB5UXgxM2ppRVlaZnR4?= =?iso-2022-jp?B?NlhRRnNYQ3Z1eFZkc3VlclJBbU01OTBQN25nRDVoV2ZQVG5UQVp0WTJJ?= =?iso-2022-jp?B?cTNBbmRNWm9ZNDlHZ0JjSGF1N1RzPQ==?= Content-Type: text/plain; charset="iso-2022-jp" 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: 5f7f019c-5e2e-44d2-c98f-08d92baa2929 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2021 00:53:28.3445 (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: aOla50uirh1TEnX1kqnK/ZVaB9/cMCyXsfCzFtjgtZz5152g3Py625VAVkUJ+ToSNrG9ifEJsJv5rKuY6m8bvw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3080 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH v1] test_plans/vm2vm_virtio_net_perf_test_plan: update packed ring cbdma cases due to Qemu not support packed ring server mode 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" > -----Original Message----- > From: Tu, Lijuan > Sent: 2021=1B$BG/=1B(B6=1B$B7n=1B(B9=1B$BF|=1B(B 16:31 > To: Wang, Yinan ; dts@dpdk.org > Cc: Wang, Yinan > Subject: RE: [dts] [PATCH v1] test_plans/vm2vm_virtio_net_perf_test_plan: > update packed ring cbdma cases due to Qemu not support packed ring > server mode >=20 >=20 >=20 > > -----Original Message----- > > From: dts On Behalf Of Yinan Wang > > Sent: 2021=1B$BG/=1B(B6=1B$B7n=1B(B9=1B$BF|=1B(B 19:51 > > To: dts@dpdk.org > > Cc: Wang, Yinan > > Subject: [dts] [PATCH v1] test_plans/vm2vm_virtio_net_perf_test_plan: > update > > packed ring cbdma cases due to Qemu not support packed ring server > mode > > >=20 > Confused, I same the changes and I think the older qemu support packet ri= ng > server mode. > So do you mean, some newer qemu don't support packet ring server mode, > if that, could you please clarify what qemu are required for your cases. Hi Lijuan, Qemu not support packed ring server mode now, so change test plan in this p= atch.=20 Since some older qemu version exist bug with server mode test, we need move= to newer qemu which includes bug fix. BR, Yinan >=20 > > Signed-off-by: Yinan Wang > > --- > > .../vm2vm_virtio_net_perf_test_plan.rst | 106 +++--------------- > > 1 file changed, 17 insertions(+), 89 deletions(-) > > > > diff --git a/test_plans/vm2vm_virtio_net_perf_test_plan.rst > > b/test_plans/vm2vm_virtio_net_perf_test_plan.rst > > index 78418e00..c3a6d739 100644 > > --- a/test_plans/vm2vm_virtio_net_perf_test_plan.rst > > +++ b/test_plans/vm2vm_virtio_net_perf_test_plan.rst > > @@ -71,7 +71,7 @@ Test Case 1: VM2VM split ring vhost-user/virtio-net > test > > with tcp traffic > > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > > -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce = \ > > - -device virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,di= sable- > > > modern=3Dfalse,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,gu= est > _tso > > 4=3Don,guest_ecn=3Don -vnc :10 > > + -device > > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,disable- > modern=3Dfal > > + > > > se,mrg_rxbuf=3Doff,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3D= on,g > ues > > + t_ecn=3Don -vnc :10 > > > > taskset -c 33 qemu-system-x86_64 -name vm2 -enable-kvm -cpu host - > smp 1 - > > m 4096 \ > > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > > path=3D/mnt/huge,share=3Don \ @@ -82,7 +82,7 @@ Test Case 1: VM2VM spli= t > ring > > vhost-user/virtio-net test with tcp traffic > > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > > -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > > -netdev type=3Dvhost-user,id=3Dnetdev0,chardev=3Dchar0,vhostforce = \ > > - -device virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,di= sable- > > > modern=3Dfalse,mrg_rxbuf=3Don,csum=3Don,guest_csum=3Don,host_tso4=3Don,gu= est > _tso > > 4=3Don,guest_ecn=3Don -vnc :12 > > + -device > > + virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,disable- > modern=3Dfal > > + > > > se,mrg_rxbuf=3Doff,csum=3Don,guest_csum=3Don,host_tso4=3Don,guest_tso4=3D= on,g > ues > > + t_ecn=3Don -vnc :12 > > > > 3. On VM1, set virtio device IP and run arp protocal:: > > > > @@ -461,7 +461,7 @@ Test Case 7: VM2VM packed ring vhost-user/virtio- > net > > test with tcp traffic > > --vdev 'net_vhost1,iface=3Dvhost-net1,queues=3D1' -- -i --nb-core= s=3D2 -- > txd=3D1024 > > --rxd=3D1024 > > testpmd>start > > > > -2. Launch VM1 and VM2:: > > +2. Launch VM1 and VM2 with qemu 5.2.0:: > > > > qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 1 -m 4096 > \ > > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > > path=3D/mnt/huge,share=3Don \ @@ -516,7 +516,7 @@ Test Case 8: VM2VM > > packed ring vhost-user/virtio-net CBDMA enable test with tcp > > --vdev 'net_vhost1,iface=3Dvhost- > > net1,queues=3D1,dmas=3D[txq0@00:04.1],dmathr=3D512' -- -i --nb-cores= =3D2 -- > > txd=3D1024 --rxd=3D1024 > > testpmd>start > > > > -2. Launch VM1 and VM2 on socket 1:: > > +2. Launch VM1 and VM2 on socket 1 with qemu 5.2.0:: > > > > taskset -c 32 qemu-system-x86_64 -name vm1 -enable-kvm -cpu host - > smp 1 > > -m 4096 \ > > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > > path=3D/mnt/huge,share=3Don \ @@ -573,7 +573,7 @@ Test Case 9: VM2VM > > packed ring vhost-user/virtio-net test with udp traffic > > --vdev 'net_vhost1,iface=3Dvhost-net1,queues=3D1' -- -i --nb-core= s=3D2 -- > txd=3D1024 > > --rxd=3D1024 > > testpmd>start > > > > -2. Launch VM1 and VM2:: > > +2. Launch VM1 and VM2 with qemu 5.2.0:: > > > > qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 40 -m > 4096 \ > > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > > path=3D/mnt/huge,share=3Don \ @@ -628,7 +628,7 @@ Test Case 10: Check > packed > > ring virtio-net device capability > > --vdev 'net_vhost1,iface=3Dvhost-net1,queues=3D1' -- -i --nb-core= s=3D2 -- > txd=3D1024 > > --rxd=3D1024 > > testpmd>start > > > > -2. Launch VM1 and VM2,set TSO and UFO on in qemu command:: > > +2. Launch VM1 and VM2 with qemu 5.2.0,set TSO and UFO on in qemu > > command:: > > > > qemu-system-x86_64 -name vm1 -enable-kvm -cpu host -smp 1 -m 4096 > \ > > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > > path=3D/mnt/huge,share=3Don \ @@ -672,11 +672,11 @@ Test Case 11: > VM2VM > > virtio-net packed ring mergeable 8 queues CBDMA enable test 1. Launch > the > > Vhost sample by below commands:: > > > > rm -rf vhost-net* > > - ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev > 'net_vhost0,iface=3Dvhost- > > > net0,client=3D1,queues=3D8,dmas=3D[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2= ;tx > q3 > > > @00:04.3;txq4@00:04.4;txq5@00:04.5;txq6@00:04.6;txq7@00:04.7],dmathr=3D > 5 > > 12' \ > > - --vdev 'net_vhost1,iface=3Dvhost- > > > net1,client=3D1,queues=3D8,dmas=3D[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2= ;tx > q3 > > > @80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7],dmathr=3D > 5 > > 12' -- -i --nb-cores=3D4 --txd=3D1024 --rxd=3D1024 --rxq=3D8 --txq=3D8 > > + ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev > 'net_vhost0,iface=3Dvhost- > > > net0,queues=3D8,dmas=3D[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2;txq3@00:0 > 4. > > 3;txq4@00:04.4;txq5@00:04.5;txq6@00:04.6;txq7@00:04.7],dmathr=3D512' \ > > + --vdev > > + 'net_vhost1,iface=3Dvhost- > net1,queues=3D8,dmas=3D[txq0@80:04.0;txq1@80:04.1; > > + > > > txq2@80:04.2;txq3@80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7 > @ > > + 80:04.7],dmathr=3D512' -- -i --nb-cores=3D4 --txd=3D1024 --rxd=3D102= 4 --rxq=3D8 > > + --txq=3D8 > > testpmd>start > > > > -2. Launch VM1 and VM2:: > > +2. Launch VM1 and VM2 with qemu 5.2.0:: > > > > taskset -c 32 qemu-system-x86_64 -name vm1 -enable-kvm -cpu host - > smp 8 > > -m 4096 \ > > -object memory-backend-file,id=3Dmem,size=3D4096M,mem- > > path=3D/mnt/huge,share=3Don \ @@ -685,7 +685,7 @@ Test Case 11: VM2VM > > virtio-net packed ring mergeable 8 queues CBDMA enable test > > -device > virtserialport,chardev=3Dvm2_qga0,name=3Dorg.qemu.guest_agent.2 - > > daemonize \ > > -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device > > e1000,netdev=3Dnttsip1 \ > > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > > - -chardev socket,id=3Dchar0,path=3D./vhost-net0,server \ > > + -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > > -netdev type=3Dvhost- > user,id=3Dnetdev0,chardev=3Dchar0,vhostforce,queues=3D8 \ > > -device virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,di= sable- > > > modern=3Dfalse,mrg_rxbuf=3Don,mq=3Don,vectors=3D40,csum=3Don,guest_csum= =3Don, > host > > > _tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,guest_ufo=3Don,host_ufo=3Don,pa= cked > =3Don > > -vnc :10 > > > > @@ -696,7 +696,7 @@ Test Case 11: VM2VM virtio-net packed ring > mergeable > > 8 queues CBDMA enable test > > -device > virtserialport,chardev=3Dvm2_qga0,name=3Dorg.qemu.guest_agent.2 - > > daemonize \ > > -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device > > e1000,netdev=3Dnttsip1 \ > > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > > - -chardev socket,id=3Dchar0,path=3D./vhost-net1,server \ > > + -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > > -netdev type=3Dvhost- > user,id=3Dnetdev0,chardev=3Dchar0,vhostforce,queues=3D8 \ > > -device virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,di= sable- > > > modern=3Dfalse,mrg_rxbuf=3Don,mq=3Don,vectors=3D40,csum=3Don,guest_csum= =3Don, > host > > > _tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,guest_ufo=3Don,host_ufo=3Don,pa= cked > =3Don > > -vnc :12 > > > > @@ -721,43 +721,7 @@ Test Case 11: VM2VM virtio-net packed ring > mergeable > > 8 queues CBDMA enable test > > Under VM1, run: `iperf -s -i 1` > > Under VM2, run: `iperf -c 1.1.1.2 -i 1 -t 60` > > > > -7. Quit vhost ports and relaunch vhost ports w/o CBDMA channels:: > > - > > - ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev > 'net_vhost0,iface=3Dvhost- > > net0,client=3D1,queues=3D8' \ > > - --vdev 'net_vhost1,iface=3Dvhost-net1,client=3D1,queues=3D8' -- -= i --nb- > cores=3D4 -- > > txd=3D1024 --rxd=3D1024 --rxq=3D8 --txq=3D8 > > - testpmd>start > > - > > -8. Scp 1MB file form VM1 to VM2:: > > - > > - Under VM1, run: `scp [xxx] root@1.1.1.8:/` [xxx] is the file nam= e > > - > > -9. Check the iperf performance and compare with CBDMA enable > performance, > > ensure CMDMA enable performance is higher:: > > - > > - Under VM1, run: `iperf -s -i 1` > > - Under VM2, run: `iperf -c 1.1.1.2 -i 1 -t 60` > > - > > -10. Quit vhost ports and relaunch vhost ports with 1 queues:: > > - > > - ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev > 'net_vhost0,iface=3Dvhost- > > net0,client=3D1,queues=3D8' \ > > - --vdev 'net_vhost1,iface=3Dvhost-net1,client=3D1,queues=3D8' -- = -i --nb- > cores=3D4 -- > > txd=3D1024 --rxd=3D1024 --rxq=3D1 --txq=3D1 > > - testpmd>start > > - > > -11. On VM1, set virtio device:: > > - > > - ethtool -L ens5 combined 1 > > - > > -12. On VM2, set virtio device:: > > - > > - ethtool -L ens5 combined 1 > > - > > -13. Scp 1MB file form VM1 to VM2M, check packets can be forwarding > success > > by scp:: > > - > > - Under VM1, run: `scp [xxx] root@1.1.1.8:/` [xxx] is the file na= me > > - > > -14. Check the iperf performance, ensure queue0 can work from vhost > side:: > > - > > - Under VM1, run: `iperf -s -i 1` > > - Under VM2, run: `iperf -c 1.1.1.2 -i 1 -t 60` > > +7. Rerun step 5-6 five times. > > > > Test Case 12: VM2VM virtio-net packed ring non-mergeable 8 queues > CBDMA > > enable test with large packet payload valid check > > > =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=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=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 > > @@ -765,8 +729,8 @@ Test Case 12: VM2VM virtio-net packed ring non- > > mergeable 8 queues CBDMA enable t 1. Launch the Vhost sample by > below > > commands:: > > > > rm -rf vhost-net* > > - ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev > 'net_vhost0,iface=3Dvhost- > > > net0,client=3D1,queues=3D8,dmas=3D[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2= ;tx > q3 > > > @00:04.3;txq4@00:04.4;txq5@00:04.5;txq6@00:04.6;txq7@00:04.7],dmathr=3D > 5 > > 12' \ > > - --vdev 'net_vhost1,iface=3Dvhost- > > > net1,client=3D1,queues=3D8,dmas=3D[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2= ;tx > q3 > > > @80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7],dmathr=3D > 5 > > 12' -- -i --nb-cores=3D4 --txd=3D1024 --rxd=3D1024 --rxq=3D8 --txq=3D8 > > + ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev > 'net_vhost0,iface=3Dvhost- > > > net0,queues=3D8,dmas=3D[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2;txq3@00:0 > 4. > > 3;txq4@00:04.4;txq5@00:04.5;txq6@00:04.6;txq7@00:04.7],dmathr=3D512' \ > > + --vdev > > + 'net_vhost1,iface=3Dvhost- > net1,queues=3D8,dmas=3D[txq0@80:04.0;txq1@80:04.1; > > + > > > txq2@80:04.2;txq3@80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7 > @ > > + 80:04.7],dmathr=3D512' -- -i --nb-cores=3D4 --txd=3D1024 --rxd=3D102= 4 --rxq=3D8 > > + --txq=3D8 > > testpmd>start > > > > 2. Launch VM1 and VM2:: > > @@ -778,7 +742,7 @@ Test Case 12: VM2VM virtio-net packed ring non- > > mergeable 8 queues CBDMA enable t > > -device > virtserialport,chardev=3Dvm2_qga0,name=3Dorg.qemu.guest_agent.2 - > > daemonize \ > > -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device > > e1000,netdev=3Dnttsip1 \ > > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002-:22 \ > > - -chardev socket,id=3Dchar0,path=3D./vhost-net0,server \ > > + -chardev socket,id=3Dchar0,path=3D./vhost-net0 \ > > -netdev type=3Dvhost- > user,id=3Dnetdev0,chardev=3Dchar0,vhostforce,queues=3D8 \ > > -device virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:01,di= sable- > > > modern=3Dfalse,mrg_rxbuf=3Doff,mq=3Don,vectors=3D40,csum=3Don,guest_csum= =3Don, > host > > > _tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,guest_ufo=3Don,host_ufo=3Don,pa= cked > =3Don > > -vnc :10 > > > > @@ -789,7 +753,7 @@ Test Case 12: VM2VM virtio-net packed ring non- > > mergeable 8 queues CBDMA enable t > > -device > virtserialport,chardev=3Dvm2_qga0,name=3Dorg.qemu.guest_agent.2 - > > daemonize \ > > -monitor unix:/tmp/vm2_monitor.sock,server,nowait -device > > e1000,netdev=3Dnttsip1 \ > > -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6003-:22 \ > > - -chardev socket,id=3Dchar0,path=3D./vhost-net1,server \ > > + -chardev socket,id=3Dchar0,path=3D./vhost-net1 \ > > -netdev type=3Dvhost- > user,id=3Dnetdev0,chardev=3Dchar0,vhostforce,queues=3D8 \ > > -device virtio-net-pci,netdev=3Dnetdev0,mac=3D52:54:00:00:00:02,di= sable- > > > modern=3Dfalse,mrg_rxbuf=3Doff,mq=3Don,vectors=3D40,csum=3Don,guest_csum= =3Don, > host > > > _tso4=3Don,guest_tso4=3Don,guest_ecn=3Don,guest_ufo=3Don,host_ufo=3Don,pa= cked > =3Don > > -vnc :12 > > > > @@ -814,40 +778,4 @@ Test Case 12: VM2VM virtio-net packed ring non- > > mergeable 8 queues CBDMA enable t > > Under VM1, run: `iperf -s -i 1` > > Under VM2, run: `iperf -c 1.1.1.2 -i 1 -t 60` > > > > -7. Quit vhost ports and relaunch vhost ports w/o CBDMA channels:: > > - > > - ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev > 'net_vhost0,iface=3Dvhost- > > net0,client=3D1,queues=3D8' \ > > - --vdev 'net_vhost1,iface=3Dvhost-net1,client=3D1,queues=3D8' -- -= i --nb- > cores=3D4 -- > > txd=3D1024 --rxd=3D1024 --rxq=3D8 --txq=3D8 > > - testpmd>start > > - > > -8. Scp 1MB file form VM1 to VM2:: > > - > > - Under VM1, run: `scp [xxx] root@1.1.1.8:/` [xxx] is the file nam= e > > - > > -9. Check the iperf performance and compare with CBDMA enable > performance, > > ensure CMDMA enable performance is higher:: > > - > > - Under VM1, run: `iperf -s -i 1` > > - Under VM2, run: `iperf -c 1.1.1.2 -i 1 -t 60` > > - > > -10. Quit vhost ports and relaunch vhost ports with 1 queues:: > > - > > - ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev > 'net_vhost0,iface=3Dvhost- > > net0,client=3D1,queues=3D8' \ > > - --vdev 'net_vhost1,iface=3Dvhost-net1,client=3D1,queues=3D8' -- = -i --nb- > cores=3D4 -- > > txd=3D1024 --rxd=3D1024 --rxq=3D1 --txq=3D1 > > - testpmd>start > > - > > -11. On VM1, set virtio device:: > > - > > - ethtool -L ens5 combined 1 > > - > > -12. On VM2, set virtio device:: > > - > > - ethtool -L ens5 combined 1 > > - > > -13. Scp 1MB file form VM1 to VM2M, check packets can be forwarding > success > > by scp:: > > - > > - Under VM1, run: `scp [xxx] root@1.1.1.8:/` [xxx] is the file na= me > > - > > -14. Check the iperf performance, ensure queue0 can work from vhost > side:: > > - > > - Under VM1, run: `iperf -s -i 1` > > - Under VM2, run: `iperf -c 1.1.1.2 -i 1 -t 60` > > +7. Rerun step 5-6 five times. > > \ No newline at end of file > > -- > > 2.25.1 >=20