Fixed compilation issue on dpdk 19.08 (and more recent)
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / impair.cfg
index 16b6ac9..d9d8628 100644 (file)
 ;; limitations under the License.
 ;;
 
+[lua]
+dofile("parameters.lua")
+
 [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
@@ -27,6 +28,8 @@ mac=hardware
 rx desc=2048
 tx desc=2048
 vlan=yes
+vdev=impair_tap
+local ipv4=${local_ip1}
 
 
 [defaults]
@@ -38,7 +41,7 @@ name=${name}
 [core 0]
 mode=master
 
-[core $impaircores]
+[core $cores]
 name=impair
 task=0
 mode=impair
@@ -47,4 +50,3 @@ rx port=if0
 tx port=if0
 delay us=1000
 probability=100
-local ipv4=${local_ip}