Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// DefaultCNIDir used for caching NetConf
DefaultCNIDir = "/var/lib/cni/dpusriov"
)
Functions ¶
func GetMacAddressForResult ¶
GetMacAddressForResult return the mac address we should report to the CNI call return object if the device is on kernel mode we report that one back if not we check the administrative mac address on the PF if it is set and is not zero, report it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.