From mboxrd@z Thu Jan 1 00:00:00 1970 From: "De Lara Guarch, Pablo" Subject: Re: [PATCH v2 17/20] crypto/ccp: add cpu based md5 and sha2 family auth algo support Date: Mon, 8 Jan 2018 17:36:07 +0000 Message-ID: References: <1512047553-118101-1-git-send-email-Ravi1.kumar@amd.com> <1515145198-97367-1-git-send-email-Ravi1.kumar@amd.com> <1515145198-97367-17-git-send-email-Ravi1.kumar@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: Ravi Kumar , "dev@dpdk.org" Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id DA8331322C for ; Mon, 8 Jan 2018 18:36:11 +0100 (CET) In-Reply-To: <1515145198-97367-17-git-send-email-Ravi1.kumar@amd.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Ravi, > -----Original Message----- > From: Ravi Kumar [mailto:Ravi1.kumar@amd.com] > Sent: Friday, January 5, 2018 9:40 AM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [PATCH v2 17/20] crypto/ccp: add cpu based md5 and sha2 family > auth algo support >=20 > Auth operations can be performed on CPU without offloading to CCP if > CONFIG_RTE_LIBRTE_PMD_CCP_CPU_AUTH is enabled in DPDK > configuration. >=20 > Signed-off-by: Ravi Kumar ... > --- a/drivers/crypto/ccp/ccp_crypto.c > +++ b/drivers/crypto/ccp/ccp_crypto.c ... > } >=20 > @@ -2638,13 +2874,23 @@ static inline void ccp_auth_dq_prepare(struct > rte_crypto_op *op) } >=20 > static int > -ccp_prepare_ops(struct rte_crypto_op **op_d, > +ccp_prepare_ops(struct ccp_qp *qp, There is a compilation error if the PMD is enabled and CONFIG_RTE_LIBRTE_PMD_CCP_CPU_AUTH=3Dn. You need to set the struct ccp_qp *qp parameter as __rte_unused, in case this option is not enabled. Pablo