cli

package
v0.0.0-...-8fa78e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommand

func GetCommand(parent *cobra.Command) *cobra.Command

GetCommand returns the given parent (root) command with all dpdkinfra sub commands added

func InterfaceCmd

func InterfaceCmd(parents ...*cobra.Command) *cobra.Command

func InterfaceCreateCmd

func InterfaceCreateCmd(parents ...*cobra.Command) *cobra.Command

func InterfaceCreateEthdevCmd

func InterfaceCreateEthdevCmd(parents ...*cobra.Command) *cobra.Command

func InterfaceCreateTapCmd

func InterfaceCreateTapCmd(parents ...*cobra.Command) *cobra.Command

func InterfaceDeviceAttachCmd

func InterfaceDeviceAttachCmd(parents ...*cobra.Command) *cobra.Command

func InterfaceDeviceCmd

func InterfaceDeviceCmd(parents ...*cobra.Command) *cobra.Command

func InterfaceDeviceDetachCmd

func InterfaceDeviceDetachCmd(parents ...*cobra.Command) *cobra.Command

func InterfaceDeviceListCmd

func InterfaceDeviceListCmd(parents ...*cobra.Command) *cobra.Command

func InterfaceLinkUpDownCmd

func InterfaceLinkUpDownCmd(parents ...*cobra.Command) *cobra.Command

func InterfaceShowCmd

func InterfaceShowCmd(parents ...*cobra.Command) *cobra.Command

func InterfaceStatsCmd

func InterfaceStatsCmd(parents ...*cobra.Command) *cobra.Command

func PipelineBindCmd

func PipelineBindCmd(parents ...*cobra.Command) *cobra.Command

func PipelineCmd

func PipelineCmd(parents ...*cobra.Command) *cobra.Command

func PipelineInfoCmd

func PipelineInfoCmd(parents ...*cobra.Command) *cobra.Command

func PipelineStatsCmd

func PipelineStatsCmd(parents ...*cobra.Command) *cobra.Command

func PktmbufCmd

func PktmbufCmd(parents ...*cobra.Command) *cobra.Command

func PktmbufCreateCmd

func PktmbufCreateCmd(parents ...*cobra.Command) *cobra.Command

implements mempool MEMPOOL0 buffer 2304 pool 32K cache 256 cpu 0

func PktmbufListCmd

func PktmbufListCmd(parents ...*cobra.Command) *cobra.Command

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
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL