From 97cd0c4748938c783fc07ee2eb3450a851d3d93e Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Sun, 6 Dec 2015 17:13:12 +0200 Subject: add simple configuration file --- scripts/cfg/simple_cfg.yaml | 10 ++++++++++ scripts/stl/imix_3pkt.yaml | 6 +++--- 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 scripts/cfg/simple_cfg.yaml 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 -- cgit 1.2.3-korg