From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id DB5F61B652 for ; Wed, 31 Jan 2018 15:29:41 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5F4DC20A9B; Wed, 31 Jan 2018 09:29:41 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 31 Jan 2018 09:29:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=EMd1au9I7POCoqBGq40rZqQH+N 1JcsTgd+aVQ42vJFI=; b=DwtCZ4UWEfURObhISMKTxjbd7EGCBRDZdNAAlm372B 6OHrWf7D0Re3Gb5YwvabjIU6ub1++qtOzSZNHR9BwKTZ5jP47LTG9J0V9kv8Ps2X Xr616sNDzrhUwivIC24RYKWCL6zBeQq3XOy3iJe40BCNGBRReBcS101AyfavE5Nh w= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=EMd1au 9I7POCoqBGq40rZqQH+N1JcsTgd+aVQ42vJFI=; b=reg4zy1L+7NF/yNyaobLvw MTw8AnzbN+k0AQp2JDtQBAiorjSnDZmzA3HYN4dzunwAOlpk2JupTyapX++SgWll lgMQl5BxujfUckb47yMtugrj4xbOzA5lgixPqi9DKA+NMN8v9MKOaO6duT8OCJvV Y+7DHSRor9FFMkQo1cI/HzA02yy5Slz/eW94Sq/zSXk6r7SEsgxrVWxhyZLTP1T9 ooufnlW9eJv1mOre879HZSBDeCcjd5LySvOpXLinOicEZpRg7TUm/cDvwCy0QjDZ v01TH30vWofvGm7hmKuA9DyiLYNfPz6cz1o6s6oAZVXtx6clQIqjoGX4imaZB4MA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 048A0240DE; Wed, 31 Jan 2018 09:29:41 -0500 (EST) From: Thomas Monjalon To: Ophir Munk Cc: dev@dpdk.org, Pascal Mazon , Olga Shern , Jerin Jacob , Viktorin , Jianbo Liu Date: Wed, 31 Jan 2018 15:28:55 +0100 Message-ID: <5755586.fHBMFWOpR3@xps> In-Reply-To: <1517406286-4306-1-git-send-email-ophirmu@mellanox.com> References: <1517406286-4306-1-git-send-email-ophirmu@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v1] net/tap: add eBPF ARM and POWERPC architectures 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, 31 Jan 2018 14:29:42 -0000 31/01/2018 14:44, Ophir Munk: > This commit adds eBPF system call definitions for ARM and POWERPC > architectures. > Old Linux header files may not define eBPF system call numbers. > In order to enable a successful eBPF compilation on all Linux > platforms - the missing system call definitions are explicitly added. > > #elif defined(__powerpc__) > # define __NR_bpf 361 > #elif defined(__arm__) > # define __NR_bpf 386 PowerPC is already added on master branch.