From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-f67.google.com (mail-yw1-f67.google.com [209.85.161.67]) by dpdk.org (Postfix) with ESMTP id 7E6411B57F for ; Tue, 9 Oct 2018 16:56:59 +0200 (CEST) Received: by mail-yw1-f67.google.com with SMTP id v1-v6so760055ywv.6 for ; Tue, 09 Oct 2018 07:56:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XU1KC1UC/BJHK1wjZNQBfSN1Oza09RbySyLEyvLDmBU=; b=pC7cGR3cL5F6+nZeyD4S7yv7tpsMU+CTtWNhzHjOMQQeL3hRGpLdptzP0sMQVaXRxH ay9hyaX5z/EBcH2pPwpZDqHsgFaBJ2lu/KZUgejAmR70dLXoTYG3mU5mWtMFKzCfOZ3e uNC3T910BpcpApSXkId7C0gAVwYmr6sQzyNXO3SLef0HMdL2i4tke4JCihrlFgoNiOq5 Md1wna1RzKfWHkWE7qiCEJBgOSe5rMDXZtK3Y5BGBaF+XnMQi4BIcoBZDevIOxhwj7HA pSVoOi2u1N3Hd0Jq+yJPUckvtw7+7xmd9Z8EbfCilO+Kb5MmPt/7czqdCThSgDL5A8A5 qPRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XU1KC1UC/BJHK1wjZNQBfSN1Oza09RbySyLEyvLDmBU=; b=gnfZXXWCjAu/JK7C8HgkPbYJdftlSC09APi4mq1NidQKwuilPZ/gKoAqfNz4dejqZ+ NxWLdBJ9Sh1HYUGyy+Nlax5MEbeP9MHI/xpmGbi3ri6V6Cp0SBEzlvZcXhhogJuqLasq 4onY8ACNti0j1EN+uJpHgYJBEdPCK9Zn74hDTPTu+OQ27UECORfOnjxP4gckAjT8rz2y ZjY2kgi7QJOU7sSma3YbAA1WxlIs0AVXWb/2i3ibjShw0CNULHFHe/FbE/xaX1W4f0Q+ uYDCh8dnS3BYdPQDv5cTOF+4ZEWdnLNK0cSOIj9/1sCb4RCPHISBHPg58Y70jWMZ+q1b oc3Q== X-Gm-Message-State: ABuFfohoJQMm3Bss1Cf7CIuAnUWt0JjCNXJEA6+xPXeBuNOv05H8R6Ee 2i+rfqw1WHHIpvZln5O6KxzLtpWXOSYUdZqKiA8= X-Google-Smtp-Source: ACcGV62n+seYKthZ0EoVXgIsXeTvJEJKZXxFM03caTouz69ChvA4mEEqpJe9jjREa2Qar/ziZPnn5LM4mhRSRnKMjU8= X-Received: by 2002:a81:668b:: with SMTP id a133-v6mr15847286ywc.254.1539097018572; Tue, 09 Oct 2018 07:56:58 -0700 (PDT) MIME-Version: 1.0 References: <2099488D-C9CD-4989-AF1F-18EA9F558717@intel.com> In-Reply-To: From: Cliff Burdick Date: Tue, 9 Oct 2018 07:56:46 -0700 Message-ID: To: keith.wiles@intel.com Cc: users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] RTE_MACHINE_TYPE Error X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2018 14:56:59 -0000 I think I answered my own question -- the motherboards we're using had AES-NI disabled in the BIOS, so DPDK was correctly not seeing it enabled even though the processor supports it. I enabled it in the BIOS and it's working properly now. Thanks again Keith! On Tue, Oct 9, 2018 at 7:37 AM Cliff Burdick wrote: > Thanks Keith. You are right that /proc/cpuinfo on a E5-2680 v3 does not > have AES listed. I was incorrect assuming this was a broadwell system, bu= t > it's Haswell. Either way, I'm still not quite clear what's going on since > the gcc manual here (https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html) > specifies this: > > =E2=80=98haswell=E2=80=99 > > Intel Haswell CPU with 64-bit extensions, MOVBE, MMX, SSE, SSE2, SSE3, > SSSE3, SSE4.1, SSE4.2, POPCNT, AVX, AVX2, AES, PCLMUL, FSGSBASE, RDRND, > FMA, BMI, BMI2 and F16C instruction set support. > > Is the gcc manual specifying some other AES feature that's not what DPDK > is listing? > > > > On Tue, Oct 9, 2018 at 6:54 AM Wiles, Keith wrote= : > >> >> >> > On Oct 8, 2018, at 11:10 PM, Cliff Burdick wrote: >> > >> > Hi, I'm trying to compile on a machine with an older-generation xeon >> than >> > the target, so I'm using CONFIG_RTE_MACHINE=3D"broadwell" in the confi= g. >> > gcc's options show that broadwell supports the AES flag, and I verifie= d >> > that the build shows -march=3Dbroadwell. However, when I run my >> application >> > it prints immediately: >> > >> > ERROR: This system does not support "AES". >> > Please check that RTE_MACHINE is set correctly. >> > EAL: FATAL: unsupported cpu type. >> > EAL: unsupported cpu type. >> > EAL: Error - exiting with code: 1 >> > Cause: Error with EAL initialization >> > >> > This is gcc 7, so it supports that flag. Does anyone know how I can >> compile >> > for a later architecture on an older machine? >> >> Have you checked to make sure the CPU does support the feature by lookin= g >> that the CPU flags in /proc/cpuinfo ? >> >> Normally this is the reason the code will not run is the CPU does not >> support it. >> >> Regards, >> Keith >> >>