From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v1] net/tap: add eBPF ARM and POWERPC architectures support Date: Wed, 31 Jan 2018 15:28:55 +0100 Message-ID: <5755586.fHBMFWOpR3@xps> References: <1517406286-4306-1-git-send-email-ophirmu@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Pascal Mazon , Olga Shern , Jerin Jacob , Viktorin , Jianbo Liu To: Ophir Munk 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) In-Reply-To: <1517406286-4306-1-git-send-email-ophirmu@mellanox.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" 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.