Code Review
/
samplevnf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed compilation issue on dpdk 19.08 (and more recent)
[samplevnf.git]
/
VNFs
/
DPPD-PROX
/
helper-scripts
/
rapid
/
impair.cfg
diff --git
a/VNFs/DPPD-PROX/helper-scripts/rapid/impair.cfg
b/VNFs/DPPD-PROX/helper-scripts/rapid/impair.cfg
index
16b6ac9
..
d9d8628
100644
(file)
--- a/
VNFs/DPPD-PROX/helper-scripts/rapid/impair.cfg
+++ b/
VNFs/DPPD-PROX/helper-scripts/rapid/impair.cfg
@@
-14,12
+14,13
@@
;; limitations under the License.
;;
;; limitations under the License.
;;
+[lua]
+dofile("parameters.lua")
+
[eal options]
-n=4 ; force number of memory channels
no-output=no ; disable DPDK debug output
[eal options]
-n=4 ; force number of memory channels
no-output=no ; disable DPDK debug output
-
-[lua]
-dofile("parameters.lua")
+eal=--proc-type auto ${eal}
[port 0]
name=if0
[port 0]
name=if0
@@
-27,6
+28,8
@@
mac=hardware
rx desc=2048
tx desc=2048
vlan=yes
rx desc=2048
tx desc=2048
vlan=yes
+vdev=impair_tap
+local ipv4=${local_ip1}
[defaults]
[defaults]
@@
-38,7
+41,7
@@
name=${name}
[core 0]
mode=master
[core 0]
mode=master
-[core $
impair
cores]
+[core $cores]
name=impair
task=0
mode=impair
name=impair
task=0
mode=impair
@@
-47,4
+50,3
@@
rx port=if0
tx port=if0
delay us=1000
probability=100
tx port=if0
delay us=1000
probability=100
-local ipv4=${local_ip}