From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 6E41D1B16D for ; Wed, 24 Jan 2018 19:04:37 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id ED4AB2241E; Wed, 24 Jan 2018 13:04:36 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 13:04:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=gBRN7rVX7L6qCh2pArmFbHlGtg 8cjGdTUuew/kZg9Nk=; b=QocavGIpD4JYN7aVwblSZrRLJTdD04XRIkPYGn/f5A XsBgNXYNhEbyuQiywJFRpZKEkMiQNRm4rw76BUtEh07zZVjceeMksS29xMrc/pKK lJL2tte5Z7QrIJkrhewH7zfSn3VVf2hHPmrJ3BkLyKxaFliDx9OL2CGY2N7VKOLV M= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=gBRN7r VX7L6qCh2pArmFbHlGtg8cjGdTUuew/kZg9Nk=; b=ZWaJQroz090HoReprHyKaC BZXzyFnSQr+n4iuvuqzEcNiCuEyCnRrx5Cpq5++6qUT1ag6CLmbI+1HLo6yZUeZy M+J31Z0GhXdsQ44KyMPHXGnBIuCwJ1o43oTkVB2AGINKex4nvxyUCW0yJcYLeg12 B9arEEACW4Jp4WaPa1y6tGB5l1G9bAzVS/yDukbJf6OkWkOIHJh49wKp3+cmL7Pt zz6p/5W0WjtU0LyjxHu3osOdkgAt1DuNTf1sOF8NZ6kvHCkFD4M9SSBzQc4sbY5P cn5JogRQcX6jYetjBdFaYavipl2GeFE71Y9nbHfxwC+hrpo4GpwfZk0KfUOR53fw == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 9789E24235; Wed, 24 Jan 2018 13:04:36 -0500 (EST) From: Thomas Monjalon To: Ophir Munk Cc: dev@dpdk.org, "Van Haaren, Harry" , Pascal Mazon , Olga Shern Date: Wed, 24 Jan 2018 19:03:55 +0100 Message-ID: <2347692.HfTsUKljQz@xps> In-Reply-To: References: <1516744449-16158-1-git-send-email-ophirmu@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v1] net/tap: use local eBPF definitions 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, 24 Jan 2018 18:04:37 -0000 24/01/2018 12:05, Van Haaren, Harry: > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ophir Munk > > Sent: Tuesday, January 23, 2018 9:54 PM > > To: dev@dpdk.org; Pascal Mazon > > Cc: Thomas Monjalon ; Olga Shern ; > > Ophir Munk > > Subject: [dpdk-dev] [PATCH v1] net/tap: use local eBPF definitions > > > > eBPF has a graceful approach: it must successfully compile on all Linux > > distributions. If a specific kernel cannot support eBPF it will gracefully > > refuse the eBPF netlink message sent to it. > > The kernel header file linux/bpf.h (if present) on different Linux > > distributions may not include all definitions required for TAP > > compilation. > > In order to guarantee a successful eBPF compilation everywhere all the > > required definitions for TAP have been locally added instead of including > > file > > > > Signed-off-by: Ophir Munk > > Tested on a Fedora 20 vm, uname -r = 3.15.6-200.fc20.x86_64 > > Confirmed before patch was failing, with patch build is fixed. > > Tested-by: Harry van Haaren Applied, thanks