DPDK patches and discussions
 help / color / mirror / Atom feed
From: Hemant Agrawal <hemant.agrawal@nxp.com>
To: Hemant Agrawal <hemant.agrawal@nxp.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "pablo.de.lara.guarch@intel.com" <pablo.de.lara.guarch@intel.com>,
	Akhil Goyal <akhil.goyal@nxp.com>,
	dpdk-up <dpdk-up@NXP1.onmicrosoft.com>
Subject: Re: [dpdk-dev] [PATCH] sec
Date: Mon, 2 Apr 2018 15:46:51 +0000	[thread overview]
Message-ID: <AM2PR04MB075346EAC54B45F0A8026F8489A60@AM2PR04MB0753.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <1522683201-23963-1-git-send-email-hemant.agrawal@nxp.com>

Please ignore it.

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Hemant Agrawal
> Sent: Monday, April 02, 2018 9:03 PM
> To: dev@dpdk.org
> Cc: pablo.de.lara.guarch@intel.com; Akhil Goyal <akhil.goyal@nxp.com>; dpdk-
> up <dpdk-up@NXP1.onmicrosoft.com>
> Subject: [dpdk-dev] [PATCH] sec
> 
> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
> ---
>  drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
> b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
> index 50a301d..b31f64c 100644
> --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
> +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
> @@ -117,7 +117,7 @@ build_authenc_gcm_sg_fd(dpaa2_sec_session *sess,
>  		return -1;
>  	}
>  	memset(fle, 0, FLE_SG_MEM_SIZE);
> -	DPAA2_SET_FLE_ADDR(fle, op);
> +	DPAA2_SET_FLE_ADDR(fle, (size_t)op);
>  	DPAA2_FLE_SAVE_CTXT(fle, (size_t)priv);
> 
>  	op_fle = fle + 1;
> @@ -268,7 +268,7 @@ build_authenc_gcm_fd(dpaa2_sec_session *sess,
>  		return -1;
>  	}
>  	memset(fle, 0, FLE_POOL_BUF_SIZE);
> -	DPAA2_SET_FLE_ADDR(fle, op);
> +	DPAA2_SET_FLE_ADDR(fle, (size_t)op);
>  	DPAA2_FLE_SAVE_CTXT(fle, (ptrdiff_t)priv);
>  	fle = fle + 1;
>  	sge = fle + 2;
> @@ -413,7 +413,7 @@ build_authenc_sg_fd(dpaa2_sec_session *sess,
>  		return -1;
>  	}
>  	memset(fle, 0, FLE_SG_MEM_SIZE);
> -	DPAA2_SET_FLE_ADDR(fle, op);
> +	DPAA2_SET_FLE_ADDR(fle, (size_t)op);
>  	DPAA2_FLE_SAVE_CTXT(fle, (ptrdiff_t)priv);
> 
>  	op_fle = fle + 1;
> @@ -562,7 +562,7 @@ build_authenc_fd(dpaa2_sec_session *sess,
>  		return -1;
>  	}
>  	memset(fle, 0, FLE_POOL_BUF_SIZE);
> -	DPAA2_SET_FLE_ADDR(fle, op);
> +	DPAA2_SET_FLE_ADDR(fle, (size_t)op);
>  	DPAA2_FLE_SAVE_CTXT(fle, (ptrdiff_t)priv);
>  	fle = fle + 1;
>  	sge = fle + 2;
> @@ -691,7 +691,7 @@ static inline int build_auth_sg_fd(
>  	}
>  	memset(fle, 0, FLE_SG_MEM_SIZE);
>  	/* first FLE entry used to store mbuf and session ctxt */
> -	DPAA2_SET_FLE_ADDR(fle, op);
> +	DPAA2_SET_FLE_ADDR(fle, (size_t)op);
>  	DPAA2_FLE_SAVE_CTXT(fle, (ptrdiff_t)priv);
>  	op_fle = fle + 1;
>  	ip_fle = fle + 2;
> @@ -772,7 +772,7 @@ build_auth_fd(dpaa2_sec_session *sess, struct
> rte_crypto_op *op,
>  	 * to get the MBUF Addr from the previous FLE.
>  	 * We can have a better approach to use the inline Mbuf
>  	 */
> -	DPAA2_SET_FLE_ADDR(fle, op);
> +	DPAA2_SET_FLE_ADDR(fle, (size_t)op);
>  	DPAA2_FLE_SAVE_CTXT(fle, (ptrdiff_t)priv);
>  	fle = fle + 1;
> 
> @@ -864,7 +864,7 @@ build_cipher_sg_fd(dpaa2_sec_session *sess, struct
> rte_crypto_op *op,
>  	}
>  	memset(fle, 0, FLE_SG_MEM_SIZE);
>  	/* first FLE entry used to store mbuf and session ctxt */
> -	DPAA2_SET_FLE_ADDR(fle, op);
> +	DPAA2_SET_FLE_ADDR(fle, (size_t)op);
>  	DPAA2_FLE_SAVE_CTXT(fle, (ptrdiff_t)priv);
> 
>  	op_fle = fle + 1;
> @@ -986,7 +986,7 @@ build_cipher_fd(dpaa2_sec_session *sess, struct
> rte_crypto_op *op,
>  	 * to get the MBUF Addr from the previous FLE.
>  	 * We can have a better approach to use the inline Mbuf
>  	 */
> -	DPAA2_SET_FLE_ADDR(fle, op);
> +	DPAA2_SET_FLE_ADDR(fle, (size_t)op);
>  	DPAA2_FLE_SAVE_CTXT(fle, (ptrdiff_t)priv);
>  	fle = fle + 1;
>  	sge = fle + 2;
> --
> 2.7.4

      parent reply	other threads:[~2018-04-02 15:46 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-27 12:00 [dpdk-dev] [PATCH 1/7] test/crypto: add macro for dpaa sec device name Hemant Agrawal
2018-03-27 12:00 ` [dpdk-dev] [PATCH 2/7] app/crypto-perf: fix excess crypto device error Hemant Agrawal
2018-03-30 16:01   ` De Lara Guarch, Pablo
2018-03-27 12:00 ` [dpdk-dev] [PATCH 3/7] app/crypto-perf: enable it for non default mempool Hemant Agrawal
2018-03-30 16:02   ` De Lara Guarch, Pablo
2018-03-30 16:11   ` De Lara Guarch, Pablo
2018-03-27 12:00 ` [dpdk-dev] [PATCH 4/7] crypto/dpaa_sec: add macro for device name Hemant Agrawal
2018-03-27 12:00 ` [dpdk-dev] [PATCH 5/7] crypto/dpaa_sec: fix to check the portal presence Hemant Agrawal
2018-03-27 12:00 ` [dpdk-dev] [PATCH 6/7] crypto/dpaa_sec: fix incorrect NULL check Hemant Agrawal
2018-03-27 12:00 ` [dpdk-dev] [PATCH 7/7] crypto/dpaa_sec: move mempool allocation to config Hemant Agrawal
2018-03-30 16:01 ` [dpdk-dev] [PATCH 1/7] test/crypto: add macro for dpaa sec device name De Lara Guarch, Pablo
2018-04-02  7:36 ` [dpdk-dev] [PATCH v2 1/8] " Hemant Agrawal
2018-04-02  7:36   ` [dpdk-dev] [PATCH v2 2/8] app/crypto-perf: fix excess crypto device error Hemant Agrawal
2018-04-02  7:36   ` [dpdk-dev] [PATCH v2 3/8] app/crypto-perf: enable it for non default mempool Hemant Agrawal
2018-04-02  7:36   ` [dpdk-dev] [PATCH v2 4/8] crypto/dpaa_sec: add macro for device name Hemant Agrawal
2018-04-02  7:36   ` [dpdk-dev] [PATCH v2 5/8] crypto/dpaa_sec: fix to check the portal presence Hemant Agrawal
2018-04-02  7:36   ` [dpdk-dev] [PATCH v2 6/8] crypto/dpaa_sec: fix incorrect NULL check Hemant Agrawal
2018-04-02  7:36   ` [dpdk-dev] [PATCH v2 7/8] crypto/dpaa_sec: move mempool allocation to config Hemant Agrawal
2018-04-02  7:36   ` [dpdk-dev] [PATCH v2 8/8] crypto/dpaa2_sec: fix OP storage for physical IOVA mode Hemant Agrawal
2018-04-02 13:35     ` De Lara Guarch, Pablo
2018-04-02 15:33   ` [dpdk-dev] [PATCH] sec Hemant Agrawal
2018-04-02 15:33     ` [dpdk-dev] [PATCH v3 1/8] test/crypto: add macro for dpaa sec device name Hemant Agrawal
2018-04-03  9:34       ` De Lara Guarch, Pablo
2018-04-02 15:33     ` [dpdk-dev] [PATCH v3 2/8] app/crypto-perf: fix excess crypto device error Hemant Agrawal
2018-04-02 15:33     ` [dpdk-dev] [PATCH v3 3/8] app/crypto-perf: enable it for non default mempool Hemant Agrawal
2018-04-02 15:33     ` [dpdk-dev] [PATCH v3 4/8] crypto/dpaa_sec: add macro for device name Hemant Agrawal
2018-04-02 15:33     ` [dpdk-dev] [PATCH v3 5/8] crypto/dpaa_sec: fix to check the portal presence Hemant Agrawal
2018-04-02 15:33     ` [dpdk-dev] [PATCH v3 6/8] crypto/dpaa_sec: fix incorrect NULL check Hemant Agrawal
2018-04-02 15:33     ` [dpdk-dev] [PATCH v3 7/8] crypto/dpaa_sec: move mempool allocation to config Hemant Agrawal
2018-04-02 15:33     ` [dpdk-dev] [PATCH v3 8/8] crypto/dpaa2_sec: fix OP storage for physical IOVA mode Hemant Agrawal
2018-04-02 15:46     ` Hemant Agrawal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM2PR04MB075346EAC54B45F0A8026F8489A60@AM2PR04MB0753.eurprd04.prod.outlook.com \
    --to=hemant.agrawal@nxp.com \
    --cc=akhil.goyal@nxp.com \
    --cc=dev@dpdk.org \
    --cc=dpdk-up@NXP1.onmicrosoft.com \
    --cc=pablo.de.lara.guarch@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).