Skip to content

Commit 5147bbc

Browse files
Disable tx chksum for driver IDPF on GCP C3/C4
See bug [1] for more details. [1] https://issues.redhat.com/browse/OCPBUGS-38779 Signed-off-by: Martin Kennelly <mkennell@redhat.com>
1 parent 518286c commit 5147bbc

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)