From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id 484A11B334 for ; Tue, 30 Jan 2018 08:05:20 +0100 (CET) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w0U74ZSt013446 for ; Tue, 30 Jan 2018 02:05:20 -0500 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ftjn1kanu-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 30 Jan 2018 02:05:19 -0500 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 30 Jan 2018 07:05:17 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 30 Jan 2018 07:05:15 -0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w0U75FwD47841392; Tue, 30 Jan 2018 07:05:15 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 610714203F; Tue, 30 Jan 2018 06:58:23 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 929534204B; Tue, 30 Jan 2018 06:58:22 +0000 (GMT) Received: from chozha.in.ibm.com (unknown [9.124.35.17]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 30 Jan 2018 06:58:22 +0000 (GMT) From: Gowrishankar To: dev@dpdk.org Cc: Pascal Mazon , thomas@monjalon.net, Gowrishankar Muthukrishnan Date: Tue, 30 Jan 2018 12:35:13 +0530 X-Mailer: git-send-email 1.9.1 X-TM-AS-GCONF: 00 x-cbid: 18013007-0020-0000-0000-000003F03245 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18013007-0021-0000-0000-0000428291C5 Message-Id: <4bcfed4d27c7289734cbf0038022d967844234a4.1517295607.git.gowrishankar.m@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2018-01-30_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1801300090 Subject: [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 07:05:21 -0000 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 -- 1.9.1