summaryrefslogtreecommitdiffstats
path: root/extras/vcl-ldpreload/test/common/nginx_test.sh
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2017-10-19 03:47:42 -0400
committerKeith Burns <alagalah@gmail.com>2017-10-19 14:27:51 +0000
commit86b8e26b331bb6db4ce69aa9fa7c0ea1392b985d (patch)
treefcc16330a6516195229770877303fb50920c0992 /extras/vcl-ldpreload/test/common/nginx_test.sh
parent41a9e51f65aae3639771d9af53e810b43a5aee19 (diff)
vcl-ldpreload: test script enhancements
Change-Id: Iff302a35cd5d35bf0671a63e8ba81a0c60a231eb Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'extras/vcl-ldpreload/test/common/nginx_test.sh')
-rwxr-xr-xextras/vcl-ldpreload/test/common/nginx_test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/vcl-ldpreload/test/common/nginx_test.sh b/extras/vcl-ldpreload/test/common/nginx_test.sh
index 7c43324dbc8..3875d9f579a 100755
--- a/extras/vcl-ldpreload/test/common/nginx_test.sh
+++ b/extras/vcl-ldpreload/test/common/nginx_test.sh
@@ -53,7 +53,9 @@ if [ -z "$(docker ps -qf name=$vpp_dk_name)" ] ; then
sudo ip link del dev vpp_dk
sudo ip link add name vpp_dk type veth peer name vpp1
sudo ip link set dev vpp_dk up
+ sudo ethtool --offload vpp_dk rx off tx off
sudo ip link set dev vpp1 up
+ sudo ethtool --offload vpp1 rx off tx off
sudo ip link set dev lo up
sudo brctl addif docker0 vpp_dk
fi