May 18, 2017

BPF updates 03

This is issue 03 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.


The Linux kernel merge window closed up last week and v4.12-rc1 was released. One usual [GIT] Networking pull request was sent before the rc and one the day after. The are some BPF related fixes, see dates for all the highlights

More interesting topics

In case you missed it

A lot of good content showed up this week. Check them all out below

bpf.h and you...

Great walk-through on writing a eBPF program. Starts from the header includes to the main bits.

eBPF, part 2: Syscall and Map Types

Overview of bpf(2) with sections on the commands and map types. Also nice to see links to the various upstream commits.

Monitoring the Control Plane

Interesting read on capturing routing information with BPF.

Contextually speaking...

Provides descriptions on the BPF program types and walkthrough some of them with a example at the end.

Elf Hello World Tutorial

Useful for understanding how loaders (iproute2, etc) parse BPF ELF file.

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

Debugging #eBPF: there is now an IDA processor available on GitHub.

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