[dpdk-dev] [PATCH v3 4/7] qat: build from common folder

Luca Boccassi bluca at debian.org
Thu Oct 15 12:32:32 CEST 2020


On Wed, 2020-10-14 at 15:13 +0100, Bruce Richardson wrote:
> Since the drivers in the common directory can be processed out of order, in
> this case following the "bus" directory, we can simplify somewhat the build
> of the QAT driver to be done entirely from the "common/qat" folder rather
> than having it's build distributed across 3 folders.
> 
> This also opens up the possibility of building the QAT driver with crypto
> only and the compression part disabled. It further allows more sensible
> naming of the resulting shared library in case of standardizing library
> names based on device class; i.e. common_qat is more descriptive for a
> combined crypto/compression driver than either of the other two prefixes
> individually.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
>  drivers/common/meson.build                    |  2 +-
>  drivers/common/qat/meson.build                | 69 ++++++++++++++++---
>  .../qat/rte_common_qat_version.map}           |  0
>  drivers/compress/meson.build                  |  2 +-
>  drivers/compress/qat/meson.build              | 17 -----
>  drivers/crypto/meson.build                    |  1 -
>  drivers/crypto/qat/meson.build                | 23 -------
>  drivers/meson.build                           |  1 +
>  8 files changed, 63 insertions(+), 52 deletions(-)
>  rename drivers/{compress/qat/rte_pmd_qat_version.map => common/qat/rte_common_qat_version.map} (100%)
>  delete mode 100644 drivers/compress/qat/meson.build
>  delete mode 100644 drivers/crypto/qat/meson.build

Acked-by: Luca Boccassi <bluca at debian.org>

-- 
Kind regards,
Luca Boccassi


More information about the dev mailing list