forked from sckevmit/vrouter-pktgen-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dpdkgen.cfg
37 lines (30 loc) · 934 Bytes
/
dpdkgen.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
##
## DPDK Packet Generator Configuration File
## Copyright (c) 2015 Semihalf. All rights reserved.
##
#################################################################
## DIRECTORIES
# Pktgen-DPDK base directory
PKTGEN_DIR="${HOME}/Pktgen-DPDK"
# HugeTLBfs mount point
TLBFS_DIR="/mnt/huge"
#################################################################
## INTERFACE
# NIC Linux interfaces to bind
VM_IF="eth0"
DEF_SRC_IP="10.0.2.15"
DEF_SRC_MASK="255.255.255.0"
DEF_SRC_MAC="00:00:00:00:00:01"
DEF_DST_MAC="00:00:00:00:00:02"
#################################################################
## OTHER
# Number of HugePages
NB_HUGEPAGES=512
# Pktgen Vars
PKTGEN_SDK="${PKTGEN_DIR}/dpdk"
PKTGEN_TARGET="x86_64-native-linuxapp-gcc"
PKTGEN="${PKTGEN_DIR}/app/app/${PKTGEN_TARGET}/pktgen"
# L2fwd example DPDK application
L2FWD="${PKTGEN_SDK}/examples/l2fwd/build/l2fwd"
# Bind Tool
BIND="${PKTGEN_SDK}/tools/dpdk_nic_bind.py"