Skip to content

Commit 478aa75

Browse files
Merge pull request #4695 from martinkennelly/gcp-c3-c4-disable-tx-chksum
OCPBUGS-38779: Disable tx chksum for driver IDPF on GCP C3/C4
2 parents 58572be + 5147bbc commit 478aa75

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
mode: 0744
2+
path: "/etc/NetworkManager/dispatcher.d/99-gcp-disable-idpf-tx-checksum-off"
3+
contents:
4+
inline: |
5+
#!/bin/bash
6+
# Workaround:
7+
# https://issues.redhat.com/browse/OCPBUGS-38779
8+
9+
driver=$(nmcli -t -m tabular -f general.driver dev show "${DEVICE_IFACE}")
10+
11+
if [[ "$2" == "up" && "${driver}" == "idpf" ]]; then
12+
ethtool -K ${DEVICE_IFACE} tx-checksumming off
13+
fi

0 commit comments

Comments
 (0)