We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 049f9cd + f6958ed commit cfb8b0aCopy full SHA for cfb8b0a
2 files changed
pkg/util/machine/network.go
@@ -46,6 +46,8 @@ const (
46
NicDriverUnknown NicDriver = "unknown"
47
)
48
49
+const UnknownNumaNode = -1
50
+
51
type ExtraNetworkInfo struct {
52
// Interface info list of all network interface.
53
Interface []InterfaceInfo
pkg/util/machine/network_linux.go
@@ -81,8 +81,6 @@ const (
81
SoftIrqsFile = "/proc/softirqs"
82
83
84
-const UnknownNumaNode = -1
85
-
86
var netnsMutex sync.Mutex
87
88
// GetExtraNetworkInfo collects network interface information from /sys/class/net and net.Interfaces.
0 commit comments