memifface

package
v0.0.0-...-6c4fd92 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: NIST-PD-fallback Imports: 5 Imported by: 0

README

ndn-dpdk/iface/memifface

This package implements memif faces. See face creation "memif face" section for locator syntax.

The underlying implementation is in package ethport.

In the data plane:

  • NDN-DPDK and application must operate its memif interface in opposite roles.
  • Each packet is an NDN packet without Ethernet header.
  • MEMIF_DESC_FLAG_NEXT may cause stability issue in the RX path. It is currently disabled in the TX path during face creation.

Documentation

Overview

Package memifface implements memif faces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Locator

type Locator struct {
	memiftransport.Locator
}

Locator describes a memif face.

func (Locator) CreateFace

func (loc Locator) CreateFace() (iface.Face, error)

CreateFace creates a memif face.

func (Locator) EthFaceConfig

func (loc Locator) EthFaceConfig() (cfg ethport.FaceConfig)

EthFaceConfig implements ethport.Locator interface.

func (Locator) EthLocatorC

func (loc Locator) EthLocatorC() (c ethport.LocatorC)

EthLocatorC implements ethport.Locator interface.

func (Locator) Scheme

func (Locator) Scheme() string

Scheme returns "memif".

Jump to

Keyboard shortcuts

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