added dependency and usage of ethtool to disable rx/tx checksums, since they will never be valid from a veth. also lowered some noisy logging and removed other logging
This commit is contained in:
parent
ac9dab097a
commit
d724ee289b
5 changed files with 7 additions and 5 deletions
|
@ -668,6 +668,7 @@ class CoreNode(CoreNodeBase):
|
|||
if self.up:
|
||||
utils.check_cmd([constants.IP_BIN, "link", "set", veth.name, "netns", str(self.pid)])
|
||||
self.check_cmd([constants.IP_BIN, "link", "set", veth.name, "name", ifname])
|
||||
self.check_cmd([constants.ETHTOOL_BIN, "-K", ifname, "rx", "off", "tx", "off"])
|
||||
|
||||
veth.name = ifname
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue