rdma

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package rdma provides the implementation of an RDMA engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	*akita.TickingComponent

	ToOutside akita.Port

	ToL1 akita.Port
	ToL2 akita.Port

	CtrlPort akita.Port

	RemoteRDMAAddressTable cache.LowModuleFinder
	// contains filtered or unexported fields
}

An Engine is a component that helps one GPU to access the memory on another GPU

func NewEngine

func NewEngine(
	name string,
	engine akita.Engine,
	localModules cache.LowModuleFinder,
	remoteModules cache.LowModuleFinder,
) *Engine

func (*Engine) SetFreq

func (e *Engine) SetFreq(freq akita.Freq)

func (*Engine) Tick

func (e *Engine) Tick(now akita.VTimeInSec) bool

type RDMADrainReq

type RDMADrainReq struct {
	akita.MsgMeta
}

A RDMADrainReq asks the rdma to stop processing requests from L1 while allowing pending requests to L2 to complete

func (*RDMADrainReq) Meta

func (r *RDMADrainReq) Meta() *akita.MsgMeta

Meta returns the meta data associated with the message.

type RDMADrainReqBuilder

type RDMADrainReqBuilder struct {
	// contains filtered or unexported fields
}

RDMADrainReqBuilder can build RDMA drain requests

func (RDMADrainReqBuilder) Build

func (b RDMADrainReqBuilder) Build() *RDMADrainReq

Build creats a new RDMADrainReq

func (RDMADrainReqBuilder) WithDst

WithDst sets the destination of the request to build.

func (RDMADrainReqBuilder) WithSendTime

WithSendTime sets the send time of the request to build.:w

func (RDMADrainReqBuilder) WithSrc

WithSrc sets the source of the request to build.

type RDMADrainRsp

type RDMADrainRsp struct {
	akita.MsgMeta
}

A RDMADrainRsp is a drain complete response to a RDMA Drain Req

func (*RDMADrainRsp) Meta

func (r *RDMADrainRsp) Meta() *akita.MsgMeta

Meta returns the meta data associated with the message.

type RDMADrainRspBuilder

type RDMADrainRspBuilder struct {
	// contains filtered or unexported fields
}

RDMADrainRspBuilder can build RDMA drain responses

func (RDMADrainRspBuilder) Build

func (b RDMADrainRspBuilder) Build() *RDMADrainRsp

Build creats a new RDMADrainRsp

func (RDMADrainRspBuilder) WithDst

WithDst sets the destination of the request to build.

func (RDMADrainRspBuilder) WithSendTime

WithSendTime sets the send time of the request to build

func (RDMADrainRspBuilder) WithSrc

WithSrc sets the source of the request to build.

type RDMARestartReq

type RDMARestartReq struct {
	akita.MsgMeta
}

A RDMARestartReq is a message to allow rdma to continue processing reqs from L1

func (*RDMARestartReq) Meta

func (r *RDMARestartReq) Meta() *akita.MsgMeta

Meta returns the meta data associated with the message.

type RDMARestartReqBuilder

type RDMARestartReqBuilder struct {
	// contains filtered or unexported fields
}

RDMARestartBuilder can build RDMA restart req

func (RDMARestartReqBuilder) Build

Build creats a new RDMADrainRsp

func (RDMARestartReqBuilder) WithDst

WithDst sets the destination of the request to build.

func (RDMARestartReqBuilder) WithSendTime

WithSendTime sets the send time of the request to build

func (RDMARestartReqBuilder) WithSrc

WithSrc sets the source of the request to build.

type RDMARestartRsp

type RDMARestartRsp struct {
	akita.MsgMeta
}

A RDMADrainRsp is a drain complete response to a RDMA Drain Req

func (*RDMARestartRsp) Meta

func (r *RDMARestartRsp) Meta() *akita.MsgMeta

Meta returns the meta data associated with the message.

type RDMARestartRspBuilder

type RDMARestartRspBuilder struct {
	// contains filtered or unexported fields
}

RDMADrainRspBuilder can build RDMA drain responses

func (RDMARestartRspBuilder) Build

Build creats a new RDMADrainRsp

func (RDMARestartRspBuilder) WithDst

WithDst sets the destination of the request to build.

func (RDMARestartRspBuilder) WithSendTime

WithSendTime sets the send time of the request to build

func (RDMARestartRspBuilder) WithSrc

WithSrc sets the source of the request to build.

Jump to

Keyboard shortcuts

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