|
Re: XDP Offloading
Take a look at https://github.com/iovisor/bcc/blob/master/docs/kernel-versions.md
It shows the state of various drivers. I don't have links handy, but some drivers offer driver based off-load, and
Take a look at https://github.com/iovisor/bcc/blob/master/docs/kernel-versions.md
It shows the state of various drivers. I don't have links handy, but some drivers offer driver based off-load, and
|
By
Raymond
·
#1589
·
|
|
Re: XDP Offloading
I think not now, because i asked the same question 2-3 months ago i answer was the same.
--
Отправлено из мобильного приложения Яндекс.Почты
I think not now, because i asked the same question 2-3 months ago i answer was the same.
--
Отправлено из мобильного приложения Яндекс.Почты
|
By
Иван Иванов
·
#1588
·
|
|
XDP Offloading
Hi all,
I am wondering except for Netronome Cards if there are any other NICs that support XDP Offloading?
Thank you in advance!
Hi all,
I am wondering except for Netronome Cards if there are any other NICs that support XDP Offloading?
Thank you in advance!
|
By
mdimolianis@...
·
#1587
·
|
|
Re: kretprobe not consistently being triggered for sys_futex calls?
bcc now supports the maxactive kretprobe parameter [1], so if you want to
test whether a higher maxactive value solves the issue you had, it's as
easy as calling BPF.attach_kretprobe with a
bcc now supports the maxactive kretprobe parameter [1], so if you want to
test whether a higher maxactive value solves the issue you had, it's as
easy as calling BPF.attach_kretprobe with a
|
By
Paul Chaignon
·
#1586
·
|
|
Re: add prog id to prog map
map updates, but next xdp prog do not work, so i think i make something wrong or does not understand something
7:48, 21 февраля 2019 г., Jakub Kicinski <jakub.kicinski@...>:
--
map updates, but next xdp prog do not work, so i think i make something wrong or does not understand something
7:48, 21 февраля 2019 г., Jakub Kicinski <jakub.kicinski@...>:
--
|
By
Иван Иванов
·
#1585
·
|
|
Re: add prog id to prog map
Try:
bpftool map pin id $YOUR_ID /sys/fs/bpf/my_map
and see if the prog array updates stick after that.
Try:
bpftool map pin id $YOUR_ID /sys/fs/bpf/my_map
and see if the prog array updates stick after that.
|
By
Jakub Kicinski
·
#1584
·
|
|
Re: add prog id to prog map
I loaded tail call prog with map via ip util, i do not know, if it pin map. But i can see it in list of maps via bpftool map with id
0:31, 21 февраля 2019 г., Jakub Kicinski
I loaded tail call prog with map via ip util, i do not know, if it pin map. But i can see it in list of maps via bpftool map with id
0:31, 21 февраля 2019 г., Jakub Kicinski
|
By
Иван Иванов
·
#1583
·
|
|
minutes: IO Visor TSC/Dev Meeting
Hi All,
Thanks for dialing in to the meeting today. Here are my notes from the
discussion.
Thanks,
Brenden
=== Discussion ===
Alexei:
- Discussion with some kernel devs regarding BPF memory model
Hi All,
Thanks for dialing in to the meeting today. Here are my notes from the
discussion.
Thanks,
Brenden
=== Discussion ===
Alexei:
- Discussion with some kernel devs regarding BPF memory model
|
By
Brenden Blanco
·
#1582
·
|
|
Re: add prog id to prog map
Do you pin the tail call map? If tail call map is not kept open or
pinned it will get flushed by the kernel (latest bpftool will print a
warning about it). sockex3 keeps the fd open, that's why it
Do you pin the tail call map? If tail call map is not kept open or
pinned it will get flushed by the kernel (latest bpftool will print a
warning about it). sockex3 keeps the fd open, that's why it
|
By
Jakub Kicinski
·
#1581
·
|
|
add prog id to prog map
I created prog_map in my kern.o and call bpf_tail_call to it. Loaded with ip link set... Loaded another prog with bpftool. So tried to update map with bpftool woth id of my second progbut it does not
I created prog_map in my kern.o and call bpf_tail_call to it. Loaded with ip link set... Loaded another prog with bpftool. So tried to update map with bpftool woth id of my second progbut it does not
|
By
Иван Иванов
·
#1580
·
|
|
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
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
|
By
Brenden Blanco
·
#1579
·
|
|
Re: changes_in_tcpaccept.py
Hi Brendan,
During additional testing, find bug in my code, caused by padding for IPV6. If my previous changes will be useful for community, i can open PR in github?--
Best Regards,
Seliavka Evgenii
Hi Brendan,
During additional testing, find bug in my code, caused by padding for IPV6. If my previous changes will be useful for community, i can open PR in github?--
Best Regards,
Seliavka Evgenii
|
By
Evgenii Seliavka
·
#1578
·
|
|
Re: kretprobe not consistently being triggered for sys_futex calls?
So I upgraded my kernel version to 5.0.0-rc6, and it seems to consistently work perfectly now, even with a much higher density of futex calls than I was working with before.
I'm still curious what the
So I upgraded my kernel version to 5.0.0-rc6, and it seems to consistently work perfectly now, even with a much higher density of futex calls than I was working with before.
I'm still curious what the
|
By
Ashley <ashley@...>
·
#1577
·
|
|
Re: Atomicity of load and store instructions in eBPF
Thanks Yonghong by the info, to summarize my findings: "BPF memory model is equal to memory model of underlying architecture", cit Alexei [1], then atomicity of those kind of operations can only be
Thanks Yonghong by the info, to summarize my findings: "BPF memory model is equal to memory model of underlying architecture", cit Alexei [1], then atomicity of those kind of operations can only be
|
By
Mauricio Vasquez
·
#1576
·
|
|
Re: kretprobe not consistently being triggered for sys_futex calls?
> What's the source code of that kernel module?
I adapted code from an example in a repository Spotify have, which is here:
> What's the source code of that kernel module?
I adapted code from an example in a repository Spotify have, which is here:
|
By
Ashley <ashley@...>
·
#1575
·
|
|
Re: Atomicity of load and store instructions in eBPF
<mauricio.vasquez@...> wrote:
There are some memory model discussion in the netdev mailing list.
I think this shows bpf memory model is really tied to underlying arch indeed.
Some kinds of lock
<mauricio.vasquez@...> wrote:
There are some memory model discussion in the netdev mailing list.
I think this shows bpf memory model is really tied to underlying arch indeed.
Some kinds of lock
|
By
Yonghong Song
·
#1574
·
|
|
Re: kretprobe not consistently being triggered for sys_futex calls?
What's the source code of that kernel module?
Weird, I have the same problem you have for sys_futex if I adapt the
script to track sys_write instead...
I'm thinking it could be caused by a
What's the source code of that kernel module?
Weird, I have the same problem you have for sys_futex if I adapt the
script to track sys_write instead...
I'm thinking it could be caused by a
|
By
Paul Chaignon
·
#1573
·
|
|
Re: Atomicity of load and store instructions in eBPF
Exactly.
Please consider this example based on BCC https://gist.github.com/mauriciovasquezbernal/73ade7609eadcf23fb254401ed945cb3. In this case the counter member is naturally aligned, so in x86_64
Exactly.
Please consider this example based on BCC https://gist.github.com/mauriciovasquezbernal/73ade7609eadcf23fb254401ed945cb3. In this case the counter member is naturally aligned, so in x86_64
|
By
Mauricio Vasquez
·
#1572
·
|
|
Re: changes_in_tcpaccept.py
Hi Brendan,
Thank you for your response. Please find regenerated patch in attachment. Besides that i tried to minimize scope of the changes.--
Best Regards,
Seliavka Evgenii
Hi Brendan,
Thank you for your response. Please find regenerated patch in attachment. Besides that i tried to minimize scope of the changes.--
Best Regards,
Seliavka Evgenii
|
By
Evgenii Seliavka
·
#1571
·
|
|
Re: kretprobe not consistently being triggered for sys_futex calls?
Hi Ashley,
Could it be that you're reaching the maxactive bound and thus some probes
are missed? From the kprobes documentation [1]:
While the probed function is executing, its return address is
Hi Ashley,
Could it be that you're reaching the maxactive bound and thus some probes
are missed? From the kprobes documentation [1]:
While the probed function is executing, its return address is
|
By
Paul Chaignon
·
#1570
·
|