package
Version:
v2.1.0+incompatible
Opens a new window with list of versions in this module.
Published: Jun 12, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Enabledpdkmode binds an interface given as ifname string to the dpdk driver in Conf
SaveDpdkConf takes in container ID, data dir as string and a pointer to Conf then save this Conf in data dir
func ValidateConf() error
ValidateConf vaildates dpdk configuration for required fields
type Conf struct {
PCIaddr string `json:"pci_addr"`
Ifname string `json:"ifname"`
KDriver string `json:"kernel_driver"`
DPDKDriver string `json:"dpdk_driver"`
DPDKtool string `json:"dpdk_tool"`
VFID int `json:"vfid"`
}
Conf defines configuration related to dpdk driver binding/unbinding
GetConf takes in container ID, Pod interface name and data dir as string and returns a pointer to Conf
Source Files
¶
Click to show internal directories.
Click to hide internal directories.