From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=M+aWov+OMrCObqFDiBiRQ7/KigM9E0SZ2QKug3Zgrb0=; b=t7lGBbF26JrkqcJKfFVKYgXQue/PuApdqkeEmr7259J8610oieucatVmd4ADBJ8k6A vdqtbkaPjWQ8OCknYGFBdm1EeMFdDx8u9UWXB5/mNVY/RJaLbv0bI5AyY8izXePhtdqf sZsj1+2M+ZAx8eG1qekBszBCZP22UwgMEW04jPUCHMZamRqEGR+0CVG2FB0BjMbBWvVJ MzoMWWX75pjWJlGpLOTFyzFlW3GQuJ+OSMj6Rx3jnAsZD905PbcQmk6t/WfdOA1kraM/ Gl09VmfGvFnuEMJxPBCkWRbaqvWW0rZDhlfatW0Qewlli1VFGosprIS+BVkMHrYa78bS 1Ofg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=M+aWov+OMrCObqFDiBiRQ7/KigM9E0SZ2QKug3Zgrb0=; b=CNmRCw4yxZgZ0JlVdgeebVHVtcXFw1MlaHkW+B4dbzcl9rIMGD3Z3TW2N0C7D88yBy DdMDlYNCndNCtOrMvpk7RhGtZEZLT4LCvFeOD2/6Eq200WdPonbGKGQh/LzetoVXGC6n M/rrmZyZkS+RjSlbRspqlImMDL83t4qsDTtgqGpvGYa3ZVFYDXeyZZOL2TXm2sVky/pd eBsK0QCTTpw/QP/xQbg5nluKWAvZqcpdrH1P362F66+nn0ztWhZlvQygJ0VpV3a1XDcz 2eq7eryUADheIvRfut3SPd8W1ziQo8tayWjzah85zNJenSBS/XELvZxVHXqGjAZmgwKu Wg9Q== X-Gm-Message-State: AKwxytcjKoBofeq7kfaRw0c9RvLIXCYhWTzf9vK+i0Zz6Ymvlqelliuq QsGBVKdxbvNWYGkQcRjIqlcdV+lMU7M= X-Google-Smtp-Source: AH8x225ovgLTBDWyZIokJ+U/eSKBlTU/5OONSE60j2kmCWuGSB9cl6+dKnYKtesDOTPb2qLFQbXE+A== X-Received: by 10.223.166.133 with SMTP id t5mr1346093wrc.106.1517302313187; Tue, 30 Jan 2018 00:51:53 -0800 (PST) Received: from [192.168.1.58] (82.107.69.91.rev.sfr.net. [91.69.107.82]) by smtp.gmail.com with ESMTPSA id v21sm13782329wrd.94.2018.01.30.00.51.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jan 2018 00:51:52 -0800 (PST) To: Gowrishankar , dev@dpdk.org Cc: thomas@monjalon.net References: <4bcfed4d27c7289734cbf0038022d967844234a4.1517295607.git.gowrishankar.m@linux.vnet.ibm.com> From: Pascal Mazon Message-ID: <56b09bfb-19b8-f7fc-e6b6-4e462ab73352@6wind.com> Date: Tue, 30 Jan 2018 09:51:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <4bcfed4d27c7289734cbf0038022d967844234a4.1517295607.git.gowrishankar.m@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH] net/tap: define __NR_bpf for powerpc 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: Tue, 30 Jan 2018 08:51:53 -0000 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