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 37725A058F; Wed, 25 Mar 2020 02:43:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0DC6D2BCE; Wed, 25 Mar 2020 02:43:45 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 1E7D71E34 for ; Wed, 25 Mar 2020 02:43:42 +0100 (CET) IronPort-SDR: 83qhbx2z+azugWwOG0wAIzWKAJi4xB1TqlWGaMMW/dZI3IDIn39xYm5elI7/504TBYnj+Y7hQG QTFGHbjKNZeA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2020 18:43:41 -0700 IronPort-SDR: cqHZQI8hcI50vspnyGVivjNceVlnW5mIBHx8DUvcLuKR8Cd2Ik6eNgpGp7KpATyx10HXaiK9Y3 m6AKmUzWsGeQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,302,1580803200"; d="scan'208";a="357673820" Received: from dpdk-xuanding-dev2.sh.intel.com ([10.67.119.57]) by fmsmga001.fm.intel.com with ESMTP; 24 Mar 2020 18:43:39 -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 01:40:54 +0000 Message-Id: <20200325014054.79051-1-xuan.ding@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] 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 --- doc/guides/sample_app_ug/vhost.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_ug/vhost.rst index a71ada654..1db3ae931 100644 --- a/doc/guides/sample_app_ug/vhost.rst +++ b/doc/guides/sample_app_ug/vhost.rst @@ -201,3 +201,9 @@ 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. "--socket-mem" + option need to be added when enabling "builtin-net-driver". -- 2.17.1