DPDK patches and discussions
 help / color / mirror / Atom feed
From: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>
To: Hemant Agrawal <hemant.agrawal@nxp.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "akhil.goyal@nxp.com" <akhil.goyal@nxp.com>
Subject: Re: [dpdk-dev] [PATCH v2 8/8] crypto/dpaa2_sec: fix OP storage for physical IOVA mode
Date: Mon, 2 Apr 2018 13:35:57 +0000	[thread overview]
Message-ID: <E115CCD9D858EF4F90C690B0DCB4D8976CCC3F50@IRSMSX108.ger.corp.intel.com> (raw)
In-Reply-To: <1522654594-2757-8-git-send-email-hemant.agrawal@nxp.com>

Hi Hemant,

> -----Original Message-----
> From: Hemant Agrawal [mailto:hemant.agrawal@nxp.com]
> Sent: Monday, April 2, 2018 8:37 AM
> To: dev@dpdk.org
> Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>;
> akhil.goyal@nxp.com
> Subject: [PATCH v2 8/8] crypto/dpaa2_sec: fix OP storage for physical IOVA
> mode
> 
> op storage in fle is just for reference for post dq.
> So, don't convert it to iova mode.
> 
> Fixes: 37f96eb01bce ("crypto/dpaa2_sec: support scatter gather")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>

I am getting a compilation issue when building with gcc 32 bits:

drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c: In function 'build_authenc_gcm_sg_fd':
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h:204:33: error:
cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  (fle)->addr_hi = upper_32_bits((uint64_t)addr);  \
                                 ^
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h:23:40:
note: in definition of macro 'upper_32_bits'
 #define upper_32_bits(x) ((uint32_t)(((x) >> 16) >> 16))
                                        ^
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:120:2:
note: in expansion of macro 'DPAA2_SET_FLE_ADDR'
  DPAA2_SET_FLE_ADDR(fle, op);
  ^~~~~~~~~~~~~~~~~~


Pablo

  reply	other threads:[~2018-04-02 13:37 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 [this message]
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     ` [dpdk-dev] [PATCH] sec Hemant Agrawal

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=E115CCD9D858EF4F90C690B0DCB4D8976CCC3F50@IRSMSX108.ger.corp.intel.com \
    --to=pablo.de.lara.guarch@intel.com \
    --cc=akhil.goyal@nxp.com \
    --cc=dev@dpdk.org \
    --cc=hemant.agrawal@nxp.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).