Support dataplane subnet mask & latency histogram
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / swap.cfg
index 02300f8..0cca80c 100644 (file)
@@ -1,5 +1,5 @@
 ;;
-;; Copyright (c) 2010-2017 Intel Corporation
+;; Copyright (c) 2010-2019 Intel Corporation
 ;;
 ;; Licensed under the Apache License, Version 2.0 (the "License");
 ;; you may not use this file except in compliance with 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
-
-[lua]
-dofile("parameters.lua")
+eal=--proc-type auto ${eal}
 
 [port 0]
 name=if0
 mac=hardware
 vlan=yes
+vdev=swap_tap
+local ipv4=${local_ip1}
 
 [defaults]
-mempool size=2K
+mempool size=8K
 
 [global]
 name=${name}
@@ -35,13 +38,12 @@ name=${name}
 [core 0]
 mode=master
 
-[core $swapcores]
+[core $cores]
 name=swap
 task=0
 mode=swap
 sub mode=l3
 rx port=if0
 tx port=if0
-local ipv4=${local_ip}
 drop=no
 ;arp update time=1