doc: fix wrong config option
Checks
Commit Message
The documentation says that CONFIG_ENABLE_LTO enables LTO during the
build, but the correct value actually is CONFIG_RTE_ENABLE_LTO
Fixes: 098cc0fea3be ("build: add option to enable LTO")
Signed-off-by: Matteo Croce <mcroce@redhat.com>
---
doc/guides/prog_guide/lto.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Tue, May 12, 2020 at 9:49 PM Matteo Croce <mcroce@redhat.com> wrote:
>
> The documentation says that CONFIG_ENABLE_LTO enables LTO during the
> build, but the correct value actually is CONFIG_RTE_ENABLE_LTO
>
> Fixes: 098cc0fea3be ("build: add option to enable LTO")
Cc: stable@dpdk.org
> Signed-off-by: Matteo Croce <mcroce@redhat.com>
> ---
> doc/guides/prog_guide/lto.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/guides/prog_guide/lto.rst b/doc/guides/prog_guide/lto.rst
> index 43f4c6337..277a6f109 100644
> --- a/doc/guides/prog_guide/lto.rst
> +++ b/doc/guides/prog_guide/lto.rst
> @@ -31,7 +31,7 @@ the whole DPDK by setting:
>
> .. code-block:: console
>
> - CONFIG_ENABLE_LTO=y
> + CONFIG_RTE_ENABLE_LTO=y
>
> in config file.
>
Reviewed-by: David Marchand <david.marchand@redhat.com>
On 12/05/2020 21:48, Matteo Croce wrote:
> External Email
>
> ----------------------------------------------------------------------
> The documentation says that CONFIG_ENABLE_LTO enables LTO during the
> build, but the correct value actually is CONFIG_RTE_ENABLE_LTO
>
> Fixes: 098cc0fea3be ("build: add option to enable LTO")
> Signed-off-by: Matteo Croce <mcroce@redhat.com>
> ---
> doc/guides/prog_guide/lto.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/guides/prog_guide/lto.rst b/doc/guides/prog_guide/lto.rst
> index 43f4c6337..277a6f109 100644
> --- a/doc/guides/prog_guide/lto.rst
> +++ b/doc/guides/prog_guide/lto.rst
> @@ -31,7 +31,7 @@ the whole DPDK by setting:
>
> .. code-block:: console
>
> - CONFIG_ENABLE_LTO=y
> + CONFIG_RTE_ENABLE_LTO=y
>
> in config file.
Thank you Matteo.
Acked-by: Andrzej Ostruszka <aostruszka@marvell.com>
With regards
Andrzej Ostruszka
On Tue, May 12, 2020 at 9:49 PM Matteo Croce <mcroce@redhat.com> wrote:
>
> The documentation says that CONFIG_ENABLE_LTO enables LTO during the
> build, but the correct value actually is CONFIG_RTE_ENABLE_LTO
>
> Fixes: 098cc0fea3be ("build: add option to enable LTO")
Cc: stable@dpdk.org
> Signed-off-by: Matteo Croce <mcroce@redhat.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Andrzej Ostruszka <aostruszka@marvell.com>
Applied, thanks.
@@ -31,7 +31,7 @@ the whole DPDK by setting:
.. code-block:: console
- CONFIG_ENABLE_LTO=y
+ CONFIG_RTE_ENABLE_LTO=y
in config file.