summaryrefslogtreecommitdiff
path: root/tests/system-tso-testsuite.at
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2020-03-24 15:10:50 -0700
committerWilliam Tu <u9012063@gmail.com>2020-05-14 07:21:34 -0700
commit29bb3093eb8b387ada862ea502626a4cfbaa3358 (patch)
tree3d4ea7d5e7ace8f9a31e4ac4f27d21f79bfc722e /tests/system-tso-testsuite.at
parentc101cd4171cfe04e214f858b4bbe089e56f13f9b (diff)
downloadopenvswitch-29bb3093eb8b387ada862ea502626a4cfbaa3358.tar.gz
userspace: Enable TSO support for non-DPDK.
This patch enables TSO support for non-DPDK use cases, and also add check-system-tso testsuite. Before TSO, we have to disable checksum offload, allowing the kernel to calculate the TCP/UDP packet checsum. With TSO, we can skip the checksum validation by enabling checksum offload, and with large packet size, we see better performance. Consider container to container use cases: iperf3 -c (ns0) -> veth peer -> OVS -> veth peer -> iperf3 -s (ns1) And I got around 6Gbps, similar to TSO with DPDK-enabled. Acked-by: Flavio Leitner <fbl@sysclose.org> Acked-by: Ilya Maximets <i.maximets@ovn.org> Signed-off-by: William Tu <u9012063@gmail.com>
Diffstat (limited to 'tests/system-tso-testsuite.at')
-rw-r--r--tests/system-tso-testsuite.at26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/system-tso-testsuite.at b/tests/system-tso-testsuite.at
new file mode 100644
index 000000000..99d748006
--- /dev/null
+++ b/tests/system-tso-testsuite.at
@@ -0,0 +1,26 @@
+AT_INIT
+
+AT_COPYRIGHT([Copyright (c) 2020 VMware, Inc.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at:
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.])
+
+m4_ifdef([AT_COLOR_TESTS], [AT_COLOR_TESTS])
+
+m4_include([tests/ovs-macros.at])
+m4_include([tests/ovsdb-macros.at])
+m4_include([tests/ofproto-macros.at])
+m4_include([tests/system-common-macros.at])
+m4_include([tests/system-userspace-macros.at])
+m4_include([tests/system-tso-macros.at])
+
+m4_include([tests/system-traffic.at])