Skip to content

simonhf/dpdk-rumptcpip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP/IP stack for DPDK

The hypercall driver in this repository attaches a userspace rump kernel TCP/IP stack to a network interface card accessed via the Intel Data Plane Development Kit DPDK.

in rough diagram form:

------------------------------
|    application process     |
||--------------------------||
|| rump kernel (TCP/IP etc.)||
||--------------------------||
|| dpdk-rumptcpip (dpdkif)  ||
||--------------------------||
|| DPDK                     ||
|----------------------------|
-----------------------------|

Status

The driver has been tested to work and is able to exchange TCP traffic with an Internet peer. Testing has been done at least with DPDK versions 1.2, 1.3 and 1.4.

Future plans include benchmarking, performance optimization, and improved configurability.

A wiki page documents some ideas for potential performance optimizations.

Instructions

To use, in addition to a working DPDK installation you need the rump kernel TCP/IP stack components. The easiest way to obtain the rump kernel components is to use the buildrump.sh submodule, as instructed below.

The procedure is follows:

  • git submodule update --init
  • buildrump.sh/buildrump.sh -s rumpsrc -T rumptools
  • in src/libdpdkif of this repo, edit the parameters at the top of rumpcomp_user.c, e.g. the interface port to be used.
  • still in src/libdpdkif: ../../rumptools/rumpmake dependall && ../../rumptools/rumpmake install.

You can now link and use the DPDK interface driver (librumpnet_dpdkif) into applications.

For more information on how to use the resulting userspace TCP/IP stack, see e.g. the buildrump.sh repo or the page on rump kernels.

Support

For free support, please use the public issue tracker offered by GitHub.

If you need commercial support e.g. for development or integration, contact Antti Kantee [email protected] (Fixup Software Ltd.)

About

TCP/IP stack for DPDK; uses rump kernels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published