Documentation ¶
Index ¶
- func GetCommand(parent *cobra.Command) *cobra.Command
- func InterfaceCmd(parents ...*cobra.Command) *cobra.Command
- func InterfaceCreateCmd(parents ...*cobra.Command) *cobra.Command
- func InterfaceCreateEthdevCmd(parents ...*cobra.Command) *cobra.Command
- func InterfaceCreateTapCmd(parents ...*cobra.Command) *cobra.Command
- func InterfaceDeviceAttachCmd(parents ...*cobra.Command) *cobra.Command
- func InterfaceDeviceCmd(parents ...*cobra.Command) *cobra.Command
- func InterfaceDeviceDetachCmd(parents ...*cobra.Command) *cobra.Command
- func InterfaceDeviceListCmd(parents ...*cobra.Command) *cobra.Command
- func InterfaceLinkUpDownCmd(parents ...*cobra.Command) *cobra.Command
- func InterfaceShowCmd(parents ...*cobra.Command) *cobra.Command
- func InterfaceStatsCmd(parents ...*cobra.Command) *cobra.Command
- func PipelineBindCmd(parents ...*cobra.Command) *cobra.Command
- func PipelineCmd(parents ...*cobra.Command) *cobra.Command
- func PipelineInfoCmd(parents ...*cobra.Command) *cobra.Command
- func PipelineStatsCmd(parents ...*cobra.Command) *cobra.Command
- func PktmbufCmd(parents ...*cobra.Command) *cobra.Command
- func PktmbufCreateCmd(parents ...*cobra.Command) *cobra.Command
- func PktmbufListCmd(parents ...*cobra.Command) *cobra.Command
- type DeviceFilter
- type EthdevPortFilter
- type PipelineFilter
- type PortFilter
- type QueueFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCommand ¶
GetCommand returns the given parent (root) command with all dpdkinfra sub commands added
func PktmbufCreateCmd ¶
implements mempool MEMPOOL0 buffer 2304 pool 32K cache 256 cpu 0
Types ¶
type DeviceFilter ¶
type DeviceFilter uint
const ( AllDevices DeviceFilter = iota + 1 // All attached DPDK devices UsedDevices // All DPDK devices with one or more (ethdev) ports created UnusedDevices // All DPDK devices with none of the related ports created )
type EthdevPortFilter ¶
type EthdevPortFilter uint
const ( AllEthdevPorts EthdevPortFilter = iota + 1 // All attached raw ethdev ports UnusedEthdevPorts // All raw ethdev ports attached but not created/bound CreatedEthdevPorts // All ethdev ports created UnboundEthdevPorts // All ethdev ports created but not bound with one of its queues to a pipeline BoundEthdevPorts // All ethdev ports created and with one or more queues bound to a pipeline )
type PipelineFilter ¶
type PipelineFilter uint
const ( AllPipelines PipelineFilter = iota + 1 BuildPipelines BuildNotEnabledPipelines EnabledPipelines )
type PortFilter ¶
type PortFilter uint
const ( AllPorts PortFilter = iota + 1 // All created ports (tap, ring, ethdev etc) UnboundPorts // All ports created but not bound with one of its queues to a pipeline BoundPorts // All ports with one or more queues bound to a pipeline )
type QueueFilter ¶
type QueueFilter uint
const ( AllQueues QueueFilter = iota + 1 // All created queues on all ports (tap, ring, ethdev etc) UnboundQueues // All created queues on all ports not bound to a pipeline port BoundQueues // All created queues on all ports bound to a pipeline port )
Click to show internal directories.
Click to hide internal directories.