summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/cfg/simple_cfg.yaml10
-rwxr-xr-xscripts/stl/imix_3pkt.yaml6
2 files changed, 13 insertions, 3 deletions
diff --git a/scripts/cfg/simple_cfg.yaml b/scripts/cfg/simple_cfg.yaml
new file mode 100644
index 00000000..218eb4f3
--- /dev/null
+++ b/scripts/cfg/simple_cfg.yaml
@@ -0,0 +1,10 @@
+- port_limit : 2 # this option can limit the number of port of the platform
+ version : 2
+ interfaces : ["03:00.0","03:00.1"] #the interfaces using ./dpdk_setup_ports.py -s
+ port_info : # set eh mac addr
+ - dest_mac : [1,0x0,0x0,0x1,0x0,0x00] # router mac addr
+ src_mac : [0x2,0x0,0x0,0x2,0x0,0x00] # source mac-addr
+ - dest_mac : [0x3,0x0,0x0,0x3,0x0,0x00] # router mac addr
+ src_mac : [0x4,0x0,0x0,0x4,0x0,0x00] #source mac-addr
+
+
diff --git a/scripts/stl/imix_3pkt.yaml b/scripts/stl/imix_3pkt.yaml
index 5405edb0..74ae41a8 100755
--- a/scripts/stl/imix_3pkt.yaml
+++ b/scripts/stl/imix_3pkt.yaml
@@ -7,7 +7,7 @@
binary: stl/udp_64B_no_crc.pcap # pcap should not include CRC
mode:
type: continuous
- pps: 100
+ pps: 28
rx_stats: []
- name: udp_594B
stream:
@@ -16,7 +16,7 @@
binary: stl/udp_594B_no_crc.pcap # pcap should not include CRC
mode:
type: continuous
- pps: 100
+ pps: 20
rx_stats: []
- name: udp_1518B
stream:
@@ -25,5 +25,5 @@
binary: stl/udp_1518B_no_crc.pcap # pcap should not include CRC
mode:
type: continuous
- pps: 100
+ pps: 4
rx_stats: [] \ No newline at end of file