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 E4E49A0093; Mon, 20 Jun 2022 03:59:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87E1340223; Mon, 20 Jun 2022 03:59:48 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id DC37440150 for ; Mon, 20 Jun 2022 03:59:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655690387; x=1687226387; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ebwgnDQfcLb98SAHlHtYZ0VHdg64iq7hzDddnjDut6w=; b=TLo/O5iX1ajCaduHs6m0FHE0jI9tYFC6veKAHYNo+Oh4XiwvCjVtQmJZ uThnHg73W5w2sAtxuiM9Ef5dEa/56GXNZ5r/6/dCLMcPoK35Fu6EMOIQK iZFi5BwNh12oYFfg7h1jVrF/jgpWJuCAkmgEzD2nnO2yJBmi9W8d3Kz0n G6Ex8JGsqfdtAUOdrlI3JbqgAI41v6qmA6QNE2yiyACN1cI6sAGFgD+B4 r2qPznmjLrKzQkDmMwSuq5PcD8zP4PipPRfo6fpQNjqVxbpziq8P6t9cG qpbhU/eMIwL3sPlJ7emBkOVz6jHGFT3NIrjtRF23bWk2kvKbMXBAE/3EP w==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="260212121" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="260212121" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jun 2022 18:59:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="619922054" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga001.jf.intel.com with ESMTP; 19 Jun 2022 18:59:45 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) 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.2308.27; Sun, 19 Jun 2022 18:59:45 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.2308.27 via Frontend Transport; Sun, 19 Jun 2022 18:59:45 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Sun, 19 Jun 2022 18:59:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UxkCJQ1aTrVMcaJRwatPBjcNaWM64yKD9CvCycQ8c0kUMojJyc/RiJmc3sfKJ/S9VkzLAs8Rza8KrC29d62VIyDzdLYNu9PtZcmJTre6ZWmOxmAjDUmM3VJ0uSoaerj6q4TRk6TC28qnJ/fsq73bZ32HbOBNyQZpEJnVlqAGCktvUv82N4R1avbreRfrCRYR4hJmBoD5m06Qa6LG5rEsLhLi6PZ/RU8cCa4Zrjg5hBhDPm1WcUPFqXq7Uolt1d+NqM2ou2kTfzXEmf3Y/0RAeYU5DP+R0w0n8fXrntOjutOlt/Qq9qmSmOGnPGRdj1NsoLkMrh9TRMwLDKxhmYlvLA== 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=NOSQrZ7PdVfrKhPFsXLBmKImXbf0UPyiaXzmtiRCaF8=; b=MLLRqYfL6IOMPsyQ8d0DDBlIjXTZnjm+HcTy96+MjHEHcZxGr3eWMUx3odt6twf7bSNoiZujOf3PmSILAg5V0uNQd5QvZQp399rNyP2c6fi8x/MBI8Uds5W+naPcv3ag0FfH4JCEL9QNj4ZVKkC7FiYIDljlDmjmvWUILhY3p8ToSqAJbQvBDw+f6rJ40z25t3qNVVtY2Grl1LG7xIcEFJD+BWBGEiOwSP9tOIgwjdkQDDEn/hIw7kf/ZVZN24YDPFbLtcmiKZ0ACUfleqfJkBI2x9zzudUCKI9+MsI5DHdzpYFrBO9EXdUvXytZXOzAXw3g04DmIMb5hokG8Fzkog== 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 DM8PR11MB5751.namprd11.prod.outlook.com (2603:10b6:8:12::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.15; Mon, 20 Jun 2022 01:59:43 +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.021; Mon, 20 Jun 2022 01:59:43 +0000 From: "Xia, Chenbo" To: "Lipiec, Herakliusz" , "maxime.coquelin@redhat.com" , "Richardson, Bruce" CC: "dev@dpdk.org" Subject: RE: [PATCH 3/3] examples/vhost: update vhost usage message Thread-Topic: [PATCH 3/3] examples/vhost: update vhost usage message Thread-Index: AQHYemQA7Bib8V78Ske7ZcG34Fqg9q1XnfGQ Date: Mon, 20 Jun 2022 01:59:43 +0000 Message-ID: References: <20220607114856.1085803-1-herakliusz.lipiec@intel.com> <20220607114856.1085803-3-herakliusz.lipiec@intel.com> In-Reply-To: <20220607114856.1085803-3-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: 2b950dc4-c76a-4c7e-a164-08da52608b76 x-ms-traffictypediagnostic: DM8PR11MB5751: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: b1Vrg50RB8+A94bZDjCN0G8AfDxsHjseTDYjrBV2oTmSBE4f7QrT9RPCahK15CIcgEQrwcri26dHM4S9j9lHBYnCA2DnQHKFiw10PSG7jV6/dArGe+NYYFZL/IjxMfNlAdDaCdHhCVxNTa1DGGgurpMX+Q8rtdDkjciOEkp+3fOwAbSm0Jt0w48xPWbyjptuBx3lMctk0inH4RffwImuUwB1E5nP20G17i7rCRGimPN9kvMByh77/8WcOrqBw1oJaUATAPAkHRZWpAP2+AQg1gIvdRNNlagikHj98cwhxpWkjn3uC6q+HzOjp6qohVu1YZJCgvu4pp7112Eci1kFZBnZwLCv69hXrE9EgySti64oYCQYybV88Es26PJCWoO4m98EqfSZvgFkK3IX6XZ/zz0boAEG/LnwLnpJTGjJ98OTpNKLipSRbsz3aOECoMyQDjb/yizkVsR9ZfKEDK7YssPNWpO2FI60bEKU/qYJ4WIQsx3PlSu9E8kLRMBB5qTj8OhWxmGQCK2SiKH0iGb0zpZSjGjKBD3WCZdgSmHj15i1HNpR4H+bmFUALC+YwEvYJG3F8i2IEcEAyXLSlBUgRcoTDzfQE1Cf69oOkjczcVAjRbUoWlAiR2bo9x+jYVRPTyBRrn1eRdz8f/YVH15ndWds4+cRplIT76xvEo/3gB5jKtD1VbhOibw/0IDsRMDfdnufkxw49kNC7D+PbgLwSg== 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)(366004)(55016003)(8936002)(9686003)(122000001)(52536014)(82960400001)(316002)(498600001)(110136005)(53546011)(33656002)(186003)(86362001)(38070700005)(83380400001)(38100700002)(66946007)(66476007)(66556008)(7696005)(66446008)(71200400001)(4326008)(5660300002)(64756008)(2906002)(15650500001)(8676002)(6636002)(76116006)(6506007)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?j9aJhnWywd0wh24P7Ej4pzv5hh+KRMNcNZXdCRjqKqQceOQUnQXEvCbSqP3h?= =?us-ascii?Q?Q9SMu2wbP95H0FjKmcZbArTfszKJcsExVSjRj7dAkgFlhwxWzXRRM8qF5bR1?= =?us-ascii?Q?+9YJ1wnBfP+PC29aOrJ50QT6T+49fsRrNX3NjCMxTIB9QopnzLUy7XBj2czt?= =?us-ascii?Q?dXCt3j/Gg/LKvP6R3L55F1rGDhR7ECDYBM6kEdVD97ggYZ72XZI4wgoGf23A?= =?us-ascii?Q?PzV6MFwp45EUuC8ihRraQHcrc14cJMr0+ouqqI2v+3Jvh46mqngd33WsnxRD?= =?us-ascii?Q?2/PMJUHXpw+a8CbhEmex5PaxMQFEgb4k3W3RIYQn33VWsMQKy92OuRzbnSPB?= =?us-ascii?Q?hIUHihfop2mUzWKkUju3PpUkz8vIr0sOKyvOK1RmqzSPQFfUJPoL/Un7gebV?= =?us-ascii?Q?mzcGdc+VrKtE8+ceD4Jym0bl3Avdf0zUgwYY4gFSGV3vISRY2Tgjj7Z9ZZ4b?= =?us-ascii?Q?/FeMAMSWCNFbdJgEDWawf7pcdcosq/egaKKFMPMFrLsCPw1GUtkup/yd6V5M?= =?us-ascii?Q?9QCFOfwbissO20AMkxsn2+CSms7cyVBMYJEJxhnqnitJNvRVUAZrP1p2GjgJ?= =?us-ascii?Q?WizW0019bIDax5MMTLn+BQ/kCMBbBqdIQBui4S2Mu2YoDbU7wIPEy8014VKS?= =?us-ascii?Q?x/mgUBgmQNNJT1W0vj3iO58xIQEzR/OOqPxypOOKfV5QpXK98eMGTbLakYmK?= =?us-ascii?Q?ynW65HjLvlyePTa8KllyRpZnraiV1Eu2rcHpEyF9ty+3M6mAxeFXEHDI2IvG?= =?us-ascii?Q?Aw9DqlPT4a297zi8KwGA1kUW6lmhHoZzbwv226XH37lEdlJaiJFYd06ElrD+?= =?us-ascii?Q?9IcsLPXpposFQfIPo1XyIxV0z4LwQkDMaEeUUYAKOSdFAzg9ae7GWnyWIGx2?= =?us-ascii?Q?2ri0aQJmOy7844BjqDhm6XAgL7H4sdBhEsdzriCQ47zg9U35t2cK9U/vGQDU?= =?us-ascii?Q?JhH2HZOY0DrFSZbdTloUFspN6hMegaLajp5Nck628O4hsQyYdh7eidV/Doft?= =?us-ascii?Q?Cdj1wOQyRRQtKGaA9d43XndaMojqgeZp6B1GqYJsdIoqBtFJFTcVyF4nlXS5?= =?us-ascii?Q?NEnWLvqC8DxrZ2K1kEAxOcaw6CtMX7XnYeSRoRlu8DdP6/SFIPnenhNNrhOX?= =?us-ascii?Q?GZxfvhaJEX1LASSt1059r9kLMkYGcPuWG9zDZhS8a2xTgW7FOK/QZIvMkRVF?= =?us-ascii?Q?ka5KoBJTfxoohujUEQqkmadzIoTPH8QQu3A3699XZ5SND0fa5nS29/2dwJ83?= =?us-ascii?Q?NjUKHKiVQviInJdhDkQbqYfkISlhUXz/FY67NrtXnCKF06smuUxInU4jo/PL?= =?us-ascii?Q?aj53FzXr86mSnwWhJfXDNn7ox5ePHYPjPJ0SckzacMwMGQb2IjRd8p7V447l?= =?us-ascii?Q?xlLa+mi5PsKipK7fTYqpWmu6Tp0rKYk/aeb0KWbMI38WbahxCWPQ+crm/bCC?= =?us-ascii?Q?vhJBF8Rvn6IwqTWEAHeAL87Fg49qxA9lOw9jZqlUjtTH3ItazGE7tNAUZrDC?= =?us-ascii?Q?rxcxZ2Y096kEXlc5JnUD3GmFLe8QAy7x64GxV2w8BrLMej7W7nERTa9FZYTQ?= =?us-ascii?Q?dYQhxBQfGEPvSxKiohOV830k+0Iwb6/rqlp6Kmx6jHlmW95KHapZKyFVrzWw?= =?us-ascii?Q?JJgbgUUQ+Y/1QWlO7aYY+T+WE2Ty3EJ3bxU7MJC1gJe+08DiQiXQ+jT7ifqk?= =?us-ascii?Q?ZJyM4gn3+/C6MoL3oC+SWLyBmZ4goORLvnAybDubcbG1QKdAvK9nKzlq0PkA?= =?us-ascii?Q?iAhmbe+r5A=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: 2b950dc4-c76a-4c7e-a164-08da52608b76 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2022 01:59:43.6335 (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: 8QJ4kF+1AAC4n1qPYXn6dcUzV2WLnzQzGNGkesemJ/xXWUJ6/GAB+WSk3CowScZUrVbGWXQ4sB/y4vk80trSqw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR11MB5751 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 > -----Original Message----- > From: Lipiec, Herakliusz > Sent: Tuesday, June 7, 2022 7:49 PM > To: maxime.coquelin@redhat.com; Xia, Chenbo ; > Richardson, Bruce > Cc: dev@dpdk.org; Lipiec, Herakliusz > Subject: [PATCH 3/3] examples/vhost: update vhost usage message >=20 > updating vhost usage message to be aligned with the documentation. >=20 > Signed-off-by: Herakliusz Lipiec > --- > examples/vhost/main.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) >=20 > diff --git a/examples/vhost/main.c b/examples/vhost/main.c > index c4d46de1c5..bb1aadffa9 100644 > --- a/examples/vhost/main.c > +++ b/examples/vhost/main.c > @@ -601,7 +601,6 @@ us_vhost_usage(const char *prgname) > " --vm2vm [0|1|2]\n" > " --rx_retry [0|1] --mergeable [0|1] --stats [0-N]\n" > " --socket-file \n" > - " --nb-devices ND\n" > " -p PORTMASK: Set mask for ports to be used by > application\n" > " --vm2vm [0|1|2]: disable/software(default)/hardware > vm2vm comms\n" > " --rx-retry [0|1]: disable/enable(default) retries on Rx. > Enable retry if destination queue is full\n" > @@ -610,11 +609,12 @@ us_vhost_usage(const char *prgname) > " --mergeable [0|1]: disable(default)/enable RX mergeable > buffers\n" > " --stats [0-N]: 0: Disable stats, N: Time in seconds to > print stats\n" > " --socket-file: The path of the socket file.\n" > - " --tx-csum [0|1] disable/enable TX checksum offload.\n" > - " --tso [0|1] disable/enable TCP segment offload.\n" > - " --client register a vhost-user socket as client mode.\n" > - " --dmas register dma channel for specific vhost > device.\n" > - " --total-num-mbufs [0-N] set the number of mbufs to be > allocated in mbuf pools, the default value is 147456.\n", > + " --tx-csum [0|1]: disable/enable TX checksum offload.\n" > + " --tso [0|1]: disable/enable TCP segment offload.\n" > + " --client: register a vhost-user socket as client > mode.\n" > + " --dmas: register dma channel for specific vhost > device.\n" > + " --total-num-mbufs [0-N]: set the number of mbufs to be > allocated in mbuf pools, the default value is 147456.\n" > + " --builtin-net-driver: enable simple vhost-user net > driver\n", > prgname); > } >=20 > -- > 2.36.1 Reviewed-by: Chenbo Xia