Skip to content

Commit

Permalink
Disable send offload in the benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
cbranch committed Nov 3, 2021
1 parent c6f1638 commit 815f652
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/bench-client.sh
Expand Up @@ -22,8 +22,14 @@ sudo ip netns add smoltcp-bench
sudo ip link add veth-delay type veth peer name veth-delay2 netns smoltcp-bench
sudo ip addr add 192.0.2.1/24 dev veth-delay
sudo ip link set up veth-delay
sudo ip netns exec smoltcp-bench ethtool -K veth-delay2 tso off
sudo ip -n smoltcp-bench addr add 192.0.2.2/24 dev veth-delay2
sudo ip -n smoltcp-bench link set up veth-delay2
sudo ethtool -K veth-delay tso off

# Capture traffic for debugging
sudo tcpdump -i veth-delay -s 100 -w curl.pcap &
sudo tcpdump -i smoltcp0 -s 100 -w smoltcp.pcap &

function run_tests {
echo "via curl:"
Expand Down

0 comments on commit 815f652

Please sign in to comment.