|
Re: unknown func 13
By
O Mahony, Billy <billy.o.mahony@...>
·
#107
·
|
|
Re: unknown func 13
Both the pyroute2 and go netlink pull requests have merged, so both
clsact and direct-action mode are supported as far as bcc is
concerned. Billy mentioned that he wanted to stay on 4.4 kernel
Both the pyroute2 and go netlink pull requests have merged, so both
clsact and direct-action mode are supported as far as bcc is
concerned. Billy mentioned that he wanted to stay on 4.4 kernel
|
By
Brenden Blanco <bblanco@...>
·
#106
·
|
|
Re: unknown func 13
If in terms of tc "overhead" you mean first going through this fake u32 match-all
classifier, then, as suggested, you can simply use cls_bpf with direct action
mode. Check out the
If in terms of tc "overhead" you mean first going through this fake u32 match-all
classifier, then, as suggested, you can simply use cls_bpf with direct action
mode. Check out the
|
By
Daniel Borkmann
·
#105
·
|
|
Re: unknown func 13
<billy.o.mahony@...> wrote:
Nice!
That seems contrary to my own expectations. TC is closer to the metal
than SOCKET_FILTER, the ingress qdisc should already be lightweight
(lockless for
<billy.o.mahony@...> wrote:
Nice!
That seems contrary to my own expectations. TC is closer to the metal
than SOCKET_FILTER, the ingress qdisc should already be lightweight
(lockless for
|
By
Brenden Blanco <bblanco@...>
·
#104
·
|
|
Re: unknown func 13
Hi Brendan,
Hurrah! I have packets traversing my interfaces via eBPF.
Thanks for all your help.
As I said at one of the iovisor calls I planned to run some basic throughput tests and share the
Hi Brendan,
Hurrah! I have packets traversing my interfaces via eBPF.
Thanks for all your help.
As I said at one of the iovisor calls I planned to run some basic throughput tests and share the
|
By
O Mahony, Billy <billy.o.mahony@...>
·
#103
·
|
|
Re: unknown func 13
<billy.o.mahony@...> wrote:
That's fine, it'll still work.
Probably arp is failing, your generator is probably doing nothing
because it can't resolve the other side.
Is your iproute2 up to
<billy.o.mahony@...> wrote:
That's fine, it'll still work.
Probably arp is failing, your generator is probably doing nothing
because it can't resolve the other side.
Is your iproute2 up to
|
By
Brenden Blanco <bblanco@...>
·
#102
·
|
|
Re: unknown func 13
Hi Daniel, Brendan,
Thanks for the tips. Unless what I'm trying to do just won't work I'll stick with kernel 4.4 and the ingress qdisc for now.
So I changed my bpf programs to look like this:
6
Hi Daniel, Brendan,
Thanks for the tips. Unless what I'm trying to do just won't work I'll stick with kernel 4.4 and the ingress qdisc for now.
So I changed my bpf programs to look like this:
6
|
By
O Mahony, Billy <billy.o.mahony@...>
·
#101
·
|
|
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
·
|
|
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: unknown func 13
That's awesome, thanks Brenden!
That's awesome, thanks Brenden!
|
By
Daniel Borkmann
·
#98
·
|
|
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: 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
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: 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: 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
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
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
·
|
|
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: 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
·
|
|
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
·
|