Skip to content

zhanglin496/bpf-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XDP Demo Apps

Testing XDP, on software and on hardware

This repository contains eBPF XDP demo applications.

Most demos can be run on XDP compatible drivers or hardware. Each subdirectory provides instructions for loading the programs in “driver” and/or in “offload” mode. “Driver mode” loads the XDP program into the kernel where the processing is carried out by the host CPU, whilst “offloaded XDP” allows for the program to be run on hardware, such as with the Netronome Agilio® CX SmartNIC.

To enable XDP offload on a Agilio CX, please refer to Netronome eBPF user guides.

List of available demos

The sources for each demo are located in a specific subdirectory.

Application Kernel Required
Layer 4 Load Balancer 4.17
Programmable RSS 4.18
xdpdump 4.18

The tools directory does not actually contain tools for end users, but gathers various libraries and kernel files coming from the kernel tree and required for compiling the samples.

Notes

  • These applications are prototypes and are not suitable for production use.

About

Sample BPF offload apps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published