|
Simple bpf_map reader prog
3 messages
Can you give link or some code to understand, how can i get data from maps in c. I saw example, but as i begginer in such programming, i can understand map_fd, obj...etc. I create xdp prog, inserted i
Can you give link or some code to understand, how can i get data from maps in c. I saw example, but as i begginer in such programming, i can understand map_fd, obj...etc. I create xdp prog, inserted i
|
By
Иван Иванов
·
|
|
Xdpoffload list avaliable devices
2 messages
Yes currently i believe only Netronome NFP based Agilio CX NICs support xdpoffload.
Yes currently i believe only Netronome NFP based Agilio CX NICs support xdpoffload.
|
By
Иван Иванов
·
|
|
Unexpectedly high latencies are showed by self-written script (bpf_ktime_get_ns issue?)
4 messages
Hi, everyone! I've written a small script using bcc python lib for qemu block io latency tracing. I attach two uprobes to block_acct_start and block_acct_done. On some servers i can see unexpectedly h
Hi, everyone! I've written a small script using bcc python lib for qemu block io latency tracing. I attach two uprobes to block_acct_start and block_acct_done. On some servers i can see unexpectedly h
|
By
Aleksei Zakharov
·
|
|
question about per_cpu maps
4 messages
Dear eBPF community If I understand correctly, per_cpu maps are meant to avoid threading issues, and for example the need to call BPF_XADD to keep counters safe. There is something I am unclear about:
Dear eBPF community If I understand correctly, per_cpu maps are meant to avoid threading issues, and for example the need to call BPF_XADD to keep counters safe. There is something I am unclear about:
|
By
Pablo Alvarez
·
|
|
[PATCHv3 RFC 2/3] tests: add AF_XDP netdev test cases.
The patch adds the test framework for OVS using afxdp. Most of the test cases are slightly modified from the existing test cases at system-traffic.at. All the veth creations, ADD_VETH, are replaced by
The patch adds the test framework for OVS using afxdp. Most of the test cases are slightly modified from the existing test cases at system-traffic.at. All the veth creations, ADD_VETH, are replaced by
|
By
William Tu
·
|
|
[PATCHv3 RFC 3/3] FIXME: work around the failed cases.
There are still two issues causing some test cases failed. This patch provides an work-around. Signed-off-by: William Tu <u9012063@...> --- lib/dpif-netdev.c | 2 +- tests/system-afxdp-macros.at | 2 ++
There are still two issues causing some test cases failed. This patch provides an work-around. Signed-off-by: William Tu <u9012063@...> --- lib/dpif-netdev.c | 2 +- tests/system-afxdp-macros.at | 2 ++
|
By
William Tu
·
|
|
[PATCHv3 RFC 1/3] netdev-afxdp: add new netdev type for AF_XDP
The patch creates a new netdev type called "afxdp" and re-uses some of the AF_XDP API implementation from xdpsock_user.c at linux sample code. By default, it binds a device's queue 0 and uses the gene
The patch creates a new netdev type called "afxdp" and re-uses some of the AF_XDP API implementation from xdpsock_user.c at linux sample code. By default, it binds a device's queue 0 and uses the gene
|
By
William Tu
·
|
|
[PATCHv3 RFC 0/3] AF_XDP netdev support for OVS
The patch series introduces AF_XDP support for OVS netdev. AF_XDP is a new address family working together with eBPF. In short, a socket with AF_XDP family can receive and send packets from an eBPF/XD
The patch series introduces AF_XDP support for OVS netdev. AF_XDP is a new address family working together with eBPF. In short, a socket with AF_XDP family can receive and send packets from an eBPF/XD
|
By
William Tu
·
|
|
minutes: IO Visor TSC/Dev Meeting
Thanks all for joining in to the call today. As usual, here are my notes. === Discussion === Jiong: Continuing work on jmp32 - some work on verifier side - needs to work on test support - new test mod
Thanks all for joining in to the call today. As usual, here are my notes. === Discussion === Jiong: Continuing work on jmp32 - some work on verifier side - needs to work on test support - new test mod
|
By
Brenden Blanco
·
|
|
Recommended LLVM version for bcc 0.7.0
2 messages
Hi, Is there a particular version of LLVM that is recommended to use with bcc 0.7.0? Thanks, Tom
Hi, Is there a particular version of LLVM that is recommended to use with bcc 0.7.0? Thanks, Tom
|
By
Tom Stellard
·
|
|
reminder: IO Visor TSC/Dev Meeting
Please join us tomorrow for our bi-weekly call. As usual, this meeting is open to everybody and completely optional. You might be interested to join if: You want to know what is going on in BPF land Y
Please join us tomorrow for our bi-weekly call. As usual, this meeting is open to everybody and completely optional. You might be interested to join if: You want to know what is going on in BPF land Y
|
By
Brenden Blanco
·
|
|
eBPF TC for adjusting the packet length
2 messages
Hi, Can anyone suggest a way to adjust the packet length(for example to strip off the payload and have only headers) using eBPF TC program? Thanks, Kanthi
Hi, Can anyone suggest a way to adjust the packet length(for example to strip off the payload and have only headers) using eBPF TC program? Thanks, Kanthi
|
By
Kanthi P
·
|
|
[RFC 0/2] tools: Add shmsnoop/sofdsnoop tools
2 messages
hi, this is RFC patchset on 2 tools that our customer wants and perhaps would like to see them upstream. The sofdsnoop traces FDs passed through unix sockets: # ./sofdsnoop ACTION TID COMM SOCKET FD N
hi, this is RFC patchset on 2 tools that our customer wants and perhaps would like to see them upstream. The sofdsnoop traces FDs passed through unix sockets: # ./sofdsnoop ACTION TID COMM SOCKET FD N
|
By
Jiri Olsa
·
|
|
Plans for libbpf packaging for distros?
5 messages
Hi Jakub, Laura and Jiri Olsa (Cc others), Subj: iovisor-dev] minutes: IO Visor TSC/Dev Meeting (To: iovisor-dev <iovisor-dev@...>) On Wed, 31 Oct 2018 14:30:25 -0700 "Brenden Blanco" <bblanco@...> wr
Hi Jakub, Laura and Jiri Olsa (Cc others), Subj: iovisor-dev] minutes: IO Visor TSC/Dev Meeting (To: iovisor-dev <iovisor-dev@...>) On Wed, 31 Oct 2018 14:30:25 -0700 "Brenden Blanco" <bblanco@...> wr
|
By
Jesper Dangaard Brouer
·
|
|
[PATCH] BPF: helpers: New helper bpf_get_current_pidns_info to obtain namespace data from current task.
8 messages
This helper obtains the active namespace from current and returns pid, tgid, device major/minor and namespace id as seen from that ns, allowing to do pid filtering inside a container. Major and minor
This helper obtains the active namespace from current and returns pid, tgid, device major/minor and namespace id as seen from that ns, allowing to do pid filtering inside a container. Major and minor
|
By
neirac
·
|
|
[RFC/PATCH 2/2] tools: Add sofdsnoop to spy on fds passed through socket
The sofdsnoop traces FDs passed through unix sockets. # ./sofdsnoop ACTION TID COMM SOCKET FD NAME SEND 2576 Web Content 24:socket:[39763] 51 /dev/shm/org.mozilla.ipc.2576.23874 RECV 2576 Web Content
The sofdsnoop traces FDs passed through unix sockets. # ./sofdsnoop ACTION TID COMM SOCKET FD NAME SEND 2576 Web Content 24:socket:[39763] 51 /dev/shm/org.mozilla.ipc.2576.23874 RECV 2576 Web Content
|
By
Jiri Olsa
·
|
|
[RFC/PATCH 1/2] tools: Add shmsnoop to spy on shm* syscalls
Adding shmsnoop tool to trace System V shared memory syscalls: shmget, shmat, shmdt, shmctl # ./shmsnoop.py PID COMM SYS RET ARGs 19813 server SHMGET 10000 key: 0x78020001, size: 20, shmflg: 0x3b6 (IP
Adding shmsnoop tool to trace System V shared memory syscalls: shmget, shmat, shmdt, shmctl # ./shmsnoop.py PID COMM SYS RET ARGs 19813 server SHMGET 10000 key: 0x78020001, size: 20, shmflg: 0x3b6 (IP
|
By
Jiri Olsa
·
|
|
minutes: IO Visor TSC/Dev Meeting
Hi All, Thanks for joining in to the discussion today. Below are my notes from the call. Hope everyone is looking forward to good discussions at the LPC BPF track in Vancouver in two weeks! Since that
Hi All, Thanks for joining in to the discussion today. Below are my notes from the call. Hope everyone is looking forward to good discussions at the LPC BPF track in Vancouver in two weeks! Since that
|
By
Brenden Blanco
·
|
|
Loader complexity
5 messages
I was on the IOVisor call, there was discussion of making the loader more complicated (perf stuff) and work on libbpf to support this. Does this refer to doing the relocations etc in the ELF file? We
I was on the IOVisor call, there was discussion of making the loader more complicated (perf stuff) and work on libbpf to support this. Does this refer to doing the relocations etc in the ELF file? We
|
By
Dan Siemon
·
|
|
reminder: IO Visor TSC/Dev Meeting
Please join us tomorrow for our bi-weekly call. As usual, this meeting is open to everybody and completely optional. You might be interested to join if: You want to know what is going on in BPF land Y
Please join us tomorrow for our bi-weekly call. As usual, this meeting is open to everybody and completely optional. You might be interested to join if: You want to know what is going on in BPF land Y
|
By
Brenden Blanco
·
|