From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by dpdk.org (Postfix) with ESMTP id 814534CA2 for ; Wed, 28 Feb 2018 22:10:16 +0100 (CET) Received: by mail-pf0-f193.google.com with SMTP id z10so1508625pfh.13 for ; Wed, 28 Feb 2018 13:10:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eRifeLk1jFS24Y/xo69IXYNjtMHAdopbonEw2j3wl/w=; b=fDfFsSVJkFRpFPvyRDMDwveLO9igmseFQkLybsOc/aIakQUvsBAdl2VvW2t66wDrxE Iy8paGoEO3XMD55OWp+QaKVEXQMKo9r9aQ5KyRiYJLklfmietvXc0U5NOH8omHKIAuWI 6IL/6ckty7uPf0O5DSfMm3L7uVWEPVPFyDCHUmq3+2qhna82urkn27B2pQ2amiyOQjdi 1RATLOAMWUD4SF3T5K+pTu/CeHJpkp1tQeMPmkKI7VsQV765crO+UU9vFd2isTd6U8h9 IFeCkBwasfHJE80Uhxc0FpTH727NTIsaUzMwgavu/Li+NMD8FHc4zUSKhjrIxXDQrjxR E3+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eRifeLk1jFS24Y/xo69IXYNjtMHAdopbonEw2j3wl/w=; b=a0hUsTvEaoP7eeAYSIdi3EbBW+vlc7xEBGW9baiJcRBRTkDXGPM4oHLGxMLDai67pk 2529pqDJnYp+0H/xEwXwzHvI2Ioz/NI0Mgm1Xt3G7f42irSuVAHOhtTKkbIlc5yeCTG6 RAjAAs+LAsH/UW7Y6ihE8j8MWcMrtmEX4/h9DbZEUT2a1YA9k8+zHdl3wNXNlWaJwxZR s54DgujS+vClZePbd6f3JUA2Lnf6LLozsLv7LgnYk3+TzsCRFyWdsGy1tNPC9DEHnR86 GtFCm6b5pMW3ZPTnQQhj9gno6xe6elcpWoc6+1rEN6R3PWLwlnCdQDB7WjKqsMI0gNuf L9RQ== X-Gm-Message-State: APf1xPBkWwv7V4mG4zucB61778KMaz7FIkXqpPoG+6qS+sOQMUhoVMAN woBQl8QwlyucgPGbNVHExBTJtQ== X-Google-Smtp-Source: AH8x224afHT/wcSWS/PEa3J7MFHpN5Tg2PPSGZ8zT3ek1GJInJrr1uYVMlKA4O7xOG7xbF4uvfmc2g== X-Received: by 10.98.32.200 with SMTP id m69mr18998619pfj.82.1519852215578; Wed, 28 Feb 2018 13:10:15 -0800 (PST) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id o82sm5768123pfj.163.2018.02.28.13.10.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Feb 2018 13:10:15 -0800 (PST) Date: Wed, 28 Feb 2018 13:10:08 -0800 From: Stephen Hemminger To: Qi Zhang Cc: dev@dpdk.org, magnus.karlsson@intel.com, bjorn.topel@intel.com Message-ID: <20180228131008.296f54bd@xeon-e3> In-Reply-To: <20180227093554.23951-7-qi.z.zhang@intel.com> References: <20180227093554.23951-1-qi.z.zhang@intel.com> <20180227093554.23951-7-qi.z.zhang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [RFC 6/7] net/af_xdp: load BPF file 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, 28 Feb 2018 21:10:16 -0000 On Tue, 27 Feb 2018 17:35:53 +0800 Qi Zhang wrote: > diff --git a/drivers/net/af_xdp/Makefile b/drivers/net/af_xdp/Makefile > index ac38e20bf..a642786de 100644 > --- a/drivers/net/af_xdp/Makefile > +++ b/drivers/net/af_xdp/Makefile > @@ -42,7 +42,10 @@ EXPORT_MAP := rte_pmd_af_xdp_version.map > > LIBABIVER := 1 > > -CFLAGS += -O3 -I/opt/af_xdp/linux_headers/include > +LINUX_HEADER_DIR := /opt/af_xdp/linux_headers/include > +TOOLS_DIR := /root/af_xdp/npg_dna-dna-linux/tools Hardcoding paths is not a good idea.