From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 3DC595A3E for ; Thu, 16 Jul 2015 23:17:39 +0200 (CEST) Received: by wgxm20 with SMTP id m20so68056646wgx.3 for ; Thu, 16 Jul 2015 14:17:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=s/1iMtoE2MPUndNM+qR//xYMHTLJ+FApQqGXbilYVBs=; b=N8zJg8aBj1JJ53LJMRsQvBvt/73unDpVqed4BGxbmxcpMY13VrOqOHFc6wxG5oupMa 2Z5QHSBRO6qJUomp8l0w/zYQIHdvl5iIA+S/3RU/0b3sggSfNke0YBLuJU+W2cGj8C+S e8/dVsmIRsADu1EqtUkpY0HpZTV65cbw7nOL0K789Ofh1GuQxnBQwJee3zX2EpFzMotI miYxIkIjV6SqBPqrScNdHO7QaGNytTzvCW0xNn4BL2uirvyD7UxJaA/xHvygBr+6kbU4 MCYmUnh4G5ocFor0GOns8w8UE6jYceBLbqf28gFN5u1NWM6WDGMZipmcWgHj9MyLtQag bSqA== X-Gm-Message-State: ALoCoQkQKgmr6Ux5ItY/DbyDABMdAQyRqEASqUMGIoMkcvkwe3K9XQVjmawAjjXhERvjVmWLQhX3 X-Received: by 10.180.75.4 with SMTP id y4mr10317519wiv.1.1437081459072; Thu, 16 Jul 2015 14:17:39 -0700 (PDT) Received: from xps13.localnet (guy78-1-82-235-116-147.fbx.proxad.net. [82.235.116.147]) by smtp.gmail.com with ESMTPSA id e7sm5142798wib.22.2015.07.16.14.17.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jul 2015 14:17:38 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara Date: Thu, 16 Jul 2015 23:16:27 +0200 Message-ID: <3833913.eQtG18FVLH@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1437079307-18092-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1437079307-18092-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] hash: fix compilation for non-x86 systems 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: Thu, 16 Jul 2015 21:17:39 -0000 2015-07-16 21:41, Pablo de Lara: > Hash library uses optimized compare functions that use > x86 intrinsics, therefore non-x86 systems could not build > the library. In that case, the compare function is set > to the generic memcmp. [...] > --- /dev/null > +++ b/lib/librte_hash/rte_cmp_fns.h Renaming it to rte_cmp_x86.h would allow other arch in separate files.