Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions templates/common/none/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md
# This file just uses aliases defined in OWNERS_ALIASES.

approvers:
- vsphere-approvers
reviewers:
- vsphere-reviewers
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
filesystem: "root"
mode: 0744
path: "/etc/NetworkManager/dispatcher.d/99-vsphere-disable-tx-udp-tnl"
contents:
inline: |
#!/bin/bash
# Workaround:
# https://bugzilla.redhat.com/show_bug.cgi?id=1941714
# https://bugzilla.redhat.com/show_bug.cgi?id=1935539

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
fi