From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id F2390235 for ; Wed, 25 Jul 2018 11:27:27 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jul 2018 02:27:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,400,1526367600"; d="scan'208";a="74342098" Received: from dpdk-test32.sh.intel.com ([10.67.119.193]) by fmsmga004.fm.intel.com with ESMTP; 25 Jul 2018 02:27:26 -0700 From: Marvin Liu To: tiwei.bie@intel.com, dev@dpdk.org Cc: Marvin Liu Date: Thu, 26 Jul 2018 01:12:24 +0800 Message-Id: <20180725171224.21113-1-yong.liu@intel.com> X-Mailer: git-send-email 2.17.0 Subject: [dpdk-dev] [PATCH] doc: add note for builtin-net-driver option 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: , X-List-Received-Date: Wed, 25 Jul 2018 09:27:28 -0000 If builtin-net-driver option is enabled, simple vhost device will not enable protocol feature bit. QEMU vhost net device startup will be failed without protocol feature. Then QEMU process will be aborted when reloading virtio net driver due to previous failure. Signed-off-by: Marvin Liu diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_ug/vhost.rst index 9112e7897..01adae408 100644 --- a/doc/guides/sample_app_ug/vhost.rst +++ b/doc/guides/sample_app_ug/vhost.rst @@ -158,6 +158,10 @@ when disabling VLAN strip. Such feature, which heavily depends on hardware, should be removed from this example to reduce confusion. Now, VLAN strip is enabled and cannot be disabled. +**--builtin-net-driver** +The builtin-net-driver option enabled very simple enqueue and dequeue function. +This option is disabled by default. + Common Issues ------------- @@ -192,3 +196,10 @@ Common Issues according to the NIC's property. :: make EXTRA_CFLAGS="-DMAX_QUEUES=320" + +* QEMU abort when builtin-net-driver option enabled + + QEMU vhost net device startup will be failed without + VHOST_USER_F_PROTOCOL_FEATURES feature bit. Thus will cause QEMU process + abort when reloading virtio driver. DPDK vhost-user can be the replacement + of QEMU. -- 2.17.0