pespin has submitted this change. ( https://gerrit.osmocom.org/c/upf-benchmark/+/39574?usp=email )
Change subject: testsuites/gtplab-sysmo2017/tunend: Disable GRO/LRO ......................................................................
testsuites/gtplab-sysmo2017/tunend: Disable GRO/LRO
This can cause problems on incoming decaps traffic from CN (eg. TCP), which may end up being joined into a bigger packet which will then fail to be encapsulated into UDP fitting an MTU of 1500. This didn't show up specifically during tests since we are crafting UE UDP traffic with proper size in order to fit the MTU, but it would have shown up if TCP was used.
Change-Id: Iccc6e90e50e73bcadf0ea9f0470850a141a4c389 --- M testsuites/gtplab-sysmo2017/tunend/upf/eupf/configure.sh M testsuites/gtplab-sysmo2017/tunend/upf/osmo-upf/configure.sh 2 files changed, 6 insertions(+), 0 deletions(-)
Approvals: osmith: Looks good to me, but someone else must approve Jenkins Builder: Verified laforge: Looks good to me, approved
diff --git a/testsuites/gtplab-sysmo2017/tunend/upf/eupf/configure.sh b/testsuites/gtplab-sysmo2017/tunend/upf/eupf/configure.sh index f812c45..bf0fe0e 100755 --- a/testsuites/gtplab-sysmo2017/tunend/upf/eupf/configure.sh +++ b/testsuites/gtplab-sysmo2017/tunend/upf/eupf/configure.sh @@ -7,6 +7,9 @@ # Disable ethernet flow control: sudo ethtool -A $IFACE_RAN autoneg off rx off tx off sudo ethtool -A $IFACE_CN autoneg off rx off tx off +# Disable GRO / LRO: +sudo ethtool -K $IFACE_RAN gro off lro off +sudo ethtool -K $IFACE_CN gro off lro off # Increase NIC buffers: sudo ethtool -G $IFACE_RAN rx 8192 tx 8192 sudo ethtool -G $IFACE_CN rx 8192 tx 8192 diff --git a/testsuites/gtplab-sysmo2017/tunend/upf/osmo-upf/configure.sh b/testsuites/gtplab-sysmo2017/tunend/upf/osmo-upf/configure.sh index dd48c7e..4e4389c 100755 --- a/testsuites/gtplab-sysmo2017/tunend/upf/osmo-upf/configure.sh +++ b/testsuites/gtplab-sysmo2017/tunend/upf/osmo-upf/configure.sh @@ -8,6 +8,9 @@ # Disable ethernet flow control: sudo ethtool -A $IFACE_RAN autoneg off rx off tx off sudo ethtool -A $IFACE_CN autoneg off rx off tx off +# Disable GRO / LRO: +sudo ethtool -K $IFACE_RAN gro off lro off +sudo ethtool -K $IFACE_CN gro off lro off # Increase NIC buffers: sudo ethtool -G $IFACE_RAN rx 8192 tx 8192 sudo ethtool -G $IFACE_CN rx 8192 tx 8192