sebymiano / dpdk-burst-replay

The tool is designed to provide high DPDK performances to burst any pcap dump on a single or multiple NIC port(s)
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

DPDK burst replay tool

Introduction

The tool is designed to provide high DPDK performances to burst any pcap dump on a single or multiple NIC port(s).

To do so, the pcap files will be cached on hugepages before being sent through DPDK.

How to play with it

Install dependencies

NB: libpcap is not required, as dpdk-replay process pcap files manually.

Compiling and installing it

autoreconf -i && ./configure [--enable-debug] && make && sudo make install

OR:

RTE_SDK= make -f DPDK_Makefile && sudo cp build/dpdk-replay /usr/bin

Launching it

dpdk-replay [--nbruns NB] [--numacore 0|1] FILE NIC_ADDR[,NIC_ADDR...]

Example:

dpdk-replay --nbruns 1000 --numacore 0 foobar.pcap 04:00.0,04:00.1,04:00.2,04:00.3

TODO

BSD LICENCE

Copyright 2018 Jonathan Ribas, FraudBuster. All rights reserved.