Thread (10 messages) 10 messages, 2 authors, 2018-02-28

Re: [RFC 6/7] net/af_xdp: load BPF file

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2018-02-28 21:10:16

On Tue, 27 Feb 2018 17:35:53 +0800
Qi Zhang [off-list ref] wrote:
quoted hunk ↗ jump to hunk
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help