crypto/caam_jr: remove default big endianness compilation

Message ID 20191021053127.24121-1-g.singh@nxp.com (mailing list archive)
State Accepted, archived
Delegated to: akhil goyal
Headers
Series crypto/caam_jr: remove default big endianness compilation |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/travis-robot warning Travis build: failed
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-compilation success Compile Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS

Commit Message

Gagandeep Singh Oct. 21, 2019, 5:31 a.m. UTC
  CAAM JR can work on both LE and BE mode.
Latest platforms are in LE mode, so changing the
default mode to LE to make it more convenient for
the latest platforms.

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
---
 config/defconfig_arm64-dpaa-linuxapp-gcc | 3 ---
 doc/guides/cryptodevs/caam_jr.rst        | 4 ++--
 2 files changed, 2 insertions(+), 5 deletions(-)
  

Comments

Akhil Goyal Oct. 23, 2019, 1:57 p.m. UTC | #1
> 
> CAAM JR can work on both LE and BE mode.
> Latest platforms are in LE mode, so changing the
> default mode to LE to make it more convenient for
> the latest platforms.
> 
> Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
> ---
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>

Applied to dpdk-next-crypto

Thanks.
  

Patch

diff --git a/config/defconfig_arm64-dpaa-linuxapp-gcc b/config/defconfig_arm64-dpaa-linuxapp-gcc
index b408d4f48..19614fb01 100644
--- a/config/defconfig_arm64-dpaa-linuxapp-gcc
+++ b/config/defconfig_arm64-dpaa-linuxapp-gcc
@@ -21,6 +21,3 @@  CONFIG_RTE_PKTMBUF_HEADROOM=128
 # NXP DPAA Bus
 CONFIG_RTE_LIBRTE_DPAA_DEBUG_DRIVER=n
 CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n
-
-# NXP CAAM_JR driver
-CONFIG_RTE_LIBRTE_PMD_CAAM_JR_BE=y
diff --git a/doc/guides/cryptodevs/caam_jr.rst b/doc/guides/cryptodevs/caam_jr.rst
index 6622b79c7..6d9daf736 100644
--- a/doc/guides/cryptodevs/caam_jr.rst
+++ b/doc/guides/cryptodevs/caam_jr.rst
@@ -127,8 +127,8 @@  Please note that enabling debugging options may affect system performance.
 * ``CONFIG_RTE_LIBRTE_PMD_CAAM_JR_BE`` (default ``n``)
   By default it is disabled.
   It can be used when the underlying hardware supports the CAAM in BE mode.
-  e.g. LS1043A, LS1046A supports CAAM in BE mode.
-  BE mode is enabled by default in defconfig-arm64-dpaa-linux-gcc.
+  LS1043A, LS1046A and LS1012A support CAAM in BE mode.
+  LS1028A supports CAAM in LE mode.
 
 Installations
 -------------