NAT: Add performance testing TRex scripts and config (VPP-832)
[vpp.git] / src / plugins / nat / extras / trex_cfg.yaml
diff --git a/src/plugins/nat/extras/trex_cfg.yaml b/src/plugins/nat/extras/trex_cfg.yaml
new file mode 100644 (file)
index 0000000..6fd1ab0
--- /dev/null
@@ -0,0 +1,21 @@
+### Config file generated by dpdk_setup_ports.py ###
+
+- port_limit: 2
+  version: 2
+  interfaces: ['04:00.0', '04:00.1']
+  c: 4
+  port_info:
+      - ip: 172.16.1.2
+        default_gw: 172.16.1.1
+      - ip: 172.16.2.2
+        default_gw: 172.16.2.1
+
+  platform:
+      master_thread_id: 0
+      latency_thread_id: 8
+      dual_if:
+        - socket: 0
+          threads: [1,2,3,4,5,6,7]
+        - socket: 1
+          threads: [9,10,11,12,13,14,15]
+