|
Clang target bpf compile issue/fail on Ubuntu and Debian
The BPF UAPI header file <linux/bpf.h> includes <linux/types.h>, which gives BPF-programs access to types e.g. __u32, __u64, __u8, etc. On Ubuntu/Debian when compiling with clang option[1] "-target bp
The BPF UAPI header file <linux/bpf.h> includes <linux/types.h>, which gives BPF-programs access to types e.g. __u32, __u64, __u8, etc. On Ubuntu/Debian when compiling with clang option[1] "-target bp
|
By
Jesper Dangaard Brouer
· #1883
·
|
|
BPF Concurrency
Hi Kanthi and Quentin, You mention token counter as the use-case, for somehow ratelimiting (TCP connections in your case?). That reminds me that Quentin implemented[1] a two-color token-bucket ratelim
Hi Kanthi and Quentin, You mention token counter as the use-case, for somehow ratelimiting (TCP connections in your case?). That reminds me that Quentin implemented[1] a two-color token-bucket ratelim
|
By
Jesper Dangaard Brouer
· #1868
·
|
|
Error loading xdp program that worked with bpf_load
(Cross-posting to iovisor-dev) Seeking input from BPF-llvm developers. How come Clang/LLVM 10+ is generating incompatible BTF-info in ELF file, and downgrading to LLVM-9 fixes the issue ?
(Cross-posting to iovisor-dev) Seeking input from BPF-llvm developers. How come Clang/LLVM 10+ is generating incompatible BTF-info in ELF file, and downgrading to LLVM-9 fixes the issue ?
|
By
Jesper Dangaard Brouer
· #1859
·
|
|
Seeking candidates for PhD position related to XDP/eBPF
Hi Potential PhD student, Reminder: Application deadline 15.May 2020 is really soon for our PhD position located in Sweden, at Karlstads University. See: "PhD position in Computer Science, programmabl
Hi Potential PhD student, Reminder: Application deadline 15.May 2020 is really soon for our PhD position located in Sweden, at Karlstads University. See: "PhD position in Computer Science, programmabl
|
By
Jesper Dangaard Brouer
· #1841
·
|
|
clang 10 for BPF CO-RE
"Andrii Nakryiko" <andrii.nakryiko@...> wrote: I assume this is the blog post[1]: [1] https://facebookmicrosites.github.io/bpf/blog/2020/02/20/bcc-to-libbpf-howto-guide.html Thanks for writing t
"Andrii Nakryiko" <andrii.nakryiko@...> wrote: I assume this is the blog post[1]: [1] https://facebookmicrosites.github.io/bpf/blog/2020/02/20/bcc-to-libbpf-howto-guide.html Thanks for writing t
|
By
Jesper Dangaard Brouer
· #1822
·
|
|
[bpftrace] Another release?
"Daniel Xu" <dxu@...> wrote: I would VERY much like to see a release, because I have bpftrace scripts that depend on latest git-tree (I think it's the 'int casts' that I depend on). My scripts a
"Daniel Xu" <dxu@...> wrote: I would VERY much like to see a release, because I have bpftrace scripts that depend on latest git-tree (I think it's the 'int casts' that I depend on). My scripts a
|
By
Jesper Dangaard Brouer
· #1793
·
|
|
Facing an error while compiling for bpf using clang
"Prashanth Fernando" <prashanth.fernando@...> wrote: You have to use CentOS-8 for TC (and XDP) support, or install a newer kernel version on CentOS-7.
"Prashanth Fernando" <prashanth.fernando@...> wrote: You have to use CentOS-8 for TC (and XDP) support, or install a newer kernel version on CentOS-7.
|
By
Jesper Dangaard Brouer
· #1680
·
|
|
Facing an error while compiling for bpf using clang
"Yonghong Song" <ys114321@...> wrote: In the kernel tree it is documented here: https://github.com/torvalds/linux/blob/master/samples/bpf/README.rst But the kernel says: clang >= version 3.4.0 +
"Yonghong Song" <ys114321@...> wrote: In the kernel tree it is documented here: https://github.com/torvalds/linux/blob/master/samples/bpf/README.rst But the kernel says: clang >= version 3.4.0 +
|
By
Jesper Dangaard Brouer
· #1679
·
|
|
how to run bcc xdp_redirect_cpu.py example
"Gary Lin" <glin@...> wrote: Thanks you Gary, for pointing this out. I added the TODO in the code, and it is still on my todo list for CPUMAP here: https://github.com/xdp-project/xdp-project/blob
"Gary Lin" <glin@...> wrote: Thanks you Gary, for pointing this out. I added the TODO in the code, and it is still on my todo list for CPUMAP here: https://github.com/xdp-project/xdp-project/blob
|
By
Jesper Dangaard Brouer
· #1675
·
|
|
Xdpoffload list avaliable devices
"Nic Viljoen" <nick.viljoen@...> wrote: Hint, do remember that you need to download a firmware that support eBPF from Netronome's homepage. But don't be scared it is painless to update/use t
"Nic Viljoen" <nick.viljoen@...> wrote: Hint, do remember that you need to download a firmware that support eBPF from Netronome's homepage. But don't be scared it is painless to update/use t
|
By
Jesper Dangaard Brouer
· #1546
·
|
|
Plans for libbpf packaging for distros?
Jakub Kicinski <jakub.kicinski@...> wrote: That is an interesting use case. I myself is also guilty[1] of copying the libbpf code from the kernel and placing it on github to make my bpf-samp
Jakub Kicinski <jakub.kicinski@...> wrote: That is an interesting use case. I myself is also guilty[1] of copying the libbpf code from the kernel and placing it on github to make my bpf-samp
|
By
Jesper Dangaard Brouer
· #1523
·
|
|
Plans for libbpf packaging for distros?
Arnaldo Carvalho de Melo <acme@...> wrote: And you basically also ship a version of libbpf in this tarball: $ tar tvf ~/download/perf-4.19.0.tar.xz | grep lib/bpf drwxrwxr-x root/root 0 2018-10
Arnaldo Carvalho de Melo <acme@...> wrote: And you basically also ship a version of libbpf in this tarball: $ tar tvf ~/download/perf-4.19.0.tar.xz | grep lib/bpf drwxrwxr-x root/root 0 2018-10
|
By
Jesper Dangaard Brouer
· #1519
·
|
|
Plans for libbpf packaging for distros?
Hi Jakub, Laura and Jiri Olsa (Cc others), Subj: iovisor-dev] minutes: IO Visor TSC/Dev Meeting (To: iovisor-dev <iovisor-dev@...>) I noticed from the iovisor-dev minutes that you have p
Hi Jakub, Laura and Jiri Olsa (Cc others), Subj: iovisor-dev] minutes: IO Visor TSC/Dev Meeting (To: iovisor-dev <iovisor-dev@...>) I noticed from the iovisor-dev minutes that you have p
|
By
Jesper Dangaard Brouer
· #1515
·
|
|
Xdp or dpdk
Interesting use-case of Load-Balancing 100G to 10x 10G. I would obviously choose XDP, but I'm biased ;-) I want to stress, that you have to handle, in _your_ BPF prog, how to load-balance and handle _
Interesting use-case of Load-Balancing 100G to 10x 10G. I would obviously choose XDP, but I'm biased ;-) I want to stress, that you have to handle, in _your_ BPF prog, how to load-balance and handle _
|
By
Jesper Dangaard Brouer
· #1486
·
|
|
IPFIX flow data
<santhosh.fernandes@...> wrote: Why IPFIX and not sFlow or netflow ? It depends a bit on you setup. Assuming you want to do this "inline" on the box receiving the traffic. Then you should know/l
<santhosh.fernandes@...> wrote: Why IPFIX and not sFlow or netflow ? It depends a bit on you setup. Assuming you want to do this "inline" on the box receiving the traffic. Then you should know/l
|
By
Jesper Dangaard Brouer
· #1477
·
|
|
BTF examples or documentation?
"PJ Waskiewicz" <peter.waskiewicz.jr@...> wrote: I noticed that Arnaldo is playing with pahole (see twitter[1]) and converting dwarf into BTF (BPF Type Format), and have written a very nice step
"PJ Waskiewicz" <peter.waskiewicz.jr@...> wrote: I noticed that Arnaldo is playing with pahole (see twitter[1]) and converting dwarf into BTF (BPF Type Format), and have written a very nice step
|
By
Jesper Dangaard Brouer
· #1455
·
|
|
bpf_redirect_map not working after tail call
Sebastiano Miano via iovisor-dev <iovisor-dev@...> wrote: Argh, this is likely an issue/bug due to the check xdp_map_invalid(), that was introduced in commit 7c3001313396 ("bpf: fix ri->
Sebastiano Miano via iovisor-dev <iovisor-dev@...> wrote: Argh, this is likely an issue/bug due to the check xdp_map_invalid(), that was introduced in commit 7c3001313396 ("bpf: fix ri->
|
By
Jesper Dangaard Brouer
· #1332
·
|
|
bpftool binary size
(Cc. iovisor-dev list) Jesper Dangaard Brouer <brouer@...> wrote: So, I figured out why this happens. What does bpftool use BFD for? I need the BFD lib and include file: /usr/include/bfd.h. Thu
(Cc. iovisor-dev list) Jesper Dangaard Brouer <brouer@...> wrote: So, I figured out why this happens. What does bpftool use BFD for? I need the BFD lib and include file: /usr/include/bfd.h. Thu
|
By
Jesper Dangaard Brouer
· #1286
·
|
|
Best userspace programming API for XDP features query to kernel?
Daniel Borkmann <daniel@...> wrote: Okay, you want to catch this in dev_ethtool(), that connected the dots for me, thanks. BUT it does feel a little fake and confusing to do this, as the dri
Daniel Borkmann <daniel@...> wrote: Okay, you want to catch this in dev_ethtool(), that connected the dots for me, thanks. BUT it does feel a little fake and confusing to do this, as the dri
|
By
Jesper Dangaard Brouer
· #1282
·
|
|
Best userspace programming API for XDP features query to kernel?
Jakub Kicinski <jakub.kicinski@...> wrote: Let's keep thing separate. I'm requesting something really simple. I want the driver to tell me what XDP actions it supports. We/I can implement an
Jakub Kicinski <jakub.kicinski@...> wrote: Let's keep thing separate. I'm requesting something really simple. I want the driver to tell me what XDP actions it supports. We/I can implement an
|
By
Jesper Dangaard Brouer
· #1278
·
|