[ovs-git] [openvswitch/ovs] 29bb30: userspace: Enable TSO support for non-DPDK.
William Tu
noreply at github.com
Thu May 14 14:24:33 UTC 2020
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 29bb3093eb8b387ada862ea502626a4cfbaa3358
https://github.com/openvswitch/ovs/commit/29bb3093eb8b387ada862ea502626a4cfbaa3358
Author: William Tu <u9012063 at gmail.com>
Date: 2020-05-14 (Thu, 14 May 2020)
Changed paths:
M lib/dp-packet.c
M lib/dp-packet.h
M lib/userspace-tso.c
M tests/.gitignore
M tests/automake.mk
A tests/system-tso-macros.at
A tests/system-tso-testsuite.at
Log Message:
-----------
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 at sysclose.org>
Acked-by: Ilya Maximets <i.maximets at ovn.org>
Signed-off-by: William Tu <u9012063 at gmail.com>
Commit: 5f01a9019f0d5ad18bd7e2e2093299ad48895ea5
https://github.com/openvswitch/ovs/commit/5f01a9019f0d5ad18bd7e2e2093299ad48895ea5
Author: William Tu <u9012063 at gmail.com>
Date: 2020-05-14 (Thu, 14 May 2020)
Changed paths:
M tests/automake.mk
A tests/system-tap.at
M tests/system-tso-testsuite.at
Log Message:
-----------
tests: Add tests using tap device.
Similar to using veth across namespaces, this patch creates
tap devices, assigns to namespaces, and allows traffic to
go through different test cases.
Acked-by: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: William Tu <u9012063 at gmail.com>
Compare: https://github.com/openvswitch/ovs/compare/c101cd4171cf...5f01a9019f0d
More information about the git
mailing list