Skip to content

Commit 4b6a1eb

Browse files
authored
Merge pull request ceph#60953 from zdover23/wip-doc-2024-12-04-radosgw-uadk-accel
doc/radosgw: edit uadk-accel.rst Reviewed-by: Anthony D'Atri <[email protected]>
2 parents ffde19a + 8bec39b commit 4b6a1eb

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

doc/radosgw/uadk-accel.rst

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ See `OpenSSL UADK Engine`_.
3333

3434
UADK Environment Setup
3535
======================
36-
UADK consists of UACCE, vendors’ drivers, and an algorithm layer. UADK requires the
37-
hardware accelerator to support SVA, and the operating system to support IOMMU and
38-
SVA. Hardware accelerators from different vendors are registered as different character
39-
devices with UACCE by using kernel-mode drivers of the vendors.
36+
UADK consists of UACCE, vendor drivers, and an algorithm layer. UADK requires
37+
the hardware accelerator to support SVA, and the operating system to support
38+
IOMMU and SVA. Hardware accelerators are registered as different character
39+
devices with UACCE by kernel-mode drivers.
4040

4141
::
4242

@@ -77,11 +77,11 @@ Configuration
7777

7878
#. Kernel Requirement
7979

80-
User needs to make sure that UACCE is already supported in Linux kernel. The kernel version
81-
should be at least v5.9 with SVA (Shared Virtual Addressing) enabled.
80+
Users need to ensure that UACCE is supported by the Linux kernel release in
81+
use, which should be 5.9 or later with SVA (Shared Virtual Addressing) enabled.
8282

83-
UACCE may be built as a module or built into the kernel. Here's an example to build UACCE
84-
with hardware accelerators for the HiSilicon Kunpeng platform.
83+
UACCE may be built as a module or built into the kernel. Here's an example to
84+
build UACCE with hardware accelerators for the HiSilicon Kunpeng platform.
8585

8686
.. prompt:: bash $
8787

@@ -97,9 +97,9 @@ with hardware accelerators for the HiSilicon Kunpeng platform.
9797
Make sure all these above kernel configurations are selected.
9898

9999
#. UADK enablement
100-
If the architecture is aarch64, it will automatically download the UADK source code to build
101-
the static library. If it runs on other architecture, user can enable it with build parameters
102-
`-DWITH_UADK=true`
100+
If the architecture is aarch64, it will automatically download the UADK source
101+
code to build the static library. If it runs on other architecture, user can
102+
enable it with build parameters `-DWITH_UADK=true`
103103

104104
#. Manual Build UADK
105105
As the above paragraph shows, the UADK is enabled automatically, no need to build manually.
@@ -115,9 +115,9 @@ For developer who is interested in UADK, you can refer to the below steps for bu
115115
make
116116
make install
117117

118-
.. note:: Without –prefix, UADK will be installed to /usr/local/lib by
119-
default. If get error:"cannot find -lnuma", please install
120-
the `libnuma-dev`.
118+
.. note:: Without –prefix, UADK will be installed to ``/usr/local/lib`` by
119+
default. If you get the error: ``cannot find -lnuma``, install the
120+
``libnuma-dev`` package.
121121

122122
#. Configure
123123

@@ -126,7 +126,8 @@ For developer who is interested in UADK, you can refer to the below steps for bu
126126

127127
uadk_compressor_enabled=true
128128

129-
The default value in `global.yaml.in` for `uadk_compressor_enabled` is false.
129+
The default value in `global.yaml.in` for `uadk_compressor_enabled` is
130+
``false``.
130131

131132
.. _Compressor UADK Support: https://github.com/ceph/ceph/pull/58336
132133
.. _OpenSSL UADK Engine: https://github.com/Linaro/uadk_engine

0 commit comments

Comments
 (0)