From 5f20d891379ab711f03f2c3dd547c8e41e5d9352 Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Thu, 18 Feb 2016 15:35:43 +0200 Subject: add write_mask vm instruction --- scripts/stl/yaml/imix_1pkt_vm_minus.yaml | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 scripts/stl/yaml/imix_1pkt_vm_minus.yaml (limited to 'scripts/stl/yaml') diff --git a/scripts/stl/yaml/imix_1pkt_vm_minus.yaml b/scripts/stl/yaml/imix_1pkt_vm_minus.yaml new file mode 100644 index 00000000..bf67c83c --- /dev/null +++ b/scripts/stl/yaml/imix_1pkt_vm_minus.yaml @@ -0,0 +1,33 @@ +### Single stream UDP packet, 64B ### +##################################### +- name: udp_64B + stream: + self_start: True + packet: + pcap: udp_64B_no_crc.pcap # pcap should not include CRC + mode: + type: continuous + pps: 100 + rx_stats: [] + + vm: + instructions: [ + { + "init_value" : 500, + "max_value" : 75000, + "min_value" : 1000, + "name" : "l3_src", + "op" : "inc", + "size" : 2, + "type" : "flow_var" + }, + { + "add_value" : 1, + "is_big_endian" : false, + "name" : "l3_src", + "pkt_offset" : 34, + "type" : "write_flow_var" + } + ] + split_by_var: "l3_src" + -- cgit 1.2.3-korg