From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v6 06/26] eal-common: introduce a way to query cpu support Date: Wed, 08 Mar 2017 22:45:01 +0100 Message-ID: <4327939.PcN1f4IZmL@xps13> References: <20170227161811.12309-1-aconole@redhat.com> <20170228185315.12546-1-aconole@redhat.com> <20170228185315.12546-7-aconole@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Stephen Hemminger , Bruce Richardson To: Aaron Conole Return-path: Received: from mail-wr0-f173.google.com (mail-wr0-f173.google.com [209.85.128.173]) by dpdk.org (Postfix) with ESMTP id 3CDCF201 for ; Wed, 8 Mar 2017 22:45:03 +0100 (CET) Received: by mail-wr0-f173.google.com with SMTP id u108so32588885wrb.3 for ; Wed, 08 Mar 2017 13:45:03 -0800 (PST) In-Reply-To: <20170228185315.12546-7-aconole@redhat.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-02-28 13:52, Aaron Conole: > +/** > + * This function checks that the currently used CPU supports the CPU features > + * that were specified at compile time. It is called automatically within the > + * EAL, so does not need to be used by applications. This version returns a > + * result so that decisions may be made (for instance, graceful shutdowns). > + */ > +int > +rte_cpu_is_supported(void); > #endif /* _RTE_CPUFLAGS_H_ */ A blank line is missing.