[1/3] doc: add mlx5 note for Bluefield build configuration

Message ID 20190130075321.24466-1-yskoh@mellanox.com
State Accepted, archived
Delegated to: Shahaf Shuler
Headers show
Series
  • [1/3] doc: add mlx5 note for Bluefield build configuration
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Yongseok Koh Jan. 30, 2019, 7:53 a.m.
Fixes: d14e4e976f65 ("config: add Mellanox BlueField armv8 SoC")
Cc: stable@dpdk.org

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
---
 doc/guides/nics/mlx5.rst | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Shahaf Shuler Jan. 31, 2019, 6:59 a.m. | #1
Wednesday, January 30, 2019 9:53 AM, Yongseok Koh:
> Subject: [dpdk-dev] [PATCH 1/3] doc: add mlx5 note for Bluefield build
> configuration
> 
> Fixes: d14e4e976f65 ("config: add Mellanox BlueField armv8 SoC")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Yongseok Koh <yskoh@mellanox.com>

For the series - Acked-by: Shahaf Shuler <shahafs@mellanox.com>

> ---
>  doc/guides/nics/mlx5.rst | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index
> 3f168b1613..62de860d0a 100644
> --- a/doc/guides/nics/mlx5.rst
> +++ b/doc/guides/nics/mlx5.rst
> @@ -221,6 +221,13 @@ These options can be modified in the ``.config`` file.
>    adds additional run-time checks and debugging messages at the cost of
>    lower performance.
> 
> +.. note::
> +
> +   For Bluefield, target should be set to ``arm64-bluefield-linuxapp-gcc``. This
> +   will enable ``CONFIG_RTE_LIBRTE_MLX5_PMD`` and set
> ``RTE_CACHE_LINE_SIZE`` to
> +   64. Default armv8a configuration of make build and meson build set it to
> 128
> +   then brings performance degradation.
> +
>  Environment variables
>  ~~~~~~~~~~~~~~~~~~~~~
> 
> --
> 2.11.0
Thomas Monjalon Jan. 31, 2019, 5:32 p.m. | #2
31/01/2019 07:59, Shahaf Shuler:
> Wednesday, January 30, 2019 9:53 AM, Yongseok Koh:
> > Subject: [dpdk-dev] [PATCH 1/3] doc: add mlx5 note for Bluefield build
> > configuration
> > 
> > Fixes: d14e4e976f65 ("config: add Mellanox BlueField armv8 SoC")
> > Cc: stable@dpdk.org
> > 
> > Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
> 
> For the series - Acked-by: Shahaf Shuler <shahafs@mellanox.com>

Applied

Patch

diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 3f168b1613..62de860d0a 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -221,6 +221,13 @@  These options can be modified in the ``.config`` file.
   adds additional run-time checks and debugging messages at the cost of
   lower performance.
 
+.. note::
+
+   For Bluefield, target should be set to ``arm64-bluefield-linuxapp-gcc``. This
+   will enable ``CONFIG_RTE_LIBRTE_MLX5_PMD`` and set ``RTE_CACHE_LINE_SIZE`` to
+   64. Default armv8a configuration of make build and meson build set it to 128
+   then brings performance degradation.
+
 Environment variables
 ~~~~~~~~~~~~~~~~~~~~~