Comment 0 for bug 1979906

Revision history for this message
MRATT (mrmail) wrote :

I have several VMware ESXi VMs with Ubuntu Server 20.04 and Docker which need to have "tx-checksum-ip-generic" disabled, otherwise Docker Swarm nodes cannot communicate properly. This has to be done manually following every reboot and often folks forget and then we start to have outages.

There is no way to set this permanently in netplan.io it seems.

I have tried setting this in the YML in the hope it covers "tx-checksum-ip-generic" as well:
  ethernets:
    ens160:
      dhcp4: no
      ...
      transmit-checksum-offload: false

however the results of ethtool after a "netplan apply" or a reboot are exactly the same:
> ethtool --show-offload ens160 | grep tx
tx-checksumming: off
        tx-checksum-ipv4: off [fixed]
        tx-checksum-ip-generic: on
        tx-checksum-ipv6: off [fixed]
        tx-checksum-fcoe-crc: off [fixed]
        tx-checksum-sctp: off [fixed]
        tx-scatter-gather: on
        tx-scatter-gather-fraglist: off [fixed]
        tx-tcp-segmentation: off [requested on]
        tx-tcp-ecn-segmentation: off [fixed]
        tx-tcp-mangleid-segmentation: off
        tx-tcp6-segmentation: off [requested on]
tx-vlan-offload: on
tx-lockless: off [fixed]
tx-gso-robust: off [fixed]
tx-fcoe-segmentation: off [fixed]
tx-gre-segmentation: off [fixed]
tx-gre-csum-segmentation: off [fixed]
tx-ipxip4-segmentation: off [fixed]
tx-ipxip6-segmentation: off [fixed]
tx-udp_tnl-segmentation: on
tx-udp_tnl-csum-segmentation: on
tx-gso-partial: off [fixed]
tx-tunnel-remcsum-segmentation: off [fixed]
tx-sctp-segmentation: off [fixed]
tx-esp-segmentation: off [fixed]
tx-udp-segmentation: off [fixed]
tx-gso-list: off [fixed]
tx-nocache-copy: off
tx-vlan-stag-hw-insert: off [fixed]
esp-tx-csum-hw-offload: off [fixed]
tls-hw-tx-offload: off [fixed]