From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ye Xiaolong Subject: Re: [PATCH v9 1/1] net/af_xdp: introduce AF XDP PMD driver Date: Wed, 3 Apr 2019 22:43:27 +0800 Message-ID: <20190403144327.GB36385@intel.com> References: <20190402154653.711-1-xiaolong.ye@intel.com> <20190402154653.711-2-xiaolong.ye@intel.com> <20190403095939.GA32340@intel.com> <56ce5855b02d47a085a8d36451561c400f0b039c.camel@debian.org> <0dde8c20e9992047f29d39ad45dcf511244a5297.camel@debian.org> <80c81c0c-cf64-59f8-a592-26cd865fbd89@intel.com> <37073834d0b9a9f5a6e9f39bac3adc5eb29779ab.camel@debian.org> <5bc49c51-04f4-6f73-889d-d3c0ff749784@intel.com> <46d92b70a40581462f5ee3ba301c793c4cf0c2df.camel@debian.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ferruh Yigit , dev@dpdk.org, Karlsson Magnus , Topel Bjorn To: Luca Boccassi Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 630665A6E for ; Wed, 3 Apr 2019 16:48:21 +0200 (CEST) Content-Disposition: inline In-Reply-To: <46d92b70a40581462f5ee3ba301c793c4cf0c2df.camel@debian.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 04/03, Luca Boccassi wrote: [snip] >> >> Got it. >> >> In above steps, 'libbpf' also build from kernel source tree, will it >> be problem >> in you builds to not have it build from source? >> >> If not, taking into account that xsk.h also will be fixed, only >> 'tools/include/asm/barrier.h' remains the problem, and it looks like >> it can be >> solved, please check above. > >libbpf is already packaged separately in Debian and I think other >distros will follow soon, so it's all good for me once the barrier >issue is solved. > >https://packages.debian.org/buster/libbpf-dev > >>From the makefile's perspective it should not matter where it comes >from - the headers should be expected to be in /usr/include and the >library in /usr/lib* - and pkg-config can help with that if available. >And if a user wants to use a custom path, then it's no different than >any of the other dependencies on other external libraries >>From tools/lib/bpf/Makefile, after make install_lib and make install_headers, the headers and library would be put in /usr/local/include/bpf and /usr/local/lib*, Is it ok? Thanks, Xiaolong > >-- >Kind regards, >Luca Boccassi