From: Xuan Ding Date: Wed, 25 Mar 2020 04:21:15 +0000 (+0000) Subject: doc: add note for vhost builtin example X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b1692872aaff0ccb018e98d6d46fd7506a825513;p=dpdk.git doc: add note for vhost builtin example Add memory pre-allocation note for vhost example when enabling "builtin-net-driver". Signed-off-by: Xuan Ding Reviewed-by: Maxime Coquelin --- diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_ug/vhost.rst index a71ada6549..b7ed4f8bdf 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.