From c50cad952cb1d81925aa41f374966c3ddd8354cd Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Thu, 29 Sep 2016 18:09:40 +0300 Subject: [PATCH] add hw_cs --- release_notes.asciidoc | 4 +++- trex_rpc_server_spec.asciidoc | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/release_notes.asciidoc b/release_notes.asciidoc index 7581459e..051e3797 100755 --- a/release_notes.asciidoc +++ b/release_notes.asciidoc @@ -27,7 +27,9 @@ endif::backend-docbook[] * Statless, split to core algorithm is more accurate and simple see link:trex_stateless.html#_tutorial_field_engine_split_to_core[split_to_core] * Add repeatable random instruction see an example link:https://github.com/cisco-system-traffic-generator/trex-core/tree/master/scripts/api/stl/udp_1pkt_repeat_random.py[stl/udp_1pkt_repeat_random.py] link:cp_stl_docs/api/field_engine.html#stlvmflowvarrepetablerandom[repetable_random] and link:trex_rpc_server_spec.html#_repetable_random[repetable_random_spec] -* Support dual mode for push pcap/remote Python API. see here link:cp_stl_docs/api/client_code.html#trex_stl_lib.trex_stl_client.STLClient.push_remote[push_remote] and link:cp_stl_docs/api/client_code.html#trex_stl_lib.trex_stl_client.STLClient.push_pcap[push_pcap] Using this feature pcap can be sent to client/server ports +* Add TCP/UDP checksum fix instruction see an example link:https://github.com/cisco-system-traffic-generator/trex-core/tree/master/scripts/api/stl/syn_attack_fix_cs_hw.py[stl/syn_attack_fix_cs_hw.py] link:cp_stl_docs/api/field_engine.html#stlvmfixchecksumhw[fix checksum] and link:trex_rpc_server_spec.html#_fix_checksum_hw[fix_checksum_hw_spec] +* Improve Stateless Field Engine (FE) performance +* Support dual mode for push pcap/remote Python API. see here link:cp_stl_docs/api/client_code.html#trex_stl_lib.trex_stl_client.STLClient.push_remote[push_remote] and link:cp_stl_docs/api/client_code.html#trex_stl_lib.trex_stl_client.STLClient.push_pcap[push_pcap] Using this feature pcap can be splited to client/server ports * Add infra for L2 emulation support === fix issues: === diff --git a/trex_rpc_server_spec.asciidoc b/trex_rpc_server_spec.asciidoc index e7c669ca..0e49783f 100755 --- a/trex_rpc_server_spec.asciidoc +++ b/trex_rpc_server_spec.asciidoc @@ -666,6 +666,20 @@ an Object that include instructions array and properties of the field engine pro Array of VM instruction objects to be used with this stream Any element in the array can be one of the following object types: +===== fix_checksum_hw + +Fix TCP/UDP and IPv4 headers using hardware assit engine + +.Object type 'vm - fix_checksum_hw' +[options="header",cols="1,1,3"] +|================= +| Field | Type | Description +| type | string | ''fix_checksum_hw'' +| l2_len | uint16 | len of L2 (e.g. 14 Ether) +| l3_len | uint16 | len of l3 header (e.g. 20 for IP) +| l4_type | uint16 | the type of L4 header either UDP or TCP ( L4_TYPE_UDP = 11 | L4_TYPE_TCP = 13) +|================= + ===== fix_checksum_ipv4 .Object type 'vm - fix_checksum_ipv4' -- 2.16.6