From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: Issue on rte_sched.c Date: Sun, 01 May 2016 21:58:06 +0200 Message-ID: <4885249.p6c3dYjJKD@xps13> References: <132784424.Pjq79LXnpm@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Ariel Rodriguez Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id A9E162BA8 for ; Sun, 1 May 2016 21:58:08 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id g17so19162511wme.0 for ; Sun, 01 May 2016 12:58:08 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-04-30 05:50, Ariel Rodriguez: > Yes i am refereing on that commit. > > About RTE_MACHINE_CPUFLAG_* , i agreed. > > I never prepare a patch ... maybe is time to put my hands on that. Yes it is a good way to make your first patch. See http://dpdk.org/dev#send Thanks > 2016-04-13 20:35, Ariel Rodriguez: > > Hello, viewing the new code of librte_sched/ i found this line strange ... > > > > #if defined(__SSE4__) > > Are you refering to http://dpdk.org/commit/90f455f ? > > > if instead i use : > > > > #if defined(__SSE4_2__) || defined(__SSE4_1__) > > > > works like a charm ... > > > > i never see in any directive like __SSE4__ > > Indeed, it is strange. > By the way, it is recommended to use RTE_MACHINE_CPUFLAG_*.