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 B62F7A0093; Tue, 21 Jun 2022 15:12:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 995C24069C; Tue, 21 Jun 2022 15:12:32 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 4CB2A40151 for ; Tue, 21 Jun 2022 15:12:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655817151; x=1687353151; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=sIEyy2bfSaMUIlV7GTjGBuiNhX6frBVob2QxvqReDO0=; b=I3VObUPIAXy8Eeriw4/9S6mRT2hXBxW+J2ruk1kiSwtN6sdUqLYShZE3 MVZghwAhuNonqufRwtKPuEJhljuGsDtJ/PMGczFJPlwLpx0f05AyMqevp 5QDzzccOtaBdF8llbaqcULQbTipIagC651TEqpRPVjzO7Y4WN8FvOs6iq C+2V1yBF83YcFV06uyOF3vj1SMbvQUl3vgQjqSbJ9wplE6rIWnAqmNfVB Y2r5z1Yr/vNU7a21DXxqckytvxPbqnqYjN2wYKPcIQP1HN+OJdlgQrflt JWcxdhf0hQR1PkSlJKB5annxVqLDG7D5Wn76MD/lj5rZNWZqCFheZK90+ A==; X-IronPort-AV: E=McAfee;i="6400,9594,10384"; a="278883905" X-IronPort-AV: E=Sophos;i="5.92,209,1650956400"; d="scan'208";a="278883905" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 06:12:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,209,1650956400"; d="scan'208";a="562377338" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga006.jf.intel.com with ESMTP; 21 Jun 2022 06:12:29 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 21 Jun 2022 06:12:29 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 21 Jun 2022 06:12:29 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Tue, 21 Jun 2022 06:12:29 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) 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.2308.27; Tue, 21 Jun 2022 06:12:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=luo/Awh62xGzNaW8+mbqMsWtOenrnuKlEJyD7TAnttxmEyjbAdGEOHh0/sVTHQCJKSM5tkneYQ66tT4D4F6ojTB+w/NwtlWwO23TYmGIYIEY2BzWhOJXMcdS/KGOY87DfGFRBVkvs+dh2ozBIGTROg9mKfLd7nG+h0cRZFguU70dpkXSHZYHCA2enNf5au7hd3I8fXDn99k7kG0HtKHTR1KqL5Bun78GE4nKPsZiI3KF1VZO3hRqQ9t1elQdb7ecY6po3lws4Z68l/SgoFCXSzHlV4goX0qERzM8YT4SYBlMJKKzNIVskjRB5DibI5k1RTr9tVCUHaf7aDxejsOCNA== 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=WSeXvoNRtdCmqswiAk17oBJ8kd7RtBYU03dkIPv5kJE=; b=FFcRZwP6XuJbgx63u/XT0064Eb8VHYWbt/VKdXq3fxx6L8Sv39K9tH0hDRPlW7/kG5xEN0vaxiulDG9AqKXSf39yE0UFfjqb31GdpghYZCuY0+CdLJRNvtv90m/zTExiFnrVqApgaj7DXQiYgkHiI9stXxLxE35eONfEacGc8+XAJkJNARlCmRO0PoJq4GHwOJwgd8DgytCrQgLKVcleJoSKHSobd7fwrbzhELJ+Ry9tXkdJUxncsH941zGiMaMoU2pCd+7n1ux5KZjNXcluAtzpM7eeiDuJfAFMpJ4E+oPbZ+NLKxr95oqDD2+LqtyHZ3tcdg/+J87orc7YBeIWKA== 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 SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by BN7PR11MB2756.namprd11.prod.outlook.com (2603:10b6:406:b4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.14; Tue, 21 Jun 2022 13:12:26 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54a0:2dbc:18b7:2aa9]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54a0:2dbc:18b7:2aa9%7]) with mapi id 15.20.5353.022; Tue, 21 Jun 2022 13:12:26 +0000 From: "Xia, Chenbo" To: "Lipiec, Herakliusz" , "maxime.coquelin@redhat.com" , "Richardson, Bruce" CC: "dev@dpdk.org" Subject: RE: [PATCH v2 1/3] examples/vhost: update makefile to match meson build system Thread-Topic: [PATCH v2 1/3] examples/vhost: update makefile to match meson build system Thread-Index: AQHYhWerTOEVBwKupkuWaqNQy01UzK1Z1erw Date: Tue, 21 Jun 2022 13:12:26 +0000 Message-ID: References: <20220607114856.1085803-1-herakliusz.lipiec@intel.com> <20220621121315.1173180-1-herakliusz.lipiec@intel.com> In-Reply-To: <20220621121315.1173180-1-herakliusz.lipiec@intel.com> Accept-Language: en-US, zh-CN 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-office365-filtering-correlation-id: 71ebe745-8594-4df5-87a0-08da5387aff8 x-ms-traffictypediagnostic: BN7PR11MB2756:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mW36S0y+VJ3A2X0lRmQzeHNu49ysbaSxky++/UCiq4TQvqZYMH0kIkGLWP34o2aUROUvQA1fCQA8zcDT7ILnYVljkEHa62q/BR2E7OjwIUbE/0RUGpYZAkivHBQ5/pJgcNaX9OQ5i9v7abDgi3rHWJx0NgWHIOZvjdu4wd+rrtH4DeCLmy+jVcpYVYP5EsnnWCv7Gl3rvooFYgo6GhT3opI97ftemxuFhJ8odGEM92pHYEJhJQoKLjWg/DFEgaxUsTPlDtmNXDfcIy9+e8wZJThBU/3xuKOwZAmZABNiSxwxrh0KFnfeAvFpmhAPNYnIvrB2r63u4ysz96C7hc0M2knIU3ALUAyYyZ1LU3AIPTAIdSV5m8zFZBkq+c+KTDYKux2HPConAakQ5OW6jTVUHcqKcpcgoAqaL6T2Zv3Gp4FKf1KCrPMjYDPD4oaD+QR4KRszz6q8ba2j7ZEqUb+zGke918RTavf/kaceWFzRRGVTS5Yhj6uuNUT2CBta41bU4dXOpcPPD8fDtenoFU5gbrsCb+HdUAq47evSE1jp9IvBcqL/Y4X/xFzk7gkcEvvGOwOckpIs+7wScjYmMKodNRkf5VupF0zYlVTc7IVwNK+X4WPJCjySRGrr1Axk5feDfNN0NwMSBD1TzaJXKIOBcL4nA6MTCYIR0xKJ2MwpkKLsTv4sZJqZSR6hp/JoKeosUJjL2n8sFixNhl0/qVNwxg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(136003)(396003)(39860400002)(346002)(376002)(366004)(7696005)(15650500001)(76116006)(186003)(38070700005)(53546011)(26005)(6506007)(9686003)(6636002)(4326008)(86362001)(316002)(66476007)(2906002)(66556008)(66446008)(64756008)(66946007)(110136005)(8676002)(38100700002)(71200400001)(8936002)(33656002)(83380400001)(5660300002)(55016003)(478600001)(52536014)(122000001)(82960400001)(41300700001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ouTpF0k9IpYMJpEFxXgnFkZ/S4MzoXAq4O0N/64n4lTBDfOCMauH0S4qnkES?= =?us-ascii?Q?WAPONc/A3e3yGjGWXpWb3ykW4mztpxA+O4DhWr14Wr8T0l0VNnRO0n3QdX7z?= =?us-ascii?Q?V6PcBc6HgLdxcYQzzVtJnSkVxF9uYdnMtnCSACWrlurgONf3EIxSuUmSPnj8?= =?us-ascii?Q?h5F7NsO3r+VB4nX95Tapc2r0ZdMrp+86ok65STfyai3NOpVaDh47mbZiqpVm?= =?us-ascii?Q?pMJSRUlALvc/e3Nd9dGysWP5z4xeHLIXLoSCisFN+TGsjhg/hJzXAbVDZ663?= =?us-ascii?Q?frmPtfq9lscNKBzSNfqSFpgr4GegC79eC73l7mgoc+c8TsUW62ONb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YZ4QPrQAJX96erNl/AN5mLZWsNAp7EVA12VedzQS6Wzjt5?= =?us-ascii?Q?vwEmuHBbJO5KHZeKaZmC413oqayJ2gVQcQOg+Cn864YFwN/ZNd8gPeZ0Wm02?= =?us-ascii?Q?p2Ou02eisyTuJbS8YxZmIlAtilWEieMZEVT16BBxLB3qr9jT41SAqsBrGcsF?= =?us-ascii?Q?lA00TijefmskZIcxLqbVVlOc0ooGNjhADvmecxMz8Z/bbCeZcbtjWPWu+2YX?= =?us-ascii?Q?w1bVeGxvg4nmNGFfWxAjNvMeL9cecgcEj1zdymn43o7iuF804eiSEKVCOGhJ?= =?us-ascii?Q?Z0Pk21yQEow11JegGvdhDpUYH3/CS5t9fc2+eIdimrdyuXvPbZxLZZn+JAc/?= =?us-ascii?Q?sunqXlCVq/3tfp2ZNoeC3yAm27QakZhFU5FEvjSJgz1CNk3PzvYyW9ujPAsg?= =?us-ascii?Q?Fxr+ylI2CJNNhV0yIMaDKQZe5y2/vivmGIf1BEy8lBn56O6JNXtkm3zr6r8W?= =?us-ascii?Q?gXpT+QF+P27CaF8JSJfz62gZBOEGMxTXx8xpneJzQuUSq+bIUvAQtGX9OgO4?= =?us-ascii?Q?hwhOqxANHw=3D=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: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 71ebe745-8594-4df5-87a0-08da5387aff8 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2022 13:12:26.3712 (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: kQ1cQ5PldNJDvrr8MbrbJDd2OqG3NbloU3pAsb5+Zqnwz15RPYwYvA1Sw671dCWQaVcubXrNlbfaGXs15pJMPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2756 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi Herakliusz, > -----Original Message----- > From: Lipiec, Herakliusz > Sent: Tuesday, June 21, 2022 8:13 PM > To: maxime.coquelin@redhat.com; Xia, Chenbo ; > Richardson, Bruce > Cc: dev@dpdk.org; Lipiec, Herakliusz > Subject: [PATCH v2 1/3] examples/vhost: update makefile to match meson > build system >=20 > Meson build system creates a vhost binary but Makefile > and docs reference same as vhost-switch. Updating makefile > to match meson and the docs accordingly. >=20 > Signed-off-by: Herakliusz Lipiec > Acked-by: Bruce Richardson > --- > V2: > * Moving relevant doc updates here from second patch as per > Bruces suggestion. > --- > doc/guides/sample_app_ug/vhost.rst | 10 +++++----- > examples/vhost/Makefile | 2 +- > 2 files changed, 6 insertions(+), 6 deletions(-) This patchset seems to have apply failure, please have a check. Thanks, Chenbo >=20 > diff --git a/doc/guides/sample_app_ug/vhost.rst > b/doc/guides/sample_app_ug/vhost.rst > index a6ce4bc8ac..3c3cfdcd2d 100644 > --- a/doc/guides/sample_app_ug/vhost.rst > +++ b/doc/guides/sample_app_ug/vhost.rst > @@ -17,10 +17,10 @@ Testing steps > ------------- >=20 > This section shows the steps how to test a typical PVP case with this > -vhost-switch sample, whereas packets are received from the physical NIC > +dpdk-vhost sample, whereas packets are received from the physical NIC > port first and enqueued to the VM's Rx queue. Through the guest testpmd'= s > default forwarding mode (io forward), those packets will be put into > -the Tx queue. The vhost-switch example, in turn, gets the packets and > +the Tx queue. The dpdk-vhost example, in turn, gets the packets and > puts back to the same physical NIC port. >=20 > Build > @@ -38,7 +38,7 @@ Start the vswitch example >=20 > .. code-block:: console >=20 > - ./dpdk-vhost-switch -l 0-3 -n 4 --socket-mem 1024 \ > + ./dpdk-vhost -l 0-3 -n 4 --socket-mem 1024 \ > -- --socket-file /tmp/sock0 --client \ > ... >=20 > @@ -90,10 +90,10 @@ Then start testpmd for packet forwarding testing. > Inject packets > -------------- >=20 > -While a virtio-net is connected to vhost-switch, a VLAN tag starts with > +While a virtio-net is connected to dpdk-vhost, a VLAN tag starts with > 1000 is assigned to it. So make sure configure your packet generator > with the right MAC and VLAN tag, you should be able to see following > -log from the vhost-switch console. It means you get it work:: > +log from the dpdk-vhost console. It means you get it work:: >=20 > VHOST_DATA: (0) mac 52:54:00:00:00:14 and vlan 1000 registered >=20 > diff --git a/examples/vhost/Makefile b/examples/vhost/Makefile > index 975a5dfe40..ea64f02bb0 100644 > --- a/examples/vhost/Makefile > +++ b/examples/vhost/Makefile > @@ -2,7 +2,7 @@ > # Copyright(c) 2010-2014 Intel Corporation >=20 > # binary name > -APP =3D vhost-switch > +APP =3D dpdk-vhost >=20 > # all source are stored in SRCS-y > SRCS-y :=3D main.c virtio_net.c > -- > 2.36.1