2019-06-28 18:23:12 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(C) 2019 Marvell International Ltd.
|
|
|
|
#
|
|
|
|
|
2020-11-09 16:44:30 +00:00
|
|
|
if not dpdk_conf.get('RTE_ARCH_64')
|
2021-04-20 10:22:25 +00:00
|
|
|
build = false
|
|
|
|
reason = 'only supported on 64-bit'
|
|
|
|
subdir_done()
|
2020-11-09 16:44:30 +00:00
|
|
|
endif
|
|
|
|
|
2021-04-20 10:22:25 +00:00
|
|
|
sources = files(
|
|
|
|
'otx2_worker.c',
|
|
|
|
'otx2_worker_dual.c',
|
|
|
|
'otx2_evdev.c',
|
|
|
|
'otx2_evdev_adptr.c',
|
|
|
|
'otx2_evdev_crypto_adptr.c',
|
|
|
|
'otx2_evdev_irq.c',
|
|
|
|
'otx2_evdev_selftest.c',
|
|
|
|
'otx2_tim_evdev.c',
|
|
|
|
'otx2_tim_worker.c',
|
|
|
|
)
|
2019-06-28 18:23:12 +00:00
|
|
|
|
build: standardize component names and defines
As discussed on the dpdk-dev mailing list[1], we can make some easy
improvements in standardizing the naming of the various components in DPDK,
and their associated feature-enabled macros.
Following this patch, each library will have the name in format,
'librte_<name>.so', and the macro indicating that library is enabled in the
build will have the form 'RTE_LIB_<NAME>'.
Similarly, for libraries, the equivalent name formats and macros are:
'librte_<class>_<name>.so' and 'RTE_<CLASS>_<NAME>', where class is the
device type taken from the relevant driver subdirectory name, i.e. 'net',
'crypto' etc.
To avoid too many changes at once for end applications, the old macro names
will still be provided in the build in this release, but will be removed
subsequently.
[1] http://inbox.dpdk.org/dev/ef7c1a87-79ab-e405-4202-39b7ad6b0c71@solarflare.com/t/#u
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Rosen Xu <rosen.xu@intel.com>
2020-10-15 15:05:53 +00:00
|
|
|
deps += ['bus_pci', 'common_octeontx2', 'crypto_octeontx2', 'mempool_octeontx2', 'net_octeontx2']
|
2020-02-04 11:17:21 +00:00
|
|
|
|
|
|
|
includes += include_directories('../../crypto/octeontx2')
|
2020-10-08 10:34:34 +00:00
|
|
|
includes += include_directories('../../common/cpt')
|