Coder Social home page Coder Social logo

vale-bpf's Introduction

Notice

This repository won't be updated until generic-ebpf become stable.

VALE BPF Extension Module

VALE-BPF module is an extension of VALE software switch.

This module makes VALE possible to program with eBPF. It uses generic-ebpf as a backend eBPF system. It may works on the platform which both of generic-ebpf and netmap are supported.

Requirements

Installation

Assume you already installed netmap and generic-ebpf on your system. Please see the documentation of them for more details.

Create VALE

Create switch named vale0 and attach two interfaces

# vale-ctl -n vi0 //interface 0
# vale-ctl -n vi1 //interface 1
# vale-ctl -a vale0:vi0 //attach interface 0 to vale0
# vale-ctl -a vale0:vi1 //attach interface 1 to vale0

Install vale-bpf

$ make
# make load

Loading eBPF program

Now module is loaded to vale0. However, eBPF program is not yet loaded. You need to load eBPF program. Below is an example of running sample application.

$ cd benchmark/vale-bpf/l2_bridge
# ./l2_bridge_loader -v vale0

vale-bpf's People

Contributors

yutarohayakawa 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.