From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by dpdk.org (Postfix) with ESMTP id 80F67594D for ; Wed, 23 Jul 2014 19:26:58 +0200 (CEST) Received: by mail-qa0-f47.google.com with SMTP id i13so1633645qae.34 for ; Wed, 23 Jul 2014 10:28:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=uEjIPQgMnDpc4jw8W45WdTzWFj+NLRJzreGudz0aipo=; b=vOqK26dehaN4Lh5N+p/dBrRsOgUQ3L41mYpibbibwQdjnAKZahvivd2bCYgBVoP2K+ 0Exl4WrjGNHcgz2yljDsGG2fHXG5ww8Qt8/s4XC3XFViZ7rxGIr36pHQAZZ5jfYqdxi9 SAxfUmheYnqr6W9dhZ/Sfiet7J2EORuhb+2QWvMfyV5ObeE5rISrSG9XaxLrYuUpeHyu LwOMLKJdSyWOGoXfOb6UcaXzFXXSqyoBJ9ydNrfxVN5xKS7735Y0u5k8+4shX5A9/nqQ 4HANJXTQKFEGs2oh0jl+ZPF7Nux1GdrbKmvELCWyZ29RtWXypQkxVoV4TJP1F5neju+8 Kz8w== MIME-Version: 1.0 X-Received: by 10.224.69.202 with SMTP id a10mr4540875qaj.100.1406136502161; Wed, 23 Jul 2014 10:28:22 -0700 (PDT) Received: by 10.140.108.3 with HTTP; Wed, 23 Jul 2014 10:28:22 -0700 (PDT) Date: Wed, 23 Jul 2014 22:58:22 +0530 Message-ID: From: Suryanathan P To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] How to set RTE_MACHINE on DPDK 1.7.0 correctly? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2014 17:26:58 -0000 Hi, I am trying to compile the test-pmd app on an Intel Core i7 targeted to run on Intel Atom target. When I run test pmd binary on the target machine, it fails to start with: ERROR: This system does not support "AVX". Please check that RTE_MACHINE is set correctly. This is how I am building dpdk: RTE_MAHCHINE=atm export RTE_MACHINE make install T=x86_64-native-linuxapp-gcc Since this didn't work, I copied cp config/defconfig_x86_64-native-linuxapp-gcc to config/defconfig_x86_64-atm-linuxapp-gcc and changed: CONFIG_RTE_MACHINE="atm" Followed by build: make install T=x86_64-atm-linuxapp-gcc This failed when compiling: == Build lib/librte_pmd_ixgbe . . CC ixgbe_rxtx_vec.o In file included from /home/sp/dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:41:0: /usr/lib/gcc/x86_64-linux-gnu/4.6/include/nmmintrin.h:31:3: error: #error "SSE4.2 instruction set not enabled" /home/sp/dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c: In function 'ixgbe_recv_pkts_vec' Any help is appreciated. Thanks. Suryanathan