Skip to content

IfanTsai/oceanus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oceanus GitHub

oceanus is a userspace TCP/IP stack based on dpdk.

Quick Start

build DPDK

wget http://fast.dpdk.org/rel/dpdk-19.11.12.tar.xz
tar xvf dpdk-19.11.12.tar.xz
cd dpdk-stable-19.11.12
meson build
ninja -C build
cd build && sudo ninja install

set DPDK lib path

sudo echo "/usr/local/lib/x86_64-linux-gnu" >> /etc/ld.so.conf
sudo ldconfig

bind network interface

cd ..   # go back dpdk-stable-19.11.12
sudo modprobe uio_pci_generic
sudo insmod build/kernel/linux/igb_uio/igb_uio.ko
sudo insmod build/kernel/linux/kni/rte_kni.ko
sudo ifconfig eth0 down
sudo ./usertools/dpdk-devbind.py --bind=igb_uio eth0

run oceanus

git clone [email protected]:IfanTsai/oceanus.git
# open src/oceanus.c to modify IP
cd oceanus/app && make -j4  # cd oceanus && make so && cd app && make
sudo make run

About

🌊 A userspace TCP/IP stack based on dpdk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published