Skip to content

Commit 5e476e9

Browse files
authored
Merge pull request #86 from CESNET/dpdk-readme-update
Added DPDK run example
2 parents 0a0ec4a + eff98fa commit 5e476e9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ This application creates biflows from packet input and exports them to output in
1212
- [nemea](http://github.com/CESNET/Nemea-Framework) when compiling with unirec output plugin (`--with-nemea` parameter)
1313
- cloned submodule with googletest framework to enabled optional tests (`--with-gtest` parameter)
1414

15+
To compile DPDK interfaces, make sure you have DPDK libraries (and development files) installed and set the `PKG_CONFIG_PATH` environment variable if necessary. You can obtain the latest DPDK at http://core.dpdk.org/download/ Use `--with-dpdk` parameter of the `configure` script to enable it.
16+
1517
## Build & Installation
1618

1719
### Source codes
@@ -143,6 +145,11 @@ Here are the examples of various plugins usage:
143145
144146
# Read packets from pcap file, enable 4 processing plugins, sends L7 HTTP extended biflows to unirec interface named `http` and data from 3 other plugins to the `stats` interface
145147
./ipfixprobe -i 'pcap;file=pcaps/http.pcap' -p http -p pstats -p idpcontent -p phists -o 'unirec;i=u:http:timeout=WAIT,u:stats:timeout=WAIT;p=http,(pstats,phists,idpcontent)'
148+
149+
# Read packets using DPDK input interface, enable plugins for basic statistics, http and tls, output to IPFIX on a local machine
150+
# Note that parameters for the ipfixprobe application go AFTER the '--'. Parameters before are passed into the DPDK EAL
151+
# The application will run on a core 0 as defined with EAL parameter -c using mask 0x1
152+
For example: `./ipfixprobe -c 0x1 -a "<[domain:]bus:devid.func>" -- -i "dpdk;p=0" -p http "-p" bstats -p tls -o "ipfix;h=127.0.0.1"`, where correct values for `-c` and `-a` must be specified.
146153
```
147154

148155
## Extension

0 commit comments

Comments
 (0)