From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=8JqLz9OwcR7zEB/UuzSUEF1Am/96e1WnipqAtCXd5oE=; b=ZQz+r0vY+T07Q0DhIMIDtnH+FrauEOhLLThcqz8RYxljy53cYqFgHEYJNqqAfQFKRC OcCnfVdwm1A/u4MXSYhvw9McnaAYhEYTy+3YXjE45tuDqzI2qR2lexlsRTjIBg0snN2K q2m3Fktns+fG33Mge1hkJlrlC8o+bdAw7bnB3IbViuI2avxuQAmBTNp1/orqz3If2wOw omQHsSy8fsrNVG9DAddpG8mxl30Ic0QCHE6WJY84d/rHOxE3wPak/NML8D0WuRQ6CziD RoALFmRS+F6dhsghQtyTp2e2vGZQ+tM5SQvbfC0c0AfzH4wC1ZjZOAyA/0sMaELVhNIy 6F3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=8JqLz9OwcR7zEB/UuzSUEF1Am/96e1WnipqAtCXd5oE=; b=NxM7mN3jqhjCxD3zq9mzB0oN02CLCCIoFukEFSJ37LcN2upBfX1WWqVlnb+etqBdTj j22/nfwQoly0T1Hti6ax6Y0bv01IRvM7p4zNYSR50DCmu6mqUcFO3MQT4cby8cGvpaFS BbAnucZ0vQy6iuVsLoyMimlT3njsBELL+ph+Z2hN/r65yT6ELoNBhwjgvyQjP1bE1LvV +NpMJPwcb+vE1M46FSgbPYy1GHzczVhyT2ByEbn0UzG+0/mmiIeyrgSp/f72PNGYTl6S lmhwNO9Z4zzw71n5LxLWE2dSIk63OmF85GlCE+CUeEOGkOQyIUPglfYhCi/sCBLhMQJD YKlQ== X-Gm-Message-State: AMke39nkMlpyuc8Ke10N/fB5eRaD4v966Cw5PxMoYtcNDuQJrBpg1Ff8lBaF+Bu2wX/UqOpZ X-Received: by 10.223.148.35 with SMTP id 32mr7442664wrq.82.1489009503055; Wed, 08 Mar 2017 13:45:03 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id o143sm6321093wmd.3.2017.03.08.13.45.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Mar 2017 13:45:02 -0800 (PST) From: Thomas Monjalon To: Aaron Conole Cc: dev@dpdk.org, Stephen Hemminger , Bruce Richardson Date: Wed, 08 Mar 2017 22:45:01 +0100 Message-ID: <4327939.PcN1f4IZmL@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170228185315.12546-7-aconole@redhat.com> References: <20170227161811.12309-1-aconole@redhat.com> <20170228185315.12546-1-aconole@redhat.com> <20170228185315.12546-7-aconole@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v6 06/26] eal-common: introduce a way to query cpu support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2017 21:45:03 -0000 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.