Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDCE8C10DCE for ; Wed, 25 Mar 2020 01:43:46 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 929072073C for ; Wed, 25 Mar 2020 01:43:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 929072073C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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