From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Mazon Subject: Re: [PATCH] net/tap: define __NR_bpf for powerpc Date: Tue, 30 Jan 2018 09:51:51 +0100 Message-ID: <56b09bfb-19b8-f7fc-e6b6-4e462ab73352@6wind.com> References: <4bcfed4d27c7289734cbf0038022d967844234a4.1517295607.git.gowrishankar.m@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: thomas@monjalon.net To: Gowrishankar , dev@dpdk.org Return-path: Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id 835C61B3CF for ; Tue, 30 Jan 2018 09:51:53 +0100 (CET) Received: by mail-wr0-f193.google.com with SMTP id w50so10206359wrc.2 for ; Tue, 30 Jan 2018 00:51:53 -0800 (PST) In-Reply-To: <4bcfed4d27c7289734cbf0038022d967844234a4.1517295607.git.gowrishankar.m@linux.vnet.ibm.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Acked-by: Pascal Mazon On 30/01/2018 08:05, Gowrishankar wrote: > From: Gowrishankar Muthukrishnan > > This patch defines __NR_bpf for powerpc architecture and hence, > fixes compiling tap driver for this architecture. > > Fixes: b02d85e1 ("net/tap: add eBPF API") > > Signed-off-by: Gowrishankar Muthukrishnan > --- > drivers/net/tap/tap_bpf.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/net/tap/tap_bpf.h b/drivers/net/tap/tap_bpf.h > index 8d6f9a2..06e9509 100644 > --- a/drivers/net/tap/tap_bpf.h > +++ b/drivers/net/tap/tap_bpf.h > @@ -97,6 +97,8 @@ enum bpf_map_type { > # define __NR_bpf 349 > # elif defined(__s390__) > # define __NR_bpf 351 > +# elif defined(__powerpc__) > +# define __NR_bpf 361 > # else > # error __NR_bpf not defined > # endif