From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id CCD322BCF for ; Tue, 22 Mar 2016 20:25:32 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id r129so107852692wmr.1 for ; Tue, 22 Mar 2016 12:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:organization:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=ctG3i8JP/zokvAaK8Rlh8qnMDv14/SdYGVxFEAng0bs=; b=VzXMUq8S6WWGrZVkPFHpGS9J0bLZiCHom8imUoqrjSv19mL3SfI0Y7X5DwG/Al3INh 0HzHuz7VirChyf+UrXTyfgx6vywbStQ1dFsVBtFSeLZDsZaBrGLnWXNKEaJfBxyYji8+ WHQRnw/zgqaDQpE+R2F6fhhsxBRWevj0ZvnLya6NV6UTsRJmOrH6OTzP25hi15BxQFwc ZdQwep61WZ7Pl69lUAd+/Rqca/QZtKOmxp1/XSqpIZTYBf8Cym+on6JmI+N9FzEzMcXi eSqTjirautvJYI7YmwVAJjE31JuActSVGUFqUIJa17bLH8zGiqKbnm0W76rnswE8qS4C sLQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=ctG3i8JP/zokvAaK8Rlh8qnMDv14/SdYGVxFEAng0bs=; b=DfoVF9DtpCauMxN3u+F7EgCObiMPbElD288qFiIrJq5RTwsylKPH+DeUgSXKO1S0pb ikJ+qHl3TjXTXvKEgG5ejtZW11TFtbCu+nItR3GVP13831Xs+4tvDiLjusD8KueDZfoO u63Za9FyOZa+w3H56gcVHoQgurvep16LnBtX2J+WKBoaLG3lDvlhWqtkX0Gwbb/zXoJP W2X/lRAXkQ/lRmYAkKRoSwvw94pC7i7CePCJfu8k9aguKsOzoIzWlsqHrlbeM9xQrTyF g1b34PKanLVJ8ocR5lEMoibRtjv9GgtI+jDQ+0ZKbAY/e7y8PUmPE+WxNRZw17SU3hAq UUOA== X-Gm-Message-State: AD7BkJLBY5Z/5UlA7Xa/8p0Z9im4f3V3Yz2aW3auX8NWBMlMIGftN9Vl6Zvj6nY7k6nJEtqF X-Received: by 10.28.224.132 with SMTP id x126mr22895654wmg.88.1458674732714; Tue, 22 Mar 2016 12:25:32 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id 192sm18781489wmw.0.2016.03.22.12.25.31 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Mar 2016 12:25:32 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Tue, 22 Mar 2016 20:23:52 +0100 Message-ID: <1910165.JcRoAxuiGP@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1458592053-12744-1-git-send-email-thomas.monjalon@6wind.com> References: <1458592053-12744-1-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mk: restrict CPU flags list 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: Tue, 22 Mar 2016 19:25:33 -0000 2016-03-21 21:27, Thomas Monjalon: > When compiling each file, the CPU flags are given as RTE_MACHINE_CPUFLAG_* > and in the list RTE_COMPILE_TIME_CPUFLAGS. > > RTE_MACHINE_CPUFLAG_* are used to check the CPU features when compiling. > > The list RTE_COMPILE_TIME_CPUFLAGS is used only to check the CPU at > runtime in the function rte_cpu_check_supported(). So it is not needed to > define this list for every files. > That's why RTE_COMPILE_TIME_CPUFLAGS is removed from the common variable > MACHINE_CFLAGS and is added only to the CFLAGS of eal_common_cpuflags.c. > > Signed-off-by: Thomas Monjalon Applied