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 629C2A058A; Wed, 25 Mar 2020 05:24:18 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9BDAE1BE8A; Wed, 25 Mar 2020 05:24:17 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 19F3A4C8E for ; Wed, 25 Mar 2020 05:24:15 +0100 (CET) IronPort-SDR: Egzyd3C6ECEZ8Yix5pbviTVI0JOj9dbODaPj0U8Ld/TtK+bbxf4m16b7y5Sb4VtUOZdypIusVl hIyoxK7oa8QQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 21:24:09 -0700 IronPort-SDR: 33STejcoAsQR5M3EznTkbY1vEO4vFKSlDRq617yINK8ApgIOXx24iIIm9e/skbZfvVYHFzZEOV gFoWQCBw3hOQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,303,1580803200"; d="scan'208";a="250302311" Received: from dpdk-xuanding-dev2.sh.intel.com ([10.67.119.57]) by orsmga006.jf.intel.com with ESMTP; 24 Mar 2020 21:24:07 -0700 From: Xuan Ding To: maxime.coquelin@redhat.com, zhihong.wang@intel.com, xiaolong.ye@intel.com Cc: dev@dpdk.org, Xuan Ding Date: Wed, 25 Mar 2020 04:21:15 +0000 Message-Id: <20200325042115.84685-1-xuan.ding@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200325014054.79051-1-xuan.ding@intel.com> References: <20200325014054.79051-1-xuan.ding@intel.com> Subject: [dpdk-dev] [PATCH v2] doc: add note for vhost builtin example X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add memory pre-allocation note for vhost example when enabling "builtin-net-driver". Signed-off-by: Xuan Ding --- v2: * Modified expression in doc to make it more accurate. --- doc/guides/sample_app_ug/vhost.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_ug/vhost.rst index a71ada654..b7ed4f8bd 100644 --- a/doc/guides/sample_app_ug/vhost.rst +++ b/doc/guides/sample_app_ug/vhost.rst @@ -201,3 +201,10 @@ Common Issues QEMU vhost net device start will fail if protocol feature is not negotiated. DPDK virtio-user pmd can be the replacement of QEMU. + +* Device start fails when enabling "builtin-net-driver" without memory + pre-allocation + + The builtin example doesn't support dynamic memory allocation. When vhost + backend enables "builtin-net-driver", "--socket-mem" option should be + added at virtio-user pmd side as a startup item. -- 2.17.1