avf

package
v0.0.0-...-f91f7f2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package avf is a generated VPP binary API for 'avf' module.

It consists of:

4 messages
2 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "avf"
	// APIVersion is the API version of this module.
	APIVersion = "1.0.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0x71cc3938
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type AvfCreate

type AvfCreate struct {
	PciAddr    uint32
	EnableElog int32
	RxqNum     uint16
	RxqSize    uint16
	TxqSize    uint16
}

AvfCreate represents VPP binary API message 'avf_create'.

func (*AvfCreate) GetCrcString

func (*AvfCreate) GetCrcString() string

func (*AvfCreate) GetMessageName

func (*AvfCreate) GetMessageName() string

func (*AvfCreate) GetMessageType

func (*AvfCreate) GetMessageType() api.MessageType

func (*AvfCreate) Reset

func (m *AvfCreate) Reset()

type AvfCreateReply

type AvfCreateReply struct {
	Retval    int32
	SwIfIndex uint32
}

AvfCreateReply represents VPP binary API message 'avf_create_reply'.

func (*AvfCreateReply) GetCrcString

func (*AvfCreateReply) GetCrcString() string

func (*AvfCreateReply) GetMessageName

func (*AvfCreateReply) GetMessageName() string

func (*AvfCreateReply) GetMessageType

func (*AvfCreateReply) GetMessageType() api.MessageType

func (*AvfCreateReply) Reset

func (m *AvfCreateReply) Reset()

type AvfDelete

type AvfDelete struct {
	SwIfIndex uint32
}

AvfDelete represents VPP binary API message 'avf_delete'.

func (*AvfDelete) GetCrcString

func (*AvfDelete) GetCrcString() string

func (*AvfDelete) GetMessageName

func (*AvfDelete) GetMessageName() string

func (*AvfDelete) GetMessageType

func (*AvfDelete) GetMessageType() api.MessageType

func (*AvfDelete) Reset

func (m *AvfDelete) Reset()

type AvfDeleteReply

type AvfDeleteReply struct {
	Retval int32
}

AvfDeleteReply represents VPP binary API message 'avf_delete_reply'.

func (*AvfDeleteReply) GetCrcString

func (*AvfDeleteReply) GetCrcString() string

func (*AvfDeleteReply) GetMessageName

func (*AvfDeleteReply) GetMessageName() string

func (*AvfDeleteReply) GetMessageType

func (*AvfDeleteReply) GetMessageType() api.MessageType

func (*AvfDeleteReply) Reset

func (m *AvfDeleteReply) Reset()

type RPCService

type RPCService interface {
	AvfCreate(ctx context.Context, in *AvfCreate) (*AvfCreateReply, error)
	AvfDelete(ctx context.Context, in *AvfDelete) (*AvfDeleteReply, error)
}

RPCService represents RPC service API for avf module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

Jump to

Keyboard shortcuts

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