X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fplatform%2Fbluefield.rst;h=635e4146009f35b37008cda897901c35cf237d84;hb=19f3af2371a7fdc549cbc270c298be156b3bd545;hp=894db2c2a4766b1a450e11190074108cd78e0852;hpb=221a07fae7ca58d7357a87259b495d0908bf8642;p=dpdk.git diff --git a/doc/guides/platform/bluefield.rst b/doc/guides/platform/bluefield.rst index 894db2c2a4..635e414600 100644 --- a/doc/guides/platform/bluefield.rst +++ b/doc/guides/platform/bluefield.rst @@ -11,15 +11,14 @@ and common offload HW drivers of **Mellanox BlueField** family SoC. Supported BlueField family SoCs ------------------------------- -- `BlueField `_ +- `BlueField `_ Supported BlueField Platforms ----------------------------- -- `BlueField SmartNIC `_ -- `BlueField Reference Platforms `_ -- `BlueField Controller Card `_ +- `BlueField-1 `_ +- `BlueField-2 `_ Common Offload HW Drivers @@ -42,10 +41,11 @@ Common Offload HW Drivers Steps To Setup Platform ----------------------- -Toolchains, OS and drivers can be downloaded and installed individually from the -Web. But it is recommended to follow instructions at -`Mellanox BlueField Software Website -`_. +Toolchains, OS and drivers can be downloaded and installed individually +from the web, but it is recommended to follow instructions at: + +- `Mellanox BlueField-1 Software Website `_ +- `Mellanox BlueField-2 Software Website `_ Compile DPDK @@ -60,17 +60,6 @@ Native Compilation Refer to :doc:`../nics/mlx5` for prerequisites. Either Mellanox OFED/EN or rdma-core library with corresponding kernel drivers is required. -make build -^^^^^^^^^^ - -.. code-block:: console - - make config T=arm64-bluefield-linux-gcc - make -j - -meson build -^^^^^^^^^^^ - .. code-block:: console meson build @@ -84,17 +73,15 @@ toolchain for ARM64. Base on that, additional header files and libraries are required: - libibverbs - - libmnl - libmlx5 - libnl-3 - libnl-route-3 -Such header files and libraries can be cross-compiled and installed on to the -cross toolchain directory like depicted in -:ref:`arm_cross_build_getting_the_prerequisite_library`, but those can also be -simply copied from the filesystem of a working BlueField platform. The following -script can be run on a BlueField platform in order to create a supplementary -tarball for the cross toolchain. +Such header files and libraries can be cross-compiled and installed +in the cross toolchain environment. +They can also be simply copied from the filesystem of a working BlueField platform. +The following script can be run on a BlueField platform in order to create +a supplementary tarball for the cross toolchain. .. code-block:: console @@ -105,19 +92,16 @@ tarball for the cross toolchain. # Copy libraries mkdir -p lib64 cp -a /lib64/libibverbs* lib64/ - cp -a /lib64/libmnl* lib64/ cp -a /lib64/libmlx5* lib64/ cp -a /lib64/libnl-3* lib64/ cp -a /lib64/libnl-route-3* lib64/ # Copy header files mkdir -p usr/include/infiniband - mkdir -p usr/include/libmnl cp -a /usr/include/infiniband/ib_user_ioctl_verbs.h usr/include/infiniband/ cp -a /usr/include/infiniband/mlx5*.h usr/include/infiniband/ cp -a /usr/include/infiniband/tm_types.h usr/include/infiniband/ cp -a /usr/include/infiniband/verbs*.h usr/include/infiniband/ - cp -a /usr/include/libmnl/libmnl.h usr/include/libmnl/ # Create supplementary tarball popd @@ -130,17 +114,6 @@ Then, untar the tarball at the cross toolchain directory on the x86 host. cd $(dirname $(which aarch64-linux-gnu-gcc))/.. tar xf aarch64-linux-gnu-mlx.tar -make build -^^^^^^^^^^ - -.. code-block:: console - - make config T=arm64-bluefield-linux-gcc - make -j CROSS=aarch64-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n - -meson build -^^^^^^^^^^^ - .. code-block:: console meson build --cross-file config/arm/arm64_bluefield_linux_gcc