GithubHelp home page GithubHelp logo

hushi55 / bpf-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhanglin496/bpf-samples

0.0 2.0 0.0 472 KB

Sample BPF offload apps.

License: Other

C++ 12.45% C 68.67% Makefile 6.62% Python 12.26%

bpf-samples's Introduction

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

libbpf

The libbpf directory is a git submodule and contains libraries required for compiling the samples. To obtain the submodule content, the following git clone command is required:

git clone --recurse-submodules https://github.com/Netronome/bpf-samples.git

Notes

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

bpf-samples's People

Contributors

dcbeckett avatar qmonnet avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.