May 24, 2017

BPF updates 04

This is issue 04 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-rc2 was released last week. One usual [GIT] Networking pull request made it in which includes two BPF fixes. See 18th May for the details.

In last week's issue ARM 32-bit was mentioned. As you can see from the patches section an eBPF JIT RFC just got posted recently. Checkout the discussion on the linux-arm-kernel list.

Other interesting news 0day kernel testing bot for BPF selftests. The patches do go through extensive review, but hopefully this catches regressions if any.

Videos

Infrastructure 2017 - Alfonso Acosta - High-performance Linux monitoring with eBPF

Nice talk on BPF and how Weaveworks is leveraging it in scope.

PyCon 2017 - Alex Gartrell - Executing python functions in the linux kernel by transpiling to bpf

Good talk on BPF with a python centric perspective. The walk-through is great and easy to follow.

In case you missed it

BPF Verifier Overview

Interesting read on the verifier. It explains some of the checks performed and why.

Alignment in BPF verifier

Some of this stuff is over my head, but from the reading it looks like we have a new algorithm for alignment checking. The early implementation is in python. While initially on a different topic, the thread on [PATCH v2 1/3] bpf: Use 1<<16 data-preserve-html-node="true" as ceiling for immediate alignment in verifier. is worth reading to get the full context.

An entertaining eBPF XDP adventure

Fun read on the solving a challenge. Starts out with basics and goes into code examples.

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

as I've said to a number of people job hunting in systems engineering: BPF experience is hot and getting hotter

Patches

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

Happy eBPF hacking!

Popular posts

Cilium at KubeCon NA 2022 Wrap Up
Nov 04, 2022

Cilium at KubeCon NA 2022 Wrap Up

Find out the buzz from around the community at KubeCon

Community
Initial impressions of the Cilium Grafana Observability Demo
Oct 30, 2022

Initial impressions of the Cilium Grafana Observability Demo

Learn how to connect Cilium data to Grafana Dashboards

How-To
External
Cilium User Story: Securing 100,000+ RPS in a Multi-Tenant Environment
Oct 13, 2022

Cilium User Story: Securing 100,000+ RPS in a Multi-Tenant Environment

Learn how a publishing platform created a secure multi-tenant environment with Cilium

Community