|
Re: A slightly different use of the BCC tools
You can also use objcopy:
objcopy -I elf64-little -O binary -j.text foo.elf foo.bin
The output file will contain just the eBPF instructions.
You can also use objcopy:
objcopy -I elf64-little -O binary -j.text foo.elf foo.bin
The output file will contain just the eBPF instructions.
|
By
Rich Lane <rich.lane@...>
·
#81
·
|
|
reminder: IO Visor TSC and Dev Members Call
Hi,
Please feel free to join us today at 11am PST (1900 UTC) for another
round of IOVisor developer updates and
Hi,
Please feel free to join us today at 11am PST (1900 UTC) for another
round of IOVisor developer updates and
|
By
Brenden Blanco <bblanco@...>
·
#82
·
|
|
Re: [diamon-discuss] Diamon Meeting on Tuesday February 9th, 2016, at 11h EDT (15h UTC)
<mathieu.desnoyers@...> wrote:
yep :)
please cc iovisor-dev as well for ideas you guys have around
making use of bpf kernel bits with 'latency-tracker'.
<mathieu.desnoyers@...> wrote:
yep :)
please cc iovisor-dev as well for ideas you guys have around
making use of bpf kernel bits with 'latency-tracker'.
|
By
Alexei Starovoitov
·
#83
·
|
|
unknown func 13
Hi All,
I'm doing my version of hello world for eBPF by forwarding eth frames between two nics - eth1 and eth3 on my machine. Using bpf_clone_redirect(). (cc/export/helpers.h says bpf_redirect is
Hi All,
I'm doing my version of hello world for eBPF by forwarding eth frames between two nics - eth1 and eth3 on my machine. Using bpf_clone_redirect(). (cc/export/helpers.h says bpf_redirect is
|
By
O Mahony, Billy <billy.o.mahony@...>
·
#84
·
|
|
Re: unknown func 13
You need to use BPF.SCHED_ACT or SCHED_CLS to use these forwarding functions. They are disallowed by the verifier for SOCKET_FILTER programs. The simplest usage (focus on the pyroute2 bits) is
You need to use BPF.SCHED_ACT or SCHED_CLS to use these forwarding functions. They are disallowed by the verifier for SOCKET_FILTER programs. The simplest usage (focus on the pyroute2 bits) is
|
By
Brenden Blanco <bblanco@...>
·
#85
·
|
|
reminder: IO Visor TSC and Dev Members Call
Hi,
Please feel free to join us tomorrow at 11am PST (1900 UTC) for another
round of IOVisor developer updates and discussions.
Special on the agenda this week is a half hour or so discussion led by
Hi,
Please feel free to join us tomorrow at 11am PST (1900 UTC) for another
round of IOVisor developer updates and discussions.
Special on the agenda this week is a half hour or so discussion led by
|
By
Brenden Blanco <bblanco@...>
·
#86
·
|
|
Re: reminder: IO Visor TSC and Dev Members Call
Sorry interested but it keeps scheduled on top of other meetings I can’t step out of
Thx
Uri (“Oo-Ree”)
C: 949-378-7568
From: Brenden Blanco [mailto:bblanco@...]
Sent: Tuesday,
Sorry interested but it keeps scheduled on top of other meetings I can’t step out of
Thx
Uri (“Oo-Ree”)
C: 949-378-7568
From: Brenden Blanco [mailto:bblanco@...]
Sent: Tuesday,
|
By
Uri Elzur
·
#87
·
|
|
Re: unknown func 13
Hi Brendan,
Thanks, that’s great. I’ll have a look at that example you mention too.
Whereabouts in the code should I look to see which functions are allowable in which bpf program types?
Hi Brendan,
Thanks, that’s great. I’ll have a look at that example you mention too.
Whereabouts in the code should I look to see which functions are allowable in which bpf program types?
|
By
O Mahony, Billy <billy.o.mahony@...>
·
#88
·
|
|
Re: unknown func 13
The best source of truth is in the kernel code.
The whitelist of functions for networking is:
net/core/filter.c:
sk_filter_func_proto()
tc_cls_act_func_proto()
other whitelists are available around
The best source of truth is in the kernel code.
The whitelist of functions for networking is:
net/core/filter.c:
sk_filter_func_proto()
tc_cls_act_func_proto()
other whitelists are available around
|
By
Brenden Blanco <bblanco@...>
·
#89
·
|
|
minutes: IO VIsor TSC and Dev members call
Thanks all for joining today,
We had a very interesting session focused entirely on XDP (express data path), a new initiative to improve packet processing performance in the linux kernel. The details
Thanks all for joining today,
We had a very interesting session focused entirely on XDP (express data path), a new initiative to improve packet processing performance in the linux kernel. The details
|
By
Brenden Blanco <bblanco@...>
·
#90
·
|
|
Re: minutes: IO VIsor TSC and Dev members call
Brenden Blanco <bblanco@...> wrote:
I'm doing my usual benchmark driven development. Which means I'm
currently benchmarking the lowest RX layer of the drivers and just
dropping packets
Brenden Blanco <bblanco@...> wrote:
I'm doing my usual benchmark driven development. Which means I'm
currently benchmarking the lowest RX layer of the drivers and just
dropping packets
|
By
Jesper Dangaard Brouer
·
#91
·
|
|
Re: unknown func 13
Hi Brendan,
After looking at the xlate tests, I *think* have managed to get my bpf programs attached to my NICS (or rather attached to a qdisc attached to my NICS - as I now understand it).
Hi Brendan,
After looking at the xlate tests, I *think* have managed to get my bpf programs attached to my NICS (or rather attached to a qdisc attached to my NICS - as I now understand it).
|
By
O Mahony, Billy <billy.o.mahony@...>
·
#92
·
|
|
Re: minutes: IO VIsor TSC and Dev members call
<iovisor-dev@...> wrote:
awesome. that's a great baseline.
I think the next step here is to make mlx4 to recycle
pages and rx descriptors on its own. Later we can generalize it
into
<iovisor-dev@...> wrote:
awesome. that's a great baseline.
I think the next step here is to make mlx4 to recycle
pages and rx descriptors on its own. Later we can generalize it
into
|
By
Alexei Starovoitov
·
#93
·
|
|
Re: unknown func 13
I will heartily acknowledge that the mechanism to attach bpf programs to an interface is non-intuitive. This has been a source of pain for many. The code in https://github.com/iovisor/iomodules is an
I will heartily acknowledge that the mechanism to attach bpf programs to an interface is non-intuitive. This has been a source of pain for many. The code in https://github.com/iovisor/iomodules is an
|
By
Brenden Blanco <bblanco@...>
·
#94
·
|
|
Re: unknown func 13
On 03/03/2016 08:19 PM, Brenden Blanco via iovisor-dev wrote:
[...]
> On Thu, Mar 3, 2016 at 5:52 AM, O Mahony, Billy <billy.o.mahony@...>
[...]
>> #add a filter to accept all eth frame.
On 03/03/2016 08:19 PM, Brenden Blanco via iovisor-dev wrote:
[...]
> On Thu, Mar 3, 2016 at 5:52 AM, O Mahony, Billy <billy.o.mahony@...>
[...]
>> #add a filter to accept all eth frame.
|
By
Daniel Borkmann
·
#95
·
|
|
Re: minutes: IO VIsor TSC and Dev members call
Alexei Starovoitov <alexei.starovoitov@...> wrote:
Yes, but we might as well start up with making the allocator hacks in
mlx4 more generic, when adding recycle. But still keep them locally
Alexei Starovoitov <alexei.starovoitov@...> wrote:
Yes, but we might as well start up with making the allocator hacks in
mlx4 more generic, when adding recycle. But still keep them locally
|
By
Jesper Dangaard Brouer
·
#96
·
|
|
Re: unknown func 13
Speaking of which, I just opened https://github.com/svinota/pyroute2/pull/223 to add support in pyroute2 upstream. The docstring in that pull request shows an example usage, which I'll also add to a
Speaking of which, I just opened https://github.com/svinota/pyroute2/pull/223 to add support in pyroute2 upstream. The docstring in that pull request shows an example usage, which I'll also add to a
|
By
Brenden Blanco <bblanco@...>
·
#97
·
|
|
Re: unknown func 13
That's awesome, thanks Brenden!
That's awesome, thanks Brenden!
|
By
Daniel Borkmann
·
#98
·
|
|
Re: minutes: IO VIsor TSC and Dev members call
If you are looking at this you might want to check out what we have
today or perhaps your already aware of it.
For steering flows to specific queues we have ethtool interface and
soon 'tc' will
If you are looking at this you might want to check out what we have
today or perhaps your already aware of it.
For steering flows to specific queues we have ethtool interface and
soon 'tc' will
|
By
John Fastabend
·
#99
·
|
|
Re: minutes: IO VIsor TSC and Dev members call
As promised, the slides are now available here:
https://github.com/iovisor/bpf-docs/blob/master/Express_Data_Path.pdf
As promised, the slides are now available here:
https://github.com/iovisor/bpf-docs/blob/master/Express_Data_Path.pdf
|
By
Brenden Blanco <bblanco@...>
·
#100
·
|