aboutsummaryrefslogtreecommitdiff
path: root/example/README.DPDK
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2018-11-10 16:10:22 +0100
committerLuca Deri <deri@ntop.org>2018-11-10 16:10:22 +0100
commit71b2c19cf28f72ad2e876719af88c7841c2aea84 (patch)
tree8d5d8c1be904f1b8ff88aaa3adcac0bdcfbbfdff /example/README.DPDK
parent6d929bf4cc48d54db91678a24ef0afb2e20382d7 (diff)
Added DPDK support to ndpiReader
Diffstat (limited to 'example/README.DPDK')
-rw-r--r--example/README.DPDK31
1 files changed, 31 insertions, 0 deletions
diff --git a/example/README.DPDK b/example/README.DPDK
new file mode 100644
index 000000000..472597c3f
--- /dev/null
+++ b/example/README.DPDK
@@ -0,0 +1,31 @@
+Prerequisites
+-------------
+
+You need to install and compile DPDK in your HOME directory as explained in
+See http://core.dpdk.org/doc/quick-start/ for DPDK installation and setup
+
+Once DPDK is built make sure to create a symbolic link
+
+$ cd
+$ ln -s dpdk-18.08 DPDK
+
+so the build process will use the DPDK directory letting you have multiple
+DPDK versions available on your system
+
+
+Build
+-----
+Everything will happen automagically but if you want to do it by hand
+do: make -f Makefile.dpdk
+
+
+Run Application
+---------------
+Supposing to capture packets from device eno1 you can start the
+application as follows:
+
+sudo ./build/ndpiReader -c 1 --vdev=net_pcap0,iface=eno1 -- -v 1
+
+NOTE:
+- ndpiReader without DPDK support sits in this directory
+- ndpiReader with DPDK support can be found inside the ./build directory