rogue
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
rogue::protocols::rocev2::Core Class Reference

#include <Core.h>

Inheritance diagram for rogue::protocols::rocev2::Core:
rogue::protocols::rocev2::Server

Public Member Functions

 Core (const std::string &deviceName, uint8_t ibPort, uint8_t gidIndex, uint32_t maxPayload=DefaultMaxPayload)
 Creator.
 
virtual ~Core ()
 Destructor - releases the protection domain and closes the ibverbs context.
 
uint32_t maxPayload () const
 

Static Public Member Functions

static void setup_python ()
 

Protected Attributes

struct ibv_context * ctx_
 
struct ibv_pd * pd_
 
std::string deviceName_
 
uint8_t ibPort_
 
uint8_t gidIndex_
 
uint32_t maxPayload_
 
std::shared_ptr< rogue::Logginglog_
 

Detailed Description

Definition at line 42 of file Core.h.

Constructor & Destructor Documentation

◆ Core()

rogue::protocols::rocev2::Core::Core ( const std::string &  deviceName,
uint8_t  ibPort,
uint8_t  gidIndex,
uint32_t  maxPayload = DefaultMaxPayload 
)

Creator.


Company : SLAC National Accelerator Laboratory

Description:

RoCEv2 Core

This file is part of the rogue software platform. It is subject to the license terms in the LICENSE.txt file found in the top-level directory of this distribution and at: https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. No part of the rogue software platform, including this file, may be copied, modified, propagated, or distributed except according to the terms

contained in the LICENSE.txt file.

Definition at line 37 of file Core.cpp.

◆ ~Core()

rogue::protocols::rocev2::Core::~Core ( )
virtual

Destructor - releases the protection domain and closes the ibverbs context.

Definition at line 108 of file Core.cpp.

Member Function Documentation

◆ maxPayload()

uint32_t rogue::protocols::rocev2::Core::maxPayload ( ) const
inline

Definition at line 65 of file Core.h.

◆ setup_python()

void rogue::protocols::rocev2::Core::setup_python ( )
static

Definition at line 113 of file Core.cpp.

Member Data Documentation

◆ ctx_

struct ibv_context* rogue::protocols::rocev2::Core::ctx_
protected

Definition at line 46 of file Core.h.

◆ deviceName_

std::string rogue::protocols::rocev2::Core::deviceName_
protected

Definition at line 50 of file Core.h.

◆ gidIndex_

uint8_t rogue::protocols::rocev2::Core::gidIndex_
protected

Definition at line 52 of file Core.h.

◆ ibPort_

uint8_t rogue::protocols::rocev2::Core::ibPort_
protected

Definition at line 51 of file Core.h.

◆ log_

std::shared_ptr<rogue::Logging> rogue::protocols::rocev2::Core::log_
protected

Definition at line 55 of file Core.h.

◆ maxPayload_

uint32_t rogue::protocols::rocev2::Core::maxPayload_
protected

Definition at line 53 of file Core.h.

◆ pd_

struct ibv_pd* rogue::protocols::rocev2::Core::pd_
protected

Definition at line 47 of file Core.h.


The documentation for this class was generated from the following files: