Skip to content

Commit

Permalink
disable offload for genev_sys_6081
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Apr 5, 2021
1 parent 5f690d8 commit f4e665b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/daemon/ovs.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,11 @@ func configureNodeNic(portName, ip, gw string, macAddr net.HardwareAddr, mtu int
klog.Errorf("failed to disable checksum offload on ovn0, %v %q", err, output)
return err
}
output, err = exec.Command("ethtool", "-K", "genev_sys_6081", "tx", "off").CombinedOutput()
if err != nil {
klog.Errorf("failed to disable checksum offload on genev_sys_6081, %v %q", err, output)
return err
}

// ping ovn0 gw to activate the flow
output, err = ovn0Check(gw)
Expand Down

0 comments on commit f4e665b

Please sign in to comment.