From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by dpdk.org (Postfix) with ESMTP id 4E28C69C8 for ; Mon, 20 Jun 2016 21:48:25 +0200 (CEST) Received: by mail-lb0-f177.google.com with SMTP id ak10so88634lbc.3 for ; Mon, 20 Jun 2016 12:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=No1MR8EstL0cJ0pVIuUbFk/vFsusAvCG2i/KeXQVmfI=; b=ST4PmL02Qu4D3IicZTxx7vB8Ve1Zosow9SD0df0PgJhNMQ+MAdUadwPrnjFA1WOanV xYrGN6/um/2GpvqU03KEBQW2H7hXw0ZvnHd5CDTGLq47v4BqM9QpVgYh323FrP5mHZTb tu4ZmtYu+uQ4xj4UK9NAfBcRtLKiCeaDbz0l67tNAEpv0k8KA84/oa3OM21tRAmKUr4Q fjL06FLVUbAMa19m6zxW5oF5A1lC6Ut6RRgIOWI5VnsUC1hZUrwlaDE7E+Ijtvob0D6m n38ba90H0XBuU86sQL/rSTO4FXed+mHU39z9KN6PVbwLRkWdl2cnXRjlKpbOzORIwuA1 T9pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=No1MR8EstL0cJ0pVIuUbFk/vFsusAvCG2i/KeXQVmfI=; b=EyVjkIOBiV6M7pRPkXniEzexHRRN+UtXWRF94JF1uWNNVrhjjbfxJ99dfvYRWYOrie jp4grMWwlHfKr9Cb26z+qvw2g1fR71DNyYX69j0KMi0tCN3mufc1QYPXSZV3JAe7IbN6 FHk9/nzXpCAeWDHPiIQrDqrDl66mrI1sLm7LlS+3yJxaxBfa1ke9VjIOLNTU0oTpzdqw HqYJLhUL7zkF9xJSUVIMqHk5J385v8GS5eNLpBSuNYLEB1sddbkDyVZjyePT280JqtGn 31aJJ6HaIFMi0v8Gjc65fj3yBARC4xvVn7Ln0G58OHIQPvTtMzErgYoQck/DJiDbGgI3 AdIQ== X-Gm-Message-State: ALyK8tIpH9BTT5zka70KWKv23rD7+aUrkUulv+2Fual547a40gNC6hnrz14v8i8lkQ3B0Pd2 X-Received: by 10.194.114.228 with SMTP id jj4mr16184705wjb.121.1466452104795; Mon, 20 Jun 2016 12:48:24 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id u71sm15096751wmu.13.2016.06.20.12.48.19 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Jun 2016 12:48:20 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara Cc: dev@dpdk.org, declan.doherty@intel.com, deepak.k.jain@intel.com Date: Mon, 20 Jun 2016 21:48:18 +0200 Message-ID: <2058377.0QnmeqL1dd@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1466433606-27398-2-git-send-email-pablo.de.lara.guarch@intel.com> References: <1466159565-27950-1-git-send-email-pablo.de.lara.guarch@intel.com> <1466433606-27398-1-git-send-email-pablo.de.lara.guarch@intel.com> <1466433606-27398-2-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 1/3] kasumi: add new KASUMI PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 19:48:25 -0000 As for other crypto drivers with a dependency, I'm not sure the PMD.so can be loaded. 2016-06-20 15:40, Pablo de Lara: > --- /dev/null > +++ b/drivers/crypto/kasumi/Makefile > +# external library include paths > +CFLAGS += -I$(LIBSSO_KASUMI_PATH) > +CFLAGS += -I$(LIBSSO_KASUMI_PATH)/include > +CFLAGS += -I$(LIBSSO_KASUMI_PATH)/build The library kasumi is not linked in the PMD here. > --- a/mk/rte.app.mk > +++ b/mk/rte.app.mk > @@ -134,6 +134,8 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_NULL_CRYPTO) += -lrte_pmd_null_crypto > _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += -lrte_pmd_qat -lcrypto > _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_SNOW3G) += -lrte_pmd_snow3g > _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_SNOW3G) += -L$(LIBSSO_PATH)/build -lsso > +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_KASUMI) += -lrte_pmd_kasumi > +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_KASUMI) += -L$(LIBSSO_KASUMI_PATH)/build -lsso_kasumi > endif # CONFIG_RTE_LIBRTE_CRYPTODEV > > endif # !CONFIG_RTE_BUILD_SHARED_LIBS The dependency is linked only with the application in the static case. I think it is a common problem to several drivers. I suggest to fix it in a separate patchset.