[dpdk-dev,v4,1/2] config: use defconfig_arm64-armv8a-linuxapp-gcc as base for arm64 targets

Message ID 1448904038-12719-2-git-send-email-jerin.jacob@caviumnetworks.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Jerin Jacob Nov. 30, 2015, 5:20 p.m. UTC
let each armv8 machine targets  capture only the differences
between the common defconfig_arm64-armv8a-linuxapp-gcc

Suggested-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
---
 config/defconfig_arm64-thunderx-linuxapp-gcc | 22 +---------------------
 config/defconfig_arm64-xgene1-linuxapp-gcc   | 24 +-----------------------
 2 files changed, 2 insertions(+), 44 deletions(-)
  

Comments

Jianbo Liu Dec. 1, 2015, 1:48 a.m. UTC | #1
Reviewed-by: Jianbo Liu <jianbo.liu@linaro.org>

On 1 December 2015 at 01:20, Jerin Jacob <jerin.jacob@caviumnetworks.com>
wrote:
> let each armv8 machine targets  capture only the differences
> between the common defconfig_arm64-armv8a-linuxapp-gcc
>
> Suggested-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> ---
>  config/defconfig_arm64-thunderx-linuxapp-gcc | 22 +---------------------
>  config/defconfig_arm64-xgene1-linuxapp-gcc   | 24
+-----------------------
>  2 files changed, 2 insertions(+), 44 deletions(-)
>
> diff --git a/config/defconfig_arm64-thunderx-linuxapp-gcc
b/config/defconfig_arm64-thunderx-linuxapp-gcc
> index 6b2048b..fe5e987 100644
> --- a/config/defconfig_arm64-thunderx-linuxapp-gcc
> +++ b/config/defconfig_arm64-thunderx-linuxapp-gcc
> @@ -29,28 +29,8 @@
>  #   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>  #
>
> -#include "common_linuxapp"
> +#include "defconfig_arm64-armv8a-linuxapp-gcc"
>
>  CONFIG_RTE_MACHINE="thunderx"
>
> -CONFIG_RTE_ARCH="arm64"
> -CONFIG_RTE_ARCH_ARM64=y
> -CONFIG_RTE_ARCH_64=y
> -CONFIG_RTE_ARCH_ARM_NEON=y
> -
> -CONFIG_RTE_FORCE_INTRINSICS=y
> -
> -CONFIG_RTE_TOOLCHAIN="gcc"
> -CONFIG_RTE_TOOLCHAIN_GCC=y
> -
>  CONFIG_RTE_CACHE_LINE_SIZE=128
> -
> -CONFIG_RTE_IXGBE_INC_VECTOR=n
> -CONFIG_RTE_LIBRTE_VIRTIO_PMD=n
> -CONFIG_RTE_LIBRTE_IVSHMEM=n
> -CONFIG_RTE_LIBRTE_FM10K_PMD=n
> -CONFIG_RTE_LIBRTE_I40E_PMD=n
> -
> -CONFIG_RTE_LIBRTE_LPM=n
> -CONFIG_RTE_LIBRTE_TABLE=n
> -CONFIG_RTE_LIBRTE_PIPELINE=n
> diff --git a/config/defconfig_arm64-xgene1-linuxapp-gcc
b/config/defconfig_arm64-xgene1-linuxapp-gcc
> index d75f8f0..f096166 100644
> --- a/config/defconfig_arm64-xgene1-linuxapp-gcc
> +++ b/config/defconfig_arm64-xgene1-linuxapp-gcc
> @@ -29,28 +29,6 @@
>  #   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>  #
>
> -#include "common_linuxapp"
> +#include "defconfig_arm64-armv8a-linuxapp-gcc"
>
>  CONFIG_RTE_MACHINE="xgene1"
> -
> -CONFIG_RTE_ARCH="arm64"
> -CONFIG_RTE_ARCH_ARM64=y
> -CONFIG_RTE_ARCH_64=y
> -CONFIG_RTE_ARCH_ARM_NEON=y
> -
> -CONFIG_RTE_FORCE_INTRINSICS=y
> -
> -CONFIG_RTE_TOOLCHAIN="gcc"
> -CONFIG_RTE_TOOLCHAIN_GCC=y
> -
> -CONFIG_RTE_CACHE_LINE_SIZE=64
> -
> -CONFIG_RTE_IXGBE_INC_VECTOR=n
> -CONFIG_RTE_LIBRTE_VIRTIO_PMD=n
> -CONFIG_RTE_LIBRTE_IVSHMEM=n
> -CONFIG_RTE_LIBRTE_FM10K_PMD=n
> -CONFIG_RTE_LIBRTE_I40E_PMD=n
> -
> -CONFIG_RTE_LIBRTE_LPM=n
> -CONFIG_RTE_LIBRTE_TABLE=n
> -CONFIG_RTE_LIBRTE_PIPELINE=n
> --
> 2.1.0
>
  

Patch

diff --git a/config/defconfig_arm64-thunderx-linuxapp-gcc b/config/defconfig_arm64-thunderx-linuxapp-gcc
index 6b2048b..fe5e987 100644
--- a/config/defconfig_arm64-thunderx-linuxapp-gcc
+++ b/config/defconfig_arm64-thunderx-linuxapp-gcc
@@ -29,28 +29,8 @@ 
 #   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-#include "common_linuxapp"
+#include "defconfig_arm64-armv8a-linuxapp-gcc"
 
 CONFIG_RTE_MACHINE="thunderx"
 
-CONFIG_RTE_ARCH="arm64"
-CONFIG_RTE_ARCH_ARM64=y
-CONFIG_RTE_ARCH_64=y
-CONFIG_RTE_ARCH_ARM_NEON=y
-
-CONFIG_RTE_FORCE_INTRINSICS=y
-
-CONFIG_RTE_TOOLCHAIN="gcc"
-CONFIG_RTE_TOOLCHAIN_GCC=y
-
 CONFIG_RTE_CACHE_LINE_SIZE=128
-
-CONFIG_RTE_IXGBE_INC_VECTOR=n
-CONFIG_RTE_LIBRTE_VIRTIO_PMD=n
-CONFIG_RTE_LIBRTE_IVSHMEM=n
-CONFIG_RTE_LIBRTE_FM10K_PMD=n
-CONFIG_RTE_LIBRTE_I40E_PMD=n
-
-CONFIG_RTE_LIBRTE_LPM=n
-CONFIG_RTE_LIBRTE_TABLE=n
-CONFIG_RTE_LIBRTE_PIPELINE=n
diff --git a/config/defconfig_arm64-xgene1-linuxapp-gcc b/config/defconfig_arm64-xgene1-linuxapp-gcc
index d75f8f0..f096166 100644
--- a/config/defconfig_arm64-xgene1-linuxapp-gcc
+++ b/config/defconfig_arm64-xgene1-linuxapp-gcc
@@ -29,28 +29,6 @@ 
 #   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-#include "common_linuxapp"
+#include "defconfig_arm64-armv8a-linuxapp-gcc"
 
 CONFIG_RTE_MACHINE="xgene1"
-
-CONFIG_RTE_ARCH="arm64"
-CONFIG_RTE_ARCH_ARM64=y
-CONFIG_RTE_ARCH_64=y
-CONFIG_RTE_ARCH_ARM_NEON=y
-
-CONFIG_RTE_FORCE_INTRINSICS=y
-
-CONFIG_RTE_TOOLCHAIN="gcc"
-CONFIG_RTE_TOOLCHAIN_GCC=y
-
-CONFIG_RTE_CACHE_LINE_SIZE=64
-
-CONFIG_RTE_IXGBE_INC_VECTOR=n
-CONFIG_RTE_LIBRTE_VIRTIO_PMD=n
-CONFIG_RTE_LIBRTE_IVSHMEM=n
-CONFIG_RTE_LIBRTE_FM10K_PMD=n
-CONFIG_RTE_LIBRTE_I40E_PMD=n
-
-CONFIG_RTE_LIBRTE_LPM=n
-CONFIG_RTE_LIBRTE_TABLE=n
-CONFIG_RTE_LIBRTE_PIPELINE=n