From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0083.outbound.protection.outlook.com [104.47.1.83]) by dpdk.org (Postfix) with ESMTP id E53EA1B784 for ; Wed, 31 Jan 2018 17:04:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ko1l51xidSG4heGvkpaN1r+hlW5JV/UFFPPaFbGuvgI=; b=qM8DoVs2FXRKVLw492ZzBLs1KhAFwf5+CLTTbybfZyGRf2gVNunTEoPJLT1pMuhkKC8S8N4LhW4AWqC7q/9CAiIuoPhvyAqPX8khCRz3ew29RwySJ7u3QtlOtLJY722L/vZ52l5afHvf1ezm15skfUaSUASgziyONxk7nH7CHKs= Received: from mellanox.com (37.142.13.130) by VI1PR0502MB3888.eurprd05.prod.outlook.com (2603:10a6:803:c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Wed, 31 Jan 2018 16:04:07 +0000 From: Ophir Munk To: dev@dpdk.org, Pascal Mazon Cc: Thomas Monjalon , Olga Shern , Ophir Munk , Jerin Jacob , Viktorin , Jianbo Liu Date: Wed, 31 Jan 2018 16:03:58 +0000 Message-Id: <1517414638-29180-1-git-send-email-ophirmu@mellanox.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: AM6PR0202CA0009.eurprd02.prod.outlook.com (2603:10a6:209:15::22) To VI1PR0502MB3888.eurprd05.prod.outlook.com (2603:10a6:803:c::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 70c9a818-c1b4-4ffa-ce19-08d568c4431e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:VI1PR0502MB3888; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB3888; 3:m94tn+dNDrY/KoZAeXYKBT01k8ZnIGMciK6OHfmp1kSo5hxb/Bwpz7Ipj2fr62YBzUy8MyxIYX7BPQsnJwZ4LScyi4HPxCTIovBJJ4Dw8LQHXf7OgX9EXQX/KduU3jHcPSuI14D/Lfub35LNbKaNxgPVbyyqxeyZYbeF5RYFUQezF8etpZ+A0Rg1FrKypTiBo+kHE12N3lUK2xXPgQHnnEMQNSBaMEBRLyT0e/s4JgFhsvzFQAR2ENCYrUPeNcnm; 25:s7APoHHdhZgdLdJ8MxvNH0WLHXhwBmPArgftzs835ahlKsQ203/gn31sxWsEa75LBXDNlOW1NSL7i+x76Nevnrn52zA9ws5p9UwKODiCXjcJuk/zYQDLneCeUEiJirk8hk5p3LegkEHeGjlvlgZ5wzK9Oo6fI1g/Ft0tkBqJISvV8r1Zs+WjDLU82hAyKDwKOe9F2bat4TeHv9i68ASvGaqJ2bflJkRPiy4YnoqNveTnKJK3yQX+2IO+q9IikePd8b5s1X+wrLTTXvc/BPlbJr81DKpFbHJ6/0QfXv7E6Q2XUpPZnNwmpOF9OD8k4iNFYSUQvPQxE1HVyvJgycN4TQ==; 31:do+khgn6h8oG7xY9AXPauBvZ0uN036oELf5c1/kPkU1T3dpgDYO+d6x3UrlExAOFDWsh+A4kqDFfDJfazdZ9JwJnE3u1CEG3P8fZaermI4ZP+6zZFuXds8fTCHDRgDwPHdKfwWff5PfdHSU5wE6h3C1wccl5n9TseVK5XeyYhTfJeCUjQXMEJYBBghzD58LDQ93zEpPhkOAS1CS+FrNOjnOHT96nRB3WYo5QddAPUWY= X-MS-TrafficTypeDiagnostic: VI1PR0502MB3888: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ophirmu@mellanox.com; X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB3888; 20:Q7h/kb14IQ+0EHHV2wn/+PzOtiepVgAG0VX3hZaf00KexpfwvftLOxRDyvv4lYh1e5HGWovNOom2URcGHZ5ZCU8q2G2HMQ6Zo06xCLi+ki9r2FLL5xGgbYeSNTHTkl/GsQ0VdFepej+4uZ8rJ+Mfqo8r/QTJl/t5cshrRDN4A4nqBIzyPZ5uOZ1Ngu0Oz2pBnLqk+n/ImP9ealleo5aqpNI0Yv7w9XdkIB1z33JOPRwWws0eC4uq3PPNT7SMLgaBTEcQ7d9HROLV61BUSCJIYSxeZTmitNJ8YXf6jjcnbtcRYcImIEYl3Xa6Rx+y16ADC//NwSeOMk1b7HaF94A5rPbywEkWo//xnLGy6cbA6OyjxYXYT0i9Jh12oywboI1Lop4WYKg+0CowGApLejbprUK7ZJ2AYVh7TadTmU99LD2FeX383yvCluRF54Q3bPM1o0G63HVtQmRy73cw5keVEDfU2WudADy3n14+Vo/6gmmAFYuQLmfF1Pl5wkc+8ptY; 4:WKrLUKCnbCzYuRYHcJPr/vAJa3FzLRJYnsRg0jgYo/ZvNcxCsLfYmk4nHY8erHSjK0nHMJd7vlZRiNdFNfQ13K9o7Tv2kHVmlDt88/Fode9HHqifxIdaiOY5/S5ggAUaPgh/s0t3RWo8xvM9TuAa/hfMHJg/ibSnsXDMFyiYT389QFlr2ObSIgVWh2TNJa9w26l3hw64PXhPUY5gPuFNP0YEiKPxKDtbktGvUJmNcfL1zWbcRU7188sBAYrF6m7DcuYSPAHLrOfcbTKd5evmEQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231101)(2400082)(944501161)(6055026)(6041288)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(6072148)(201708071742011); SRVR:VI1PR0502MB3888; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0502MB3888; X-Forefront-PRVS: 056929CBB8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(396003)(376002)(39380400002)(366004)(189003)(199004)(86362001)(7736002)(47776003)(97736004)(5660300001)(59450400001)(68736007)(8676002)(26005)(6666003)(386003)(66066001)(305945005)(16526019)(16586007)(52116002)(186003)(316002)(48376002)(7696005)(8936002)(51416003)(50466002)(69596002)(54906003)(50226002)(4720700003)(6916009)(81156014)(4326008)(6116002)(105586002)(81166006)(25786009)(3846002)(478600001)(21086003)(55016002)(106356001)(53936002)(33026002)(36756003)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0502MB3888; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0502MB3888; 23:NlGEvBySJh0x/Xbd8st7IEA10NPMGtA8UG/rha1?= =?us-ascii?Q?V96EIQPfLV5p1oH9wYIS7+PjNudz19xqTNAUhfkiAcuKyX9mwzIwu+XyZMfo?= =?us-ascii?Q?o51G6BAy2H2SzmJ9FFNhSjJV4IaCVVbfS3oj8jkjZyt4VUI9kBAEnieLRDPz?= =?us-ascii?Q?Cpp90e0pg/RnakndvdLUHjuKJnkFdDhhPybQutJHe+ds3ylh0aO6WnGpTNAT?= =?us-ascii?Q?V9BDsRwIMQA1SvDo9VJA4x8uMnMn7LAhh03xV2G9vsrH46Fdj92dQ5tQWLZ7?= =?us-ascii?Q?jHwWiI3SMhdrONeZTr+hAdtCebpU5pNYjH/30xMY3qVvvoDCE+I5KTOfinpH?= =?us-ascii?Q?pnydpAGMC35w7lZl2A8zFvfRj21FG/y87oHD9tj5fzNuCP7Uw9zjkznFLOjM?= =?us-ascii?Q?WmC8GtU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9XvnkNHJDfEecY7tPeDUuASnee0wNeBtyFAZBclmdGSZEw1We39NpI6pDONKTyFxj6L7vjxo6NIrpleHAvinLgTxajM5srlhqz6FtU5hGmchP9MQLKHNfP4NxCPVJdYawIw2YThPHBsMPXErpmkclCWHdub5Nx81eNr4+gYUvkI/mQas1KaPbvi5MezPlRm/bSDbLzRh+oy23rMHBwBn4DUe/TfsA2e2tyJgHxNWpgoJWmlzIXjlHzqfPpN2Uvg8GHwxsLiwFeKWB2PTiXXS2xDA5LZWsKKWyfmrBUons=; 5:bvAShG8LnuD9QoiYnpXnJi8JjKgI2mVrnt4g+74wJY3rqUfb6AyaO2AzgBMuufO8raLYBCuV5SudKyhuHTjKWxeoCPHyrup9W7siJWXcxnkYy0qmMLTQzMy55kNxQxbtffoPT7pG4NvbI1gy14NtYNDXASZDnYXEmkmutTfbdXE=; 24:+G9+LuIEsmKURa1zCqhXkL3t0Y9mzIggl9tRuuHmf+G1VLSEQWr1beE4jsjDrKYiBOJh1AW3GTvMEMwZZX428YjYtQek9/5pCT0tx72q1Bw=; 7:OoOtwVie3CcCdwVD5Tqloo6XcBeLFlfKeutFhxlzzK4W18WCXB4yh9jhPZyt/u3qEgQiIjGq0FsER2MRuz8WflmOhQZBGmoza0cw319X6IgOJ4wxduCSeV5CIaRvstmz7jJIFnQUEauPTDlKSAWad+huJ/DeAv6y25xPqztsEV8TdAkNmnBsuibD17pOXjIAaG7UBkLkmSmUbTFL2XimfqbhlxVzRKIxx0UtKHU9MCMBD0ZjVO8gglN/egP9Ydgw SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2018 16:04:07.8482 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 70c9a818-c1b4-4ffa-ce19-08d568c4431e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3888 Subject: [dpdk-dev] [PATCH v1] net/tap: fix build on ARM 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 16:04:11 -0000 This commit adds eBPF system call definitions for ARM architecture. Old Linux header files may not define eBPF system call numbers. In order to successful compile eBPF on all Linux platforms - the missing ARM system call definition is explicitly added. Fixes: b02d85e1 ("net/tap: add eBPF API") Signed-off-by: Ophir Munk --- 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..0fa52a6 100644 --- a/drivers/net/tap/tap_bpf.h +++ b/drivers/net/tap/tap_bpf.h @@ -97,6 +97,8 @@ union bpf_attr { # define __NR_bpf 349 # elif defined(__s390__) # define __NR_bpf 351 +# elif defined(__arm__) +# define __NR_bpf 386 # else # error __NR_bpf not defined # endif -- 2.7.4