Skip to content

Commit

Permalink
Disable tx chksum for driver IDPF on GCP C3/C4
Browse files Browse the repository at this point in the history
See bug [1] for more details.

[1] https://issues.redhat.com/browse/OCPBUGS-38779

Signed-off-by: Martin Kennelly <[email protected]>
  • Loading branch information
martinkennelly authored and openshift-cherrypick-robot committed Nov 14, 2024
1 parent 5ea53a3 commit 0f1efc6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions templates/common/_base/files/gcp-disable-idpf-tx-checksum-off.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
mode: 0744
path: "/etc/NetworkManager/dispatcher.d/99-gcp-disable-idpf-tx-checksum-off"
contents:
inline: |
#!/bin/bash
# Workaround:
# https://issues.redhat.com/browse/OCPBUGS-38779
driver=$(nmcli -t -m tabular -f general.driver dev show "${DEVICE_IFACE}")
if [[ "$2" == "up" && "${driver}" == "idpf" ]]; then
ethtool -K ${DEVICE_IFACE} tx-checksumming off
fi

0 comments on commit 0f1efc6

Please sign in to comment.