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 4FB0BA034C; Fri, 14 Aug 2020 12:06:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 15CFD1C0CE; Fri, 14 Aug 2020 12:06:22 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 6DF861C0BC for ; Fri, 14 Aug 2020 12:06:20 +0200 (CEST) IronPort-SDR: Y9qajVGIbm3HGakWBkjAlokZKBsYG9p+TIe7h6SOSL0MqRELNWW66Kw5cynWocIHxdoMbxll7F J0S6q/0dJmhA== X-IronPort-AV: E=McAfee;i="6000,8403,9712"; a="151796203" X-IronPort-AV: E=Sophos;i="5.76,311,1592895600"; d="scan'208";a="151796203" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2020 03:06:19 -0700 IronPort-SDR: y0U7dsuFGR4M7ggoxyLsp46G43XbF36paoH30RnG+d6SyPiY11lzJkhVS55LArRE8zB7Z0vZt8 +JsUEjEwSalQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,311,1592895600"; d="scan'208";a="295713843" Received: from fmsmsx601-2.cps.intel.com (HELO fmsmsx601.amr.corp.intel.com) ([10.18.84.211]) by orsmga006.jf.intel.com with ESMTP; 14 Aug 2020 03:04:38 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) 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.1713.5; Fri, 14 Aug 2020 03:04:37 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 14 Aug 2020 03:04:37 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 14 Aug 2020 03:04:37 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.175) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 14 Aug 2020 03:04:37 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TFpJtuwk0BM9OGqqH2U1H+Injjn2zRPojXpNy5Cz+y8sEsjJIp0mDYXj4BCX16HU+XiMBl6gZsW+PmOSZYtv9v1AwIoUwCd3Pp9UWZqabLRFxmtfDIosqaI/4bEb+fTUgnMQGNdetFJIARpDG3RS2Mb6wiHavCBTAJXyscYd+gRcZ+0v28m270Nvg2PAQ5OBmlT4JuE8HauS8tF3Ac3sncPle2uwoPoP6eGZOitPz3y0pJns5h6bfTOaf76VpfvuhpeTrG9li4MIyZ89EIR34sSCULNwxNYLmgNVOlyNxyJGAWhehix/k1rE8/u4RrO0ZWwfFZw50hjGkZbU4Omb1A== 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=r2wqmbXJg/1ab9buOkQxX4sH+o2AC2JOvPaJ/jwhpIQ=; b=CLbRjFOlw8yMYWSmDV4zGS7y/tsDTq7swpx+EXV4qnkANfJ5gTXpRMLmGvUxmsHM6rG9+lS1WXZqNksO/wxXEbrBTu956Lyhue8RIJ34DXzrUvaBVW8rwQZzq7S9lGCCIuG9oI4i+LtgDNxxJZ7x29Kb0AKf2eEda9ZoQB4GvqKMfvP1aFjbqCWZnF1xdr5zuJ2CN/828nRv+/EzPDZkbkpqUbwMALBzjfnaK+A6vXrmm4a6XmsO2SnZj2mnLYChezOY+ZiJIVWJEJE2GSeH1T9RwQrdQ9Tcn0Qd7VlB2K10NUETXwI77eg3aRuUiye+xXxBAhWMqzkX4Cx9I0FCsQ== 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=r2wqmbXJg/1ab9buOkQxX4sH+o2AC2JOvPaJ/jwhpIQ=; b=Pib5vJe2Pan0cFzRNUwKiW6N0J3VD2vaLG09Zu/h3/57PnAFhDOACjemKbeZZ32AmFeakNSUld01e6xy2xAYkOSY98ax87Qbb/XPb0i18n3jAXN4NCwfM+SzBnYNe0Ckjos7x8v3xmySImXKF8VuZoDxL2Z5E7+28OoPctnaXvg= Received: from MWHPR1101MB2254.namprd11.prod.outlook.com (2603:10b6:301:58::11) by MWHPR11MB1502.namprd11.prod.outlook.com (2603:10b6:301:10::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.16; Fri, 14 Aug 2020 10:04:36 +0000 Received: from MWHPR1101MB2254.namprd11.prod.outlook.com ([fe80::206d:f3f3:b571:41ee]) by MWHPR1101MB2254.namprd11.prod.outlook.com ([fe80::206d:f3f3:b571:41ee%11]) with mapi id 15.20.3283.016; Fri, 14 Aug 2020 10:04:36 +0000 From: "Xiao, QimaiX" To: "dts@dpdk.org" Thread-Topic: [PATCH V2] update eal parameter only use one port Thread-Index: AQHWciIQmaSskb+IJ0eGuv3D+pTHFak3YE6w Date: Fri, 14 Aug 2020 10:04:35 +0000 Message-ID: References: <20200814094610.62592-1-qimaix.xiao@intel.com> In-Reply-To: <20200814094610.62592-1-qimaix.xiao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 855b147d-41db-41bd-8609-08d840397306 x-ms-traffictypediagnostic: MWHPR11MB1502: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1824; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jrZT2DimBFf75tgYmNUsQy8VExkMqdahAUXwF0T0outBz0+IJLhiSs9KmYU43oEQipAPD+KCcoFvAwdHZga3Y2jQqx5n1U+xBpqTOM+g1PTxKaRJTEBH5CIQgMZH5fx0PinnpGU5+AmjDHI7NdDeuldmLuc4oK/ti++ox6NKw2io6WiEaufe8ECoG9ztfWPaj23ENymmUfpCYjYWFmm0CGnYua93FgwU3oU8PsMNs1GN3e/6O4/G9s8xssuXi7tO4cve0b/75b6ob4CP9YSjrqotPVB19hWJ8VCwjXDg5IsxM7age/4xclGIgxmI67x/IPxoAh+ik8PvDZZGsiFgtA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR1101MB2254.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(346002)(396003)(39860400002)(136003)(55016002)(9686003)(2906002)(6916009)(71200400001)(8676002)(8936002)(5660300002)(316002)(86362001)(15650500001)(83380400001)(52536014)(26005)(76116006)(7696005)(186003)(6506007)(33656002)(66946007)(478600001)(66446008)(64756008)(66556008)(66476007)(53546011); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: PKSmE2or2cOeZFFBUFzQKfUPAewHYoB/GBvhn1ySjEPZGcQH1Ze3OCBBup/jLJlAGN0GrP0GWRsvcVOWAu/Ihyhy9AWoKG5iQv5co9Aq/LqSrDHMwWwNVCaT6DMHUGfJoqKoulYlqH2MYTm9SLgxQpNcAj1AmU5MCtHTefFgXQ/0JAihfWmxXpgnL2wkapetvXmMjetWti8eenS+ZUmKzboxDE9qgGU+CSIYjf2aX65qx0AIB+PreSw6TOIlLwFH7fvD+NExFldUm1nzUFcNYgXagETT01MlwkI4bz5kqf9V6YQwrfskasvRlR0n5wAxzcZOy6lcnsnKQgzCQFkjI4DiQr7ZETw9i2ZVstk1cH/YQoedp7B7KYBVNqZRaJoBaRdvfEwbs6LE3YD9rjsx7PcAHuWaPFeaDjul8A/bS4vnCvxsq48a8LIrLfeXMnvJN+FjzgfW567xKm6kI18UU4zMN2Trxq+7iBAw62bYp+0jcbxESxHYwf9CDkm7VPAxVoTKQWIZ2npa7EtDbuRjkH14HpCVDiRDpliKco+szpQSwtgBxOqIdT8h5qhnjyjyqPEwcYR9Q3O0kWxGc9FDtuKg62D+xAJwj3A0V1H3MSKFoGTeaYlM629KGKpYr+ZN7vkF5liFJSkE1Loiu01XDg== x-ms-exchange-transport-forked: True 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: MWHPR1101MB2254.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 855b147d-41db-41bd-8609-08d840397306 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2020 10:04:35.8236 (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: EPWwSEf2FRDBQMWdiCdoSsn8b0O07KyJYIf1T9FXorDOVFidF3wYF7vk+8krGEzwzTPiQIwR1hJEk6BHYW/81w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1502 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V2] update eal parameter only use one port 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" Tested-by: Xiao, QimaiX Regards, Xiao Qimai > -----Original Message----- > From: Xiao, QimaiX > Sent: Friday, August 14, 2020 5:46 PM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [PATCH V2] update eal parameter only use one port >=20 > *. in those two suites vhost side can only use one port to receive packet= s >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_pvp_virtio_bonding.py | 3 ++- > tests/TestSuite_virtio_user_for_container_networking.py | 3 ++- > 2 files changed, 4 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_pvp_virtio_bonding.py > b/tests/TestSuite_pvp_virtio_bonding.py > index b551487..fcde9ee 100644 > --- a/tests/TestSuite_pvp_virtio_bonding.py > +++ b/tests/TestSuite_pvp_virtio_bonding.py > @@ -90,7 +90,8 @@ class TestPVPVirtIOBonding(TestCase): > params =3D "--port-topology=3Dchained --nb-cores=3D4 --txd=3D102= 4 --rxd=3D1024" > eal_param =3D "--file-prefix=3Dvhost %s " % vdev_info > self.vhost_testpmd =3D PmdOutput(self.dut) > - self.vhost_testpmd.start_testpmd(self.core_config, params, > eal_param=3Deal_param) > + self.pci_info =3D self.dut.ports_info[0]['pci'] > + self.vhost_testpmd.start_testpmd(self.core_config, params, > eal_param=3Deal_param,ports=3D[self.pci_info]) > self.vhost_testpmd.execute_cmd('set fwd mac') > self.vhost_testpmd.execute_cmd('start') >=20 > diff --git a/tests/TestSuite_virtio_user_for_container_networking.py > b/tests/TestSuite_virtio_user_for_container_networking.py > index 76f0aea..36a7838 100644 > --- a/tests/TestSuite_virtio_user_for_container_networking.py > +++ b/tests/TestSuite_virtio_user_for_container_networking.py > @@ -154,7 +154,8 @@ class TestVirtioUserForContainer(TestCase): > """ > start testpmd as vhost > """ > - eal_param =3D > self.dut.create_eal_parameters(cores=3Dself.core_list_vhost_user, > prefix=3D'vhost', vdevs=3D["net_vhost0,iface=3Dvhost-net,queues=3D%d,clie= nt=3D0" % > self.queue_number]) > + self.pci_info =3D self.dut.ports_info[0]['pci'] > + eal_param =3D > self.dut.create_eal_parameters(cores=3Dself.core_list_vhost_user, > prefix=3D'vhost', vdevs=3D["net_vhost0,iface=3Dvhost-net,queues=3D%d,clie= nt=3D0" % > self.queue_number],ports=3D[self.pci_info]) > if self.check_2M_env: > eal_param +=3D " --single-file-segments" > command_line_client =3D self.dut.target + '/app/testpmd ' + eal_= param + ' > -- -i --nb-cores=3D%d' % self.nb_cores > -- > 2.25.1