SamGinzburg / dpdk-rs

Rust Bindings for DPDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust Bindings for DPDK

Join us on Slack!

This crate provides Rust bindings for DPDK. The following devices are supported:

  • Mellanox ConnextX-3 Pro
  • Mellanox ConnectX-4
  • Mellanox ConnextX-5

This project is a component of Demikernel - a libOS architecture for kernel-bypass devices.

To read more about Demikernel check out https://aka.ms/demikernel.

Building and Running

1. Clone This Repository

export WORKDIR=$HOME                                  # Change this to whatever you want.
cd $WORKDIR                                           # Switch to working directory.
git clone https://github.com/demikernel/dpdk-rs.git   # Clone.

2. Setup Build Environment (Optional)

Set this if DPDK is not installed system wide.

export PKG_CONFIG_PATH=/path/to/dpdk/pkgconfig

3. Build Rust Bindings for DPDK

cd $WORKDIR/dpdk-rs    # Switch to working directory.
cargo build            # Build Rust bindings for DPDK.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Usage Statement

This project is a prototype. As such, we provide no guarantees that it will work and you are assuming any risks with using the code. We welcome comments and feedback. Please send any questions or comments to one of the following maintainers of the project:

By sending feedback, you are consenting that it may be used in the further development of this project.

About

Rust Bindings for DPDK

License:MIT License


Languages

Language:Rust 71.5%Language:Makefile 18.9%Language:C 9.6%