From patchwork Tue Jun 21 12:13:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herakliusz Lipiec X-Patchwork-Id: 113173 X-Patchwork-Delegate: maxime.coquelin@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4D459A00C5; Tue, 21 Jun 2022 14:09:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB6E84281A; Tue, 21 Jun 2022 14:08:55 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 1F707427F4 for ; Tue, 21 Jun 2022 14:08:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655813333; x=1687349333; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=sINcacvjFub2z5r2mQZaLaOdSh5Oej3clupXwJUf4mE=; b=oCacSgkzHyhiWXNmcDgtrSUAd16pbRzISKwZBm00/AcG9UQSpKWqOCDs F1gGOHpKs4zIDGFnX5Jl5+PRovhaHsKA4q8G6AdhY1jyfpEpzLDvGCymw d/9ECUF4j63xxjQPt7qOQuS1VK3coN8APwhl2KEMvVO1Zk/j7CDVSVrfW F595wFuFyxC48kdRE6KOs2rvp1WUPyW89hSPvOQiieoiY3y/gAxmyNWHO wL1QCLhdrCHR+uoKCBvCb7TrJ/9lRpha21PCRP9jCI/E/SG7Bero4K+98 n0SsUiq1GA99n7eUPTgAVZdJMKyxWCiPzLMqDGQBekdlXJDqcCnK5AqgT w==; X-IronPort-AV: E=McAfee;i="6400,9594,10384"; a="344094157" X-IronPort-AV: E=Sophos;i="5.92,209,1650956400"; d="scan'208";a="344094157" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 05:08:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,209,1650956400"; d="scan'208";a="585259513" Received: from silpixa00399499.ir.intel.com (HELO silpixa00399499.ger.corp.intel.com) ([10.237.223.138]) by orsmga007.jf.intel.com with ESMTP; 21 Jun 2022 05:08:51 -0700 From: Herakliusz Lipiec To: maxime.coquelin@redhat.com, chenbo.xia@intel.com, bruce.richardson@intel.com Cc: dev@dpdk.org, Herakliusz Lipiec Subject: [PATCH v2 3/3] examples/vhost: update vhost usage message Date: Tue, 21 Jun 2022 13:13:15 +0100 Message-Id: <20220621121315.1173180-3-herakliusz.lipiec@intel.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220621121315.1173180-1-herakliusz.lipiec@intel.com> References: <20220607114856.1085803-1-herakliusz.lipiec@intel.com> <20220621121315.1173180-1-herakliusz.lipiec@intel.com> MIME-Version: 1.0 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 updating vhost usage message to be aligned with the documentation. Signed-off-by: Herakliusz Lipiec Reviewed-by: Chenbo Xia --- examples/vhost/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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); }