* [PATCH] doc: fix vhost guide @ 2015-04-08 16:31 Igor Ryzhov [not found] ` <1428510667-6438-1-git-send-email-iryzhov-KFClsOz4rnbQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Igor Ryzhov @ 2015-04-08 16:31 UTC (permalink / raw) To: dev-VfR2kkLFssw; +Cc: Igor Ryzhov Guide says that a configure parameter to choose between vhost cuse and vhost user will be introduced in the future, but it’s already added by commit 28a1ccca41bf. Signed-off-by: Igor Ryzhov <iryzhov-KFClsOz4rnbQT0dZR+AlfA@public.gmane.org> --- doc/guides/sample_app_ug/vhost.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_ug/vhost.rst index 8a7eb3b..df8cd8c 100644 --- a/doc/guides/sample_app_ug/vhost.rst +++ b/doc/guides/sample_app_ug/vhost.rst @@ -309,13 +309,12 @@ Compiling the Sample Code CONFIG_RTE_LIBRTE_VHOST=n - vhost user is turned on by default in the lib/librte_vhost/Makefile. - To enable vhost cuse, uncomment vhost cuse and comment vhost user manually. In future, a configure will be created for switch between two implementations. + vhost user is turned on by default in the configure file config/common_linuxapp. + To enable vhost cuse, disable vhost user. .. code-block:: console - SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_cuse/vhost-net-cdev.c vhost_cuse/virtio-net-cdev.c vhost_cuse/eventfd_copy.c - #SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_user/vhost-net-user.c vhost_user/virtio-net-user.c vhost_user/fd_man.c + CONFIG_RTE_LIBRTE_VHOST_USER=y After vhost is enabled and the implementation is selected, build the vhost library. -- 1.9.5 (Apple Git-50.3) ^ permalink raw reply related [flat|nested] 7+ messages in thread
[parent not found: <1428510667-6438-1-git-send-email-iryzhov-KFClsOz4rnbQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH] doc: fix vhost guide [not found] ` <1428510667-6438-1-git-send-email-iryzhov-KFClsOz4rnbQT0dZR+AlfA@public.gmane.org> @ 2015-04-08 19:53 ` Butler, Siobhan A 2015-04-13 4:52 ` Ouyang, Changchun 1 sibling, 0 replies; 7+ messages in thread From: Butler, Siobhan A @ 2015-04-08 19:53 UTC (permalink / raw) To: Igor Ryzhov, dev-VfR2kkLFssw@public.gmane.org > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Igor Ryzhov > Sent: Wednesday, April 8, 2015 5:31 PM > To: dev@dpdk.org > Cc: Igor Ryzhov > Subject: [dpdk-dev] [PATCH] doc: fix vhost guide > > Guide says that a configure parameter to choose between vhost cuse and > vhost user will be introduced in the future, but it’s already added by commit > 28a1ccca41bf. Good point Igor- thanks for the spot. Siobhan > > Signed-off-by: Igor Ryzhov <iryzhov@nfware.com> > --- > doc/guides/sample_app_ug/vhost.rst | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/doc/guides/sample_app_ug/vhost.rst > b/doc/guides/sample_app_ug/vhost.rst > index 8a7eb3b..df8cd8c 100644 > --- a/doc/guides/sample_app_ug/vhost.rst > +++ b/doc/guides/sample_app_ug/vhost.rst > @@ -309,13 +309,12 @@ Compiling the Sample Code > > CONFIG_RTE_LIBRTE_VHOST=n > > - vhost user is turned on by default in the lib/librte_vhost/Makefile. > - To enable vhost cuse, uncomment vhost cuse and comment vhost user > manually. In future, a configure will be created for switch between two > implementations. > + vhost user is turned on by default in the configure file > config/common_linuxapp. > + To enable vhost cuse, disable vhost user. > > .. code-block:: console > > - SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_cuse/vhost-net-cdev.c > vhost_cuse/virtio-net-cdev.c vhost_cuse/eventfd_copy.c > - #SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_user/vhost-net-user.c > vhost_user/virtio-net-user.c vhost_user/fd_man.c > + CONFIG_RTE_LIBRTE_VHOST_USER=y > > After vhost is enabled and the implementation is selected, build the vhost > library. > > -- > 1.9.5 (Apple Git-50.3) ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] doc: fix vhost guide [not found] ` <1428510667-6438-1-git-send-email-iryzhov-KFClsOz4rnbQT0dZR+AlfA@public.gmane.org> 2015-04-08 19:53 ` Butler, Siobhan A @ 2015-04-13 4:52 ` Ouyang, Changchun [not found] ` <F52918179C57134FAEC9EA62FA2F962511AB9D6F-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org> 1 sibling, 1 reply; 7+ messages in thread From: Ouyang, Changchun @ 2015-04-13 4:52 UTC (permalink / raw) To: Igor Ryzhov, dev-VfR2kkLFssw@public.gmane.org Hi Igor, Good catch, comments as below. > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Igor Ryzhov > Sent: Thursday, April 9, 2015 12:31 AM > To: dev@dpdk.org > Cc: Igor Ryzhov > Subject: [dpdk-dev] [PATCH] doc: fix vhost guide > > Guide says that a configure parameter to choose between vhost cuse and > vhost user will be introduced in the future, but it’s already added by commit > 28a1ccca41bf. > > Signed-off-by: Igor Ryzhov <iryzhov@nfware.com> > --- > doc/guides/sample_app_ug/vhost.rst | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/doc/guides/sample_app_ug/vhost.rst > b/doc/guides/sample_app_ug/vhost.rst > index 8a7eb3b..df8cd8c 100644 > --- a/doc/guides/sample_app_ug/vhost.rst > +++ b/doc/guides/sample_app_ug/vhost.rst > @@ -309,13 +309,12 @@ Compiling the Sample Code > > CONFIG_RTE_LIBRTE_VHOST=n > > - vhost user is turned on by default in the lib/librte_vhost/Makefile. > - To enable vhost cuse, uncomment vhost cuse and comment vhost user > manually. In future, a configure will be created for switch between two > implementations. > + vhost user is turned on by default in the configure file > config/common_linuxapp. > + To enable vhost cuse, disable vhost user. > > .. code-block:: console > > - SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_cuse/vhost-net-cdev.c > vhost_cuse/virtio-net-cdev.c vhost_cuse/eventfd_copy.c > - #SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_user/vhost-net-user.c > vhost_user/virtio-net-user.c vhost_user/fd_man.c > + CONFIG_RTE_LIBRTE_VHOST_USER=y If it wants to guide user how to enable vhost cuse, then I think It makes sense to change it into: CONFIG_RTE_LIBRTE_VHOST_USER=n Thanks Changchun ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <F52918179C57134FAEC9EA62FA2F962511AB9D6F-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: [PATCH] doc: fix vhost guide [not found] ` <F52918179C57134FAEC9EA62FA2F962511AB9D6F-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2015-04-13 7:11 ` Igor Ryzhov [not found] ` <AC251030-A286-4EAC-9449-2D72420F1E24-p3dJzl6UAic@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Igor Ryzhov @ 2015-04-13 7:11 UTC (permalink / raw) To: Ouyang, Changchun; +Cc: dev-VfR2kkLFssw@public.gmane.org, Igor Ryzhov Hello, Changchun. Previous paragraph says «To enable vhost, turn on vhost library in the configure file config/common_linuxapp», but string in a code-block is «CONFIG_RTE_LIBRTE_VHOST=n». I thought that idea is to use the default string from the config file that user have to change, not already changed string. So I used the same style. Regards, Igor > 13 апр. 2015 г., в 7:52, Ouyang, Changchun <changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> написал(а): > > Hi Igor, > > Good catch, comments as below. > >> -----Original Message----- >> From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Igor Ryzhov >> Sent: Thursday, April 9, 2015 12:31 AM >> To: dev-VfR2kkLFssw@public.gmane.org >> Cc: Igor Ryzhov >> Subject: [dpdk-dev] [PATCH] doc: fix vhost guide >> >> Guide says that a configure parameter to choose between vhost cuse and >> vhost user will be introduced in the future, but it’s already added by commit >> 28a1ccca41bf. >> >> Signed-off-by: Igor Ryzhov <iryzhov-KFClsOz4rnbQT0dZR+AlfA@public.gmane.org> >> --- >> doc/guides/sample_app_ug/vhost.rst | 7 +++---- >> 1 file changed, 3 insertions(+), 4 deletions(-) >> >> diff --git a/doc/guides/sample_app_ug/vhost.rst >> b/doc/guides/sample_app_ug/vhost.rst >> index 8a7eb3b..df8cd8c 100644 >> --- a/doc/guides/sample_app_ug/vhost.rst >> +++ b/doc/guides/sample_app_ug/vhost.rst >> @@ -309,13 +309,12 @@ Compiling the Sample Code >> >> CONFIG_RTE_LIBRTE_VHOST=n >> >> - vhost user is turned on by default in the lib/librte_vhost/Makefile. >> - To enable vhost cuse, uncomment vhost cuse and comment vhost user >> manually. In future, a configure will be created for switch between two >> implementations. >> + vhost user is turned on by default in the configure file >> config/common_linuxapp. >> + To enable vhost cuse, disable vhost user. >> >> .. code-block:: console >> >> - SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_cuse/vhost-net-cdev.c >> vhost_cuse/virtio-net-cdev.c vhost_cuse/eventfd_copy.c >> - #SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_user/vhost-net-user.c >> vhost_user/virtio-net-user.c vhost_user/fd_man.c >> + CONFIG_RTE_LIBRTE_VHOST_USER=y > > If it wants to guide user how to enable vhost cuse, then I think > It makes sense to change it into: CONFIG_RTE_LIBRTE_VHOST_USER=n > > Thanks > Changchun ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <AC251030-A286-4EAC-9449-2D72420F1E24-p3dJzl6UAic@public.gmane.org>]
* Re: [PATCH] doc: fix vhost guide [not found] ` <AC251030-A286-4EAC-9449-2D72420F1E24-p3dJzl6UAic@public.gmane.org> @ 2015-04-13 7:14 ` Igor Ryzhov [not found] ` <CAF+s_Fz8fT+3Vhv5q+GuLpMRQVCFDX_9w_efJZrDVJ3PmOe7zg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Igor Ryzhov @ 2015-04-13 7:14 UTC (permalink / raw) To: Ouyang, Changchun; +Cc: dev-VfR2kkLFssw@public.gmane.org Sorry, I used wrong email address to reply from. This one is correct. On Mon, Apr 13, 2015 at 10:11 AM, Igor Ryzhov <iryzhov-p3dJzl6UAic@public.gmane.org> wrote: > Hello, Changchun. > > Previous paragraph says «To enable vhost, turn on vhost library in the > configure file config/common_linuxapp», but string in a code-block is > «CONFIG_RTE_LIBRTE_VHOST=n». I thought that idea is to use the default > string from the config file that user have to change, not already changed > string. So I used the same style. > > Regards, > Igor > > 13 апр. 2015 г., в 7:52, Ouyang, Changchun <changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> > написал(а): > > Hi Igor, > > Good catch, comments as below. > > -----Original Message----- > From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org <dev-bounces-VfR2kkLFssw@public.gmane.org>] On Behalf > Of Igor Ryzhov > Sent: Thursday, April 9, 2015 12:31 AM > To: dev-VfR2kkLFssw@public.gmane.org > Cc: Igor Ryzhov > Subject: [dpdk-dev] [PATCH] doc: fix vhost guide > > Guide says that a configure parameter to choose between vhost cuse and > vhost user will be introduced in the future, but it’s already added by > commit > 28a1ccca41bf. > > Signed-off-by: Igor Ryzhov <iryzhov-KFClsOz4rnbQT0dZR+AlfA@public.gmane.org> > --- > doc/guides/sample_app_ug/vhost.rst | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/doc/guides/sample_app_ug/vhost.rst > b/doc/guides/sample_app_ug/vhost.rst > index 8a7eb3b..df8cd8c 100644 > --- a/doc/guides/sample_app_ug/vhost.rst > +++ b/doc/guides/sample_app_ug/vhost.rst > @@ -309,13 +309,12 @@ Compiling the Sample Code > > CONFIG_RTE_LIBRTE_VHOST=n > > - vhost user is turned on by default in the lib/librte_vhost/Makefile. > - To enable vhost cuse, uncomment vhost cuse and comment vhost user > manually. In future, a configure will be created for switch between two > implementations. > + vhost user is turned on by default in the configure file > config/common_linuxapp. > + To enable vhost cuse, disable vhost user. > > .. code-block:: console > > - SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_cuse/vhost-net-cdev.c > vhost_cuse/virtio-net-cdev.c vhost_cuse/eventfd_copy.c > - #SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_user/vhost-net-user.c > vhost_user/virtio-net-user.c vhost_user/fd_man.c > + CONFIG_RTE_LIBRTE_VHOST_USER=y > > > If it wants to guide user how to enable vhost cuse, then I think > It makes sense to change it into: CONFIG_RTE_LIBRTE_VHOST_USER=n > > Thanks > Changchun > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <CAF+s_Fz8fT+3Vhv5q+GuLpMRQVCFDX_9w_efJZrDVJ3PmOe7zg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH] doc: fix vhost guide [not found] ` <CAF+s_Fz8fT+3Vhv5q+GuLpMRQVCFDX_9w_efJZrDVJ3PmOe7zg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2015-04-14 2:34 ` Ouyang, Changchun [not found] ` <F52918179C57134FAEC9EA62FA2F962511ABC579-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Ouyang, Changchun @ 2015-04-14 2:34 UTC (permalink / raw) To: Igor Ryzhov; +Cc: dev-VfR2kkLFssw@public.gmane.org From: Igor Ryzhov [mailto:iryzhov@nfware.com] Sent: Monday, April 13, 2015 3:14 PM To: Ouyang, Changchun Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] doc: fix vhost guide Sorry, I used wrong email address to reply from. This one is correct. On Mon, Apr 13, 2015 at 10:11 AM, Igor Ryzhov <iryzhov@arccn.ru<mailto:iryzhov@arccn.ru>> wrote: Hello, Changchun. Previous paragraph says «To enable vhost, turn on vhost library in the configure file config/common_linuxapp», but string in a code-block is «CONFIG_RTE_LIBRTE_VHOST=n». I thought that idea is to use the default string from the config file that user have to change, not already changed string. So I used the same style. Regards, Igor 13 апр. 2015 г., в 7:52, Ouyang, Changchun <changchun.ouyang@intel.com<mailto:changchun.ouyang@intel.com>> написал(а): Hi Igor, Good catch, comments as below. -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Igor Ryzhov Sent: Thursday, April 9, 2015 12:31 AM To: dev@dpdk.org<mailto:dev@dpdk.org> Cc: Igor Ryzhov Subject: [dpdk-dev] [PATCH] doc: fix vhost guide Guide says that a configure parameter to choose between vhost cuse and vhost user will be introduced in the future, but it’s already added by commit 28a1ccca41bf. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com<mailto:iryzhov@nfware.com>> Acked-by: Changchun Ouyang <changchun.ouyang@intel.com> ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <F52918179C57134FAEC9EA62FA2F962511ABC579-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: [PATCH] doc: fix vhost guide [not found] ` <F52918179C57134FAEC9EA62FA2F962511ABC579-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2015-04-16 12:22 ` Thomas Monjalon 0 siblings, 0 replies; 7+ messages in thread From: Thomas Monjalon @ 2015-04-16 12:22 UTC (permalink / raw) To: Igor Ryzhov; +Cc: dev-VfR2kkLFssw > Guide says that a configure parameter to choose between vhost cuse and > vhost user will be introduced in the future, but it’s already added by commit > 28a1ccca41bf. > > Signed-off-by: Igor Ryzhov <iryzhov-KFClsOz4rnbQT0dZR+AlfA@public.gmane.org<mailto:iryzhov@nfware.com>> > > Acked-by: Changchun Ouyang <changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Applied, thanks ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-04-16 12:22 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-04-08 16:31 [PATCH] doc: fix vhost guide Igor Ryzhov [not found] ` <1428510667-6438-1-git-send-email-iryzhov-KFClsOz4rnbQT0dZR+AlfA@public.gmane.org> 2015-04-08 19:53 ` Butler, Siobhan A 2015-04-13 4:52 ` Ouyang, Changchun [not found] ` <F52918179C57134FAEC9EA62FA2F962511AB9D6F-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org> 2015-04-13 7:11 ` Igor Ryzhov [not found] ` <AC251030-A286-4EAC-9449-2D72420F1E24-p3dJzl6UAic@public.gmane.org> 2015-04-13 7:14 ` Igor Ryzhov [not found] ` <CAF+s_Fz8fT+3Vhv5q+GuLpMRQVCFDX_9w_efJZrDVJ3PmOe7zg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2015-04-14 2:34 ` Ouyang, Changchun [not found] ` <F52918179C57134FAEC9EA62FA2F962511ABC579-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org> 2015-04-16 12:22 ` Thomas Monjalon
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).