e0d88a394e
CCP PMD supports authentication offload to either of CCP or CPU. The earlier version of patch provides this option as compile time. This patch changes this option from compile time to run time. User can pass "ccp_auth_opt=1" as an additional arguments to vdev parameter to enable authentication operations on CPU. Signed-off-by: Ravi Kumar <ravi1.kumar@amd.com>
36 lines
883 B
Makefile
36 lines
883 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 Advanced Micro Devices, Inc. All rights reserved.
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
# library name
|
|
LIB = librte_pmd_ccp.a
|
|
|
|
# build flags
|
|
CFLAGS += -O3
|
|
CFLAGS += -I$(SRCDIR)
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
|
|
# library version
|
|
LIBABIVER := 1
|
|
|
|
# external library include paths
|
|
LDLIBS += -lcrypto
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
|
LDLIBS += -lrte_cryptodev
|
|
LDLIBS += -lrte_pci -lrte_bus_pci
|
|
LDLIBS += -lrte_bus_vdev
|
|
LDLIBS += -lrte_kvargs
|
|
|
|
# versioning export map
|
|
EXPORT_MAP := rte_pmd_ccp_version.map
|
|
|
|
# library source files
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += rte_ccp_pmd.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += ccp_crypto.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += ccp_dev.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += ccp_pci.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += ccp_pmd_ops.c
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|