Skip to content

Commit

Permalink
vSpehere: disable vmxnet3 tx csum offload
Browse files Browse the repository at this point in the history
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@redhat.com>
  • Loading branch information
jcaamano committed Aug 26, 2021
1 parent 84b828c commit da59886
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ contents:
# Workaround:
# https://bugzilla.redhat.com/show_bug.cgi?id=1941714
# https://bugzilla.redhat.com/show_bug.cgi?id=1935539
# https://bugzilla.redhat.com/show_bug.cgi?id=1987108
driver=$(nmcli -t -m tabular -f general.driver dev show "${DEVICE_IFACE}")
if [[ "$2" == "up" && "${driver}" == "vmxnet3" ]]; then
logger -s "99-vsphere-disable-tx-udp-tnl triggered by ${2} on device ${DEVICE_IFACE}."
ethtool -K ${DEVICE_IFACE} tx-udp_tnl-segmentation off
ethtool -K ${DEVICE_IFACE} tx-udp_tnl-csum-segmentation off
ethtool -K ${DEVICE_IFACE} tx-checksum-ip-generic off
fi

0 comments on commit da59886

Please sign in to comment.