June 15, 2017

BPF updates 07

This is issue 07 of the regular newsletter around BPF written by Alexander Alemayhu. It summarizes ongoing development, presentations, videos and other information related to BPF and XDP. It is released roughly once a week.

Linux 4.12-rc5 was recently released. No BPF changes where included, but a usual [GIT] Networking pull request was made afterwards. You can see the changes in 15th June.

There were also several other patches to netdev and related lists. Most of them are fixes. The highlights are

  • New program type BPF_PROG_TYPE_SOCKET_OPS is in the works.
  • Reporting XDP program ids via netlink.
  • Improvements to the bpf tests.
  • MIPS eBPF JIT got applied.

In case you missed it

eBPF and systems performance

Short post explaining what eBPF is.

Build issues for samples/bpf/ after rebase or git pull (solved)

One of the not so obvious things when building bpf programs is the headers. If your project is reusing the kernel infrastructure you will need to keep your headers synchronized. This post tells you how.

[iovisor-dev] minutes: IO Visor TSC/Dev Meeting

From the meeting notes, looks like there will some interesting upcoming BPF talks in LA.

XDP Newbies...

Which is a place where people can talk about getting up to speed with setting up an XDP build environment and writing XDP programs.

You can subscribe by sending a email to majordomo@vger.kernel.org, with a message body containing subscribe xdp-newbies. No subject is needed, but you can of course add one if you like.

Random cool note

Merged! @weaveworks' #WeaveScope now uses #eBPF as default for connection info: https://github.com/weaveworks/scope/pull/2535

Background: https://www.weave.works/blog/improving-performance-reliability-weave-scope-ebpf/


Please note that netdev receives a lot of patches and the list above is not meant to be comprehensive.

You can sign up for email notifcations on https://www.cilium.io/learn/

Happy eBPF hacking!