The relative path can be wrong and prevents the build.
Makefile:57: ../../scripts/Makefile.include: No such file or directory
make: *** No rule to make target '../../scripts/Makefile.include'.
Stop.
Signed-off-by: Alexander Alemayhu
---
tools/lib/bpf/Makefile | 2
Remove deleted examples and add the new map in map example.
Signed-off-by: Alexander Alemayhu
---
examples/bpf/README | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/examples/bpf/README b/examples/bpf/README
index 4247257850eb..1bbdda3f8dc1 100644
--- a/examples/bpf
On Mon, Jun 12, 2017 at 09:10:07PM +0530, Shubham Bansal wrote:
>
> Nope. It looks like a latest addition to testing. Can you please tell
> me how to test with it?
>
cd tools/testing/selftests/bpf/
make
sudo ./test_progs
--
Mit freundlichen Grüßen
Alexander Alemayhu
$< -o -| $(LLC) -march=bpf -filetype=obj -o $@
+ -O2 -emit-llvm -c $< -o -| $(LLC) -march=bpf -filetype=obj -o
$(OUTPUT)$(shell basename $@)
--
Mit freundlichen Grüßen
Alexander Alemayhu
uot;Failed to find match: %s\n", m);
> + ret = 1;
> + printf("%s", bpf_vlog);
> + break;
> + }
> + }
> + /* printf("%s", bpf_vlog); */
Why is this commented out?
--
Mit freundlichen Grüßen
Alexander Alemayhu
://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=156d0e290e96
Signed-off-by: Alexander Alemayhu
---
man/man8/tc-bpf.8 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/man/man8/tc-bpf.8 b/man/man8/tc-bpf.8
index e371964d06ab..2e9812ede028 100644
--- a
en Grüßen
Alexander Alemayhu
On Tue, Apr 25, 2017 at 02:27:16PM +, David Laight wrote:
>
> Isn't the correct fix to include stddef.h ?
>
If you think it's the correct fix, please send a patch to netdev.
Thanks.
--
Mit freundlichen Grüßen
Alexander Alemayhu
re \
-O2 -emit-llvm -c samples/bpf/xdp_tx_iptunnel_kern.c -o -| llc
-march=bpf -filetype=obj -o samples/bpf/xdp_tx_iptunnel_kern.o
$ clang --version
clang version 3.9.1 (tags/RELEASE_391/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Signed-off-by: Al
: Alexander Alemayhu
---
samples/bpf/cookie_uid_helper_example.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/bpf/cookie_uid_helper_example.c
b/samples/bpf/cookie_uid_helper_example.c
index ad5afedf2e70..9ce55840d61d 100644
--- a/samples/bpf/cookie_uid_helper_example.c
from samples/bpf/test_lru_dist.c:24:
/usr/lib/gcc/x86_64-redhat-linux/6.3.1/include/stddef.h:417:0: note: this is
the location of the previous definition
#define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER)
Signed-off-by: Alexander Alemayhu
---
samples/bpf/test_lru_dist.c | 4 +++-
1 file chan
Hei,
while looking into making the Makefile in samples/bpf better handle O= I saw
several warnings when running `make clean && make samples/bpf/`. This series
reduces those warnings.
Thanks.
Alexander Alemayhu (3):
samples/bpf: add -Wno-unknown-warning-option to clang
samples/
ne else does I can send
something later (still learning the make syntax).
Thanks.
--
Mit freundlichen Grüßen
Alexander Alemayhu
les, like the below?
commit 1036c0af4dc381c2571947f197c9d30c2c9f4510
Author: Alexander Alemayhu
Date: Tue Apr 11 13:31:32 2017 +0200
bpf: ignore generated files
o add test_progs to tools/testing/selftests/bpf/.gitignore and the other
generated files.
o new ignore
Signed-off-by: Alexander Alemayhu
---
tools/testing/selftests/bpf/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/bpf/.gitignore
b/tools/testing/selftests/bpf/.gitignore
index 541d9d7fad5a..2fe8766e204f 100644
--- a/tools/testing/selftests/bpf/.gitignore
o s/bpf_bpf_get_socket_cookie/bpf_get_socket_cookie
Signed-off-by: Alexander Alemayhu
---
include/uapi/linux/bpf.h | 2 +-
tools/include/uapi/linux/bpf.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
index
rmal font settings
> anyway.
>
I will keep your comment in mind for next time.
Thanks.
--
Mit freundlichen Grüßen
Alexander Alemayhu
ff-by: Alexander Alemayhu
---
man/man8/tc-flower.8 | 2 +-
man/man8/tc-ife.8 | 2 +-
man/man8/tc-matchall.8 | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/man/man8/tc-flower.8 b/man/man8/tc-flower.8
index fc5bac503324..ba290657c224 100644
--- a/man/man8/tc-flower.8
+++ b/man
k/media/oops-i-did-it-ipv6-nat-by-patrick-mchardy
--
Mit freundlichen Grüßen
Alexander Alemayhu
Having some examples in the top level man page might make it a little bit easier
for new users to get started. Reused some words / sentences from the existing
man pages.
Suggested-by: 積丹尼 Dan Jacobson
Signed-off-by: Alexander Alemayhu
---
This is my first man page patch, hopefully I've
would be hopeless, but actually found lots!)
>
Actual examples in the page would better than links IMO. git has some
nice examples in gittutorial(7) and giteveryday(7). Maybe that can be
good inspiration?
--
Mit freundlichen Grüßen
Alexander Alemayhu
gt;min_value = 0;
~^~~
kernel/bpf/verifier.c:2020:2: note: here
case BPF_JSGE:
^~~~
Reported-by: David Binderman
Signed-off-by: Alexander Alemayhu
---
Using gcc (GCC) 7.0.1 20170204 (Red Hat 7.0.1-0.6)
kernel/bpf/verifier.c | 5 +
1 file changed, 5 insertions(+)
ichen Grüßen
Alexander Alemayhu
o s/approriate/appropriate
o s/discouvery/discovery
Signed-off-by: Alexander Alemayhu
---
net/ipv6/route.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 8417c41d8ec8..ce5aaf448c54 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6
o s/descentant/descendant
o s/workarbound/workaround
Signed-off-by: Alexander Alemayhu
---
net/xfrm/xfrm_policy.c | 2 +-
net/xfrm/xfrm_state.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index 177e208e8ff5
s/utliziation/utilization
Signed-off-by: Alexander Alemayhu
---
Documentation/networking/mpls-sysctl.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/networking/mpls-sysctl.txt
b/Documentation/networking/mpls-sysctl.txt
index 9ed15f86c17c..15d8d16934fd
On Mon, Oct 17, 2016 at 09:03:30AM -0700, Stephen Hemminger wrote:
>
> Source:
>
> http://www.kernel.org/pub/linux/utils/net/bridge-utils/bridge-utils.1.6.tar.gz
>
This link seems to be broken.
--
Mit freundlichen Grüßen
Alexander Alemayhu
On Fri, Oct 14, 2016 at 05:17:36PM +0800, yuehaibing wrote:
> subscribe linux-kernel
>
Try sending subscribe linux-kernel to majord...@vger.kernel.org
On Fri, Oct 14, 2016 at 05:18:10PM +0800, maowenan wrote:
> i want to subscribe this mail, thank you very much.
>
Try sending subscribe netdev to majord...@vger.kernel.org
/git/davem/net-next.git/' not found
Cloning into 'linux'...
fatal: repository
'http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/' not found
Cloning into 'stable-queue'...
fatal: repository
'http://git.kernel.org/cgit/linux/kernel
30 matches
Mail list logo