95276abaaf
Add a new driver to support vDPA operations by Mellanox devices. The first Mellanox devices which support vDPA operations are ConnectX-6 Dx and Bluefield1 HCA for their PF ports and VF ports. This driver is depending on rdma-core like the mlx5 PMD, also it is going to use mlx5 DevX to create HW objects directly by the FW. Hence, the common/mlx5 library is linked to the mlx5_vdpa driver. This driver will not be compiled by default due to the above dependencies. Register a new log type for this driver. Signed-off-by: Matan Azrad <matan@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 Cavium, Inc
|
|
#
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
CPT-y := $(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_CRYPTO)
|
|
CPT-y += $(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO)
|
|
ifneq (,$(findstring y,$(CPT-y)))
|
|
DIRS-y += cpt
|
|
endif
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF)$(CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL),yy)
|
|
DIRS-y += octeontx
|
|
endif
|
|
OCTEONTX2-y := $(CONFIG_RTE_LIBRTE_OCTEONTX2_MEMPOOL)
|
|
OCTEONTX2-y += $(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO)
|
|
ifeq ($(findstring y,$(OCTEONTX2-y)),y)
|
|
DIRS-y += octeontx2
|
|
endif
|
|
|
|
MVEP-y := $(CONFIG_RTE_LIBRTE_MVPP2_PMD)
|
|
MVEP-y += $(CONFIG_RTE_LIBRTE_MVNETA_PMD)
|
|
MVEP-y += $(CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO)
|
|
ifneq (,$(findstring y,$(MVEP-y)))
|
|
DIRS-y += mvep
|
|
endif
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_COMMON_DPAAX),y)
|
|
DIRS-y += dpaax
|
|
endif
|
|
|
|
IAVF-y := $(CONFIG_RTE_LIBRTE_IAVF_PMD)
|
|
ifneq (,$(findstring y,$(IAVF-y)))
|
|
DIRS-y += iavf
|
|
endif
|
|
|
|
ifeq ($(findstring y,$(CONFIG_RTE_LIBRTE_MLX5_PMD)$(CONFIG_RTE_LIBRTE_MLX5_VDPA_PMD)),y)
|
|
DIRS-y += mlx5
|
|
endif
|
|
|
|
include $(RTE_SDK)/mk/rte.subdir.mk
|