From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0058.outbound.protection.outlook.com [104.47.32.58]) by dpdk.org (Postfix) with ESMTP id 85D282BE1 for ; Fri, 5 Jan 2018 10:40:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1byBmn3a9Lb4TPKf9fpjkqncd+M3rRv4sMUJbvEuxBU=; b=mW00CnwcSvJK7C6dQVQm0UPb/AJRBFdcPGLV2Ks4C8gQZ9eyzSWvkDrokyTn3yENePm4Lcn8Gvq7ItEvR7rgEif4+A69NoqXeAVF49BDn+JbRHpoZZ8tDct8BYIU4QgfMAmPG4XhDvD8MeSg+CGeIlNNqs52g8H0c/gHSpA351o= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ravi1.Kumar@amd.com; Received: from wallaby-smavila.amd.com (202.56.249.162) by BN6PR12MB1508.namprd12.prod.outlook.com (10.172.24.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Fri, 5 Jan 2018 09:40:23 +0000 From: Ravi Kumar To: dev@dpdk.org Cc: pablo.de.lara.guarch@intel.com Date: Fri, 5 Jan 2018 04:39:39 -0500 Message-Id: <1515145198-97367-1-git-send-email-Ravi1.kumar@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512047553-118101-1-git-send-email-Ravi1.kumar@amd.com> References: <1512047553-118101-1-git-send-email-Ravi1.kumar@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [202.56.249.162] X-ClientProxiedBy: PN1PR01CA0084.INDPRD01.PROD.OUTLOOK.COM (10.174.144.152) To BN6PR12MB1508.namprd12.prod.outlook.com (10.172.24.149) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ad05ffed-7d57-4b3e-2f86-08d554205882 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(48565401081)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060); SRVR:BN6PR12MB1508; X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1508; 3:Kbehq6JAB3F0BhPvOtsd2B9Va0FtXiVLSFCvuPJcPElyEPBRnLD19mfxer3mqkIkOCLYk/rUinsjArS2/uhhFOHl3XdFjRpEZJiBdu+591lnNUH6R5ajPzPzkG6o6WPM/YdLb4fgfls98EDEOqU6i1mJ8gtNQHHSdh4/HIeebhdIz5V+i0w5O9CSaZiQ4l+p/AniZ+A5s0sjLVtWyAMTH9rLNE/e80Djngcw316t82+47YuxWNKL1Ut/WD70PHUD; 25:jrUHck3waccrJwBxEZjejfsMd9w2WCkBh1OfweaZvILPbTplgAS6iGK1JU462XMM8ctTNmDrDSGjA9OGE0/ViGW60ejgkkzNKuEDFofVaAEo0WShLH2iE84Gn1S2SZluc4CnngBRuGdMQa5rtuf6IbohVhN8MJb5pnP7uWBzZgkjFI5l7XQsP6E+jpfRHwufEM+v0X4o+x5A+d1kpyrv1hUTIbccrr19qtqFae2ckGBkJaXlI/v7voxn0nAxzSc1lqhN6PC+ZfRM0FtOvuosobuCU1Bbv9YuuY6uehoZGg7pPN/WARLUSMewQZQPgYca6lO+5J40SboEFwg1oQlf2A==; 31:F30vz34p8S+9E7aFPWVy9151n9Iuz4GL7xBR8xFeYPzFmKyG49NU6ZFhqivzvkVdoP8qLktbEM7wXgiRzi8trmtZ/01blzbSwRKDDztPFQrZNIx+LJc+MQqLPKD8nh/if3QLv4e2scKVKDhVM2Kw9ua5kBFC3yazoDEXZBExu/QRxK/MbpL0Vs52N5ri1/P6OkhuBHcQUocT3ZllBBb1OiTIW2l5gK/9cOHfLP75sbs= X-MS-TrafficTypeDiagnostic: BN6PR12MB1508: X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1508; 20:tHr/xC9KLmQ9YKyvooSlCwz9+7MpbDLbEe/lR376l4W2MjaRYDfWjWudPC1qyheUKVFzvdZ+QtBl5YPzr3jG/+/5elg1qUXBSz9M2SLqM3pFcbWlhU8kLA8cVelCAmtUg2D+u8A1y26v+lUOYMD9zr2ZDXwFORExNZ2cNd7rRgy/dNgrZe1Jr/O3Dlzdmw00Z9EbZeRua8V/wba5T0EsUKzAarOO3/yUmLhdcZgjHyo7evujuL7CHl7sGzYhH2z/9NIBtPcZrMDN3AV6bvpZq1W661rrobBIHfzzQ0imCsgxGjgOXyXcaMGqSGLYYyHFyCuw+UkI7jPkdn+qr7dcCAwHkcjfkMPJWyz5VhI3Bo/E4LCU16LthaZ/c9LFxXWez8YzSkXp9xlwl9fBZpp1P+dR9mRXzs+QpvxWfGExLcwPVLwawQIGR2dj8WzURASaYCAOZMcrS/RtNFS5p3lPxJIiyGUaculkCrWbMBa3bsgvM0TH7Q1077pRh7DmUMmX; 4:/lqBAQTGG5lH/l2YyEse3nkxvHbiQk9leCtc+NqL7Pd6pfc8tYIQR1ivOLtCfwCGGBomoB2sdP8T0djNx7I6w/k729GaFb6beWcJVofQtlYvmaHf9FXxIWRP36YzHN5V12XU6oG2Zg+aYDnr+nwyfIkXxdXal5jVvnxeKu4AdOOWBDDm6MtpU48vErLh8gEuZbxMhHXuDrqdMnB6WkA+IuzuzdPb7HhhfRmH3fgMJGyCVcut/EBD0kbSu65Nc43SDeMcrriuDTOb4aCeSFOJTvhXsppfFKhBq/CJ8o9ja8CJdtFMsglrXS6THoKokDbW X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231023)(944501075)(6055026)(6041268)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:BN6PR12MB1508; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BN6PR12MB1508; X-Forefront-PRVS: 05437568AA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(366004)(346002)(39380400002)(376002)(199004)(189003)(6486002)(2361001)(6116002)(106356001)(386003)(105586002)(3846002)(6916009)(2950100002)(16586007)(6666003)(16526018)(36756003)(4326008)(2906002)(316002)(97736004)(25786009)(478600001)(86362001)(68736007)(8676002)(48376002)(51416003)(81166006)(2351001)(81156014)(52116002)(8936002)(53936002)(305945005)(50226002)(76176011)(72206003)(50466002)(53416004)(7696005)(47776003)(66066001)(59450400001)(5660300001)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR12MB1508; H:wallaby-smavila.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR12MB1508; 23:WVhjJc2sgZfCrsJrXEJQt54h7k5qLxEFrdnp/EY3h?= =?us-ascii?Q?MACBhNK++nNDvf659WjKfDcu8adtk6TqFl48G/fa0pNUwPVzS9/2cTuEhcyf?= =?us-ascii?Q?JKg6HlX1i0uRtWisYcKyIVwjvf7Fc5kFLbkBs5hNJZL7Cq9bf1D0J5fVfO/z?= =?us-ascii?Q?X3wAa4vMJis3CamZIIMJR8lBncxK83Rs6B8F5OwIm0jEdud3EHTi7Yv5k0/N?= =?us-ascii?Q?EIlO6Gq+X6+xIIysRCXwLww0l6xNui3IwZ0XMLfbxWVUh7t2tg/sOkLh8UOY?= =?us-ascii?Q?fYmmZVwcqykfvHW4IY07mINqMHcnHZDR9wI9dvD38rJLU12/IZg0AnMOhXWn?= =?us-ascii?Q?em8B9/eof+WMXA9F0bPkaW9Kew3DBgOsO5XQzXHLDdmjGNg3NNkfaie07ppy?= =?us-ascii?Q?PXfM4qTBzGJRqjVoM3s22ZLl+KGV/RY/Cme10oJ+1woPvJCHssk8kbkS3gKB?= =?us-ascii?Q?6LtF3LCmq97w8suFgDRJKOboUB8LDwTrMO2wjwg1XPFuomg4QlUETBfqz0uh?= =?us-ascii?Q?R01+bPEAAW0L7KS5Tg9VV5rrPrBkSOP/QXzdNEAATJXYhRi+My2j0+HNXOkx?= =?us-ascii?Q?apnXvnmVAroVvodVHlX0Xb7FCRT3d1xfAOi7lG6R/mm6rItuLOrt7aSKECNB?= =?us-ascii?Q?jVB4mILZy8zLFMqHGFLxDpgvEUZFQfnbmXgneUAGf3+jlPQdVID+OscmwDDP?= =?us-ascii?Q?R1yZ9txacQI01yHGr7TtK06WdW4VvmNxiSV85/OHBRzsGjQMcDMyBV3xNYiy?= =?us-ascii?Q?nEkYbgV5Av91CLSaFl9mSIWiAFXiqLKGrL+m1GRQ/LRLxg+BF2U7Y+nkGgPk?= =?us-ascii?Q?WFK7ZgSIR4zWXWArCrnBZnAD0VxGMeXVZrGwkFB96Hdran8zZe7O6VhLyXyG?= =?us-ascii?Q?w1AADwXma1nP0XsUxdW9b8EJD24RgpLrBheuKc+8+JW0LwPO3UR2QVf41sMO?= =?us-ascii?Q?4gwtjaU1fzzsRlZl++u6SykzgmYM7CNoh15IzsmdCjljVBagO4U7nukFNttv?= =?us-ascii?Q?q+zAyGXirkEgFMdTzUzRJ4POKegtfTQa1ZBu16m5N3ZiPGLvYr/WIw2yAbuJ?= =?us-ascii?Q?+h33TdLS4KGuT79+6zvJPDI9V7wTldSlcZkeTuaZOr4Igwi6uW0epjWtbyDs?= =?us-ascii?Q?2hGpaCaos4nTmbp7BUSrw4dCldtv9OrN68H6ildQygmWvU120HJrA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1508; 6:0tDC6wduCFYeqGy1FfezVH38PcwqzKCad698B6ixcE8NMcuq/lLRjoCNkNq2hQ8bed5d2Jp4iTRzZ2g8C2cZORnpbKQENWb4QD/YIv9aXzIYUsQ4/piCl+ciV3heOTIjltXUHUZeSANmQumdLNE7IcDDAmvm6CM+H4CTunRf7a+S51hwUVqBf2rmziY4jAxQzxUmUECPzNCK2sqFTZPYUlEKSWzoaJ0xkRZRwYg3w7udu9KKXgXnbF+vr7ZuBF/jn4wuuw3ATWMxDmko2AOF+V0nn6NK6FdfxmUm553rkOm1+cRt/2GKhJg9Uz1bIfOK8mGfNJcwk+Teh4AtcSgOIk+5WYuy+emGSI/HIz8rhjo=; 5:yg5di8zy9Dis/oqitSDIpQq9P2VtuClnPBtrif3gTOyOLXJvtgYBzsJ19XuMRGiyaYWvOt5BZXo1W89kZU0iKK/BJlb8/CgeSCIo736eFbJEozMnEz+1qA6+mikSNpnNNr0z8Wp46wn/QXJH+T4PgJtdak0XWpAIiE5pr4VHk1c=; 24:K8qr84w+yzEmmErIMJdF25k4WqfY0NXidgHuN2meiUBMGYYdXRlHELyiXKKV89W+qJXR+dbrKceN+OIW7T/m1hswcA/iSJLMEad/ozCd8Ik=; 7:bak3bNH9YQIqCaj5tt9ufh+7QCzt+eWXwaOVwTZGKxRKMyPQZLtiQYIFo2hDNuJMj2exEG1Qn32GkRzawc12sg8josoPcYEaPgqf/DaBijFKeiElg6L4kLh4aQlO2ZsHoU4qIj+Qrd1LDSn+tk/wI3jmRBdDaMGBymX0c3DQi07z7vAZ3BYng09Mkp9Twb06efbSf21dY5l3nZpb02Q5MeeiZy9RbSv+mgns9mSJam7hLyphHdRBHJTkNsZ8Nb3p SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1508; 20:muoloxlildBzAG2Ht3IPMe01sFuQn416mXwuCjSSDB1sNqrMxRdieyOKmc5B96f3CiFVj/p1RcimEAuApzMCXHDaxYqvSeEWh/JIz3y+kCMFNuLDzQjhA3Boxgq984Z4QyPF3NUrmqAz0Ow+wP+9aN5Zi4ATGzEorvTXVQOwaUd82CMHQSwczKJHkHpKHdKMb6qd92w2OfIzEzjAWQWTGmy4uepoNdHRSAplrIPw6i6WpakPy/kxc9FIyddTgwbA X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2018 09:40:23.4187 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ad05ffed-7d57-4b3e-2f86-08d554205882 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1508 Subject: [dpdk-dev] [PATCH v2 01/20] crypto/ccp: add AMD ccp crypto pmd support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 09:40:27 -0000 Signed-off-by: Ravi Kumar --- config/common_base | 5 +++ drivers/crypto/Makefile | 1 + drivers/crypto/ccp/Makefile | 55 ++++++++++++++++++++++++++ drivers/crypto/ccp/rte_ccp_pmd.c | 62 ++++++++++++++++++++++++++++++ drivers/crypto/ccp/rte_pmd_ccp_version.map | 4 ++ mk/rte.app.mk | 2 + 6 files changed, 129 insertions(+) create mode 100644 drivers/crypto/ccp/Makefile create mode 100644 drivers/crypto/ccp/rte_ccp_pmd.c create mode 100644 drivers/crypto/ccp/rte_pmd_ccp_version.map diff --git a/config/common_base b/config/common_base index e74febe..88826c8 100644 --- a/config/common_base +++ b/config/common_base @@ -557,6 +557,11 @@ CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER_DEBUG=n CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO=y # +# Compile PMD for AMD CCP crypto device +# +CONFIG_RTE_LIBRTE_PMD_CCP=n + +# # Compile PMD for Marvell Crypto device # CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO=n diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile index 645b696..b378643 100644 --- a/drivers/crypto/Makefile +++ b/drivers/crypto/Makefile @@ -44,5 +44,6 @@ DIRS-$(CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO) += mrvl DIRS-$(CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO) += null DIRS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += dpaa2_sec DIRS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_SEC) += dpaa_sec +DIRS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += ccp include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/drivers/crypto/ccp/Makefile b/drivers/crypto/ccp/Makefile new file mode 100644 index 0000000..51c5e5b --- /dev/null +++ b/drivers/crypto/ccp/Makefile @@ -0,0 +1,55 @@ +# +# Copyright(c) 2018 Advanced Micro Devices, Inc. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of the copyright holder nor the names of its +# contributors may be used to endorse or promote products derived from +# this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +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 + +# versioning export map +EXPORT_MAP := rte_pmd_ccp_version.map + +# library source files +SRCS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += rte_ccp_pmd.c + +include $(RTE_SDK)/mk/rte.lib.mk diff --git a/drivers/crypto/ccp/rte_ccp_pmd.c b/drivers/crypto/ccp/rte_ccp_pmd.c new file mode 100644 index 0000000..6fa14bd --- /dev/null +++ b/drivers/crypto/ccp/rte_ccp_pmd.c @@ -0,0 +1,62 @@ +/*- + * Copyright(c) 2018 Advanced Micro Devices, Inc. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include +#include +#include + +uint8_t ccp_cryptodev_driver_id; + +/** Remove ccp pmd */ +static int +cryptodev_ccp_remove(struct rte_vdev_device *dev __rte_unused) +{ + return 0; +} + +/** Probe ccp pmd */ +static int +cryptodev_ccp_probe(struct rte_vdev_device *vdev __rte_unused) +{ + return 0; +} + +static struct rte_vdev_driver cryptodev_ccp_pmd_drv = { + .probe = cryptodev_ccp_probe, + .remove = cryptodev_ccp_remove +}; + +static struct cryptodev_driver ccp_crypto_drv; + +RTE_PMD_REGISTER_VDEV(CRYPTODEV_NAME_CCP_PMD, cryptodev_ccp_pmd_drv); +RTE_PMD_REGISTER_PARAM_STRING(CRYPTODEV_NAME_CCP_PMD, + "max_nb_queue_pairs= max_nb_sessions= socket_id="); +RTE_PMD_REGISTER_CRYPTO_DRIVER(ccp_crypto_drv, cryptodev_ccp_pmd_drv, + ccp_cryptodev_driver_id); diff --git a/drivers/crypto/ccp/rte_pmd_ccp_version.map b/drivers/crypto/ccp/rte_pmd_ccp_version.map new file mode 100644 index 0000000..179140f --- /dev/null +++ b/drivers/crypto/ccp/rte_pmd_ccp_version.map @@ -0,0 +1,4 @@ +DPDK_18.02 { + + local: *; +}; diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 6a6a745..0453b7f 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -191,6 +191,8 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_SEC) += -lrte_bus_dpaa _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_SEC) += -lrte_pmd_dpaa_sec endif # CONFIG_RTE_LIBRTE_DPAA_BUS +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_CCP) += -lrte_pmd_ccp -lcrypto + endif # CONFIG_RTE_LIBRTE_CRYPTODEV ifeq ($(CONFIG_RTE_LIBRTE_EVENTDEV),y) -- 2.7.4