doc: add note for vhost builtin example
PATCH 1/1 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 <[email protected]>
--- doc/guides/sample_app_ug/vhost.rst | 6 ++++++ 1 file changed, 6 insertions(+)
doc/guides/sample_app_ug/vhost.rst +6 -0
@@ -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".
Signature · 1 line
2.17.1
PATCH v2 1/1 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 <[email protected]>
---
v2:
* Modified expression in doc to make it more accurate.
--- doc/guides/sample_app_ug/vhost.rst | 7 +++++++ 1 file changed, 7 insertions(+)
doc/guides/sample_app_ug/vhost.rst +7 -0
@@ -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.
Signature · 1 line
2.17.1
Quoted 11 lines · Xuan Ding
Add memory pre-allocation note for vhost example when enabling "builtin-net-driver".
Signed-off-by Xuan Ding <[email protected]>---
v2:
* Modified expression in doc to make it more accurate.--- doc/guides/sample_app_ug/vhost.rst | 7 +++++++ 1 file changed, 7 insertions(+)
Reviewed-by Maxime Coquelin <[email protected]>
Thanks,
Maxime
Maxime Coquelin
AppliedQuoted 11 lines · Xuan Ding
Add memory pre-allocation note for vhost example when enabling "builtin-net-driver".
Signed-off-by Xuan Ding <[email protected]>---
v2:
* Modified expression in doc to make it more accurate.--- doc/guides/sample_app_ug/vhost.rst | 7 +++++++ 1 file changed, 7 insertions(+)
Applied to dpdk-next-virtio/master
Thanks,
Maxime