Метод | Описание | |
---|---|---|
ConnectToServerOverRdma ( String localIpAddress, String remoteIpAddress, |
establish connection over RDMA
|
|
DeregisterMemoryWindow ( RdmaBufferDescriptorV1 bufferDescriptor ) : void |
Deregister memory window
|
|
Disconnect ( ) : void |
Disconnect
|
|
Dispose ( ) : void | ||
GetRequestResult ( System.TimeSpan timeout, RequestType type ) : |
Get result of request
|
|
ListenConnection ( String localIpAddress, ushort port, AddressFamily ipFamily ) : NtStatus |
listen and wait for peer connect
|
|
PostReceive ( uint bufferSize ) : NtStatus |
Post Receive request
|
|
ReadMemoryWindow ( byte data, RdmaBufferDescriptorV1 bufferDescriptor ) : NtStatus |
Read data from memory window
|
|
ReceiveData ( System.TimeSpan timeout, byte &data ) : NtStatus |
Receive data over RDMA
|
|
RegisterMemoryWindow ( uint size, RdmaOperationReadWriteFlag flag, bool reversed, RdmaBufferDescriptorV1 &bufferDescriptor ) : NtStatus |
Register memory windows
|
|
SendData ( byte data ) : NtStatus |
Send data over RDMA
|
|
SmbdConnectionEndpoint ( uint inboundEntries, uint outboundEntries, uint inboundSegment, uint outboundSegment, uint inboundReadLimit, uint outboundReadLimit, uint inboundDataSize, SmbdLogEvent logEvent = null ) : System |
SmbdEndpoint constructor will load RDMA providers and initialize default connection values.
|
|
WaitDisconnect ( System.TimeSpan timeout ) : void |
Wait until network is disconnected, using a TimeSpan to specify the time interval.
|
|
WriteMemoryWindow ( byte data, RdmaBufferDescriptorV1 bufferDescriptor ) : NtStatus |
Write data to memory window
|
Метод | Описание | |
---|---|---|
CompleteConnect ( ) : void |
Complete the work of connection
|
|
LogEvent ( string str ) : void |
log event
|
|
NotifyCallback ( Object stateInfo ) : void |
Notify callback
|
|
NotifyDisconnectCallBack ( Object stateInfo ) : void |
notify disconnect
|
|
OpenAdapter ( RdmaProviderInfo providers, string localIpAddress, AddressFamily ipFamily, SmbdLogEvent logEvent ) : RdmaAdapter |
Open adapter with local IP address
|
|
OutputAddressInfoSupportedByProvider ( RdmaProviderInfo providerInfo, SmbdLogEvent logEvent ) : void |
output all addresses which are supported by the provider
|
public ConnectToServerOverRdma ( String localIpAddress, String remoteIpAddress, |
||
localIpAddress | String | local IP address |
remoteIpAddress | String | remote IP address |
port | port | |
ipFamily | AddressFamily | IP Family |
Результат | NtStatus |
public DeregisterMemoryWindow ( RdmaBufferDescriptorV1 bufferDescriptor ) : void | ||
bufferDescriptor | RdmaBufferDescriptorV1 | Buffer Descriptor point to memory windows |
Результат | void |
public GetRequestResult ( System.TimeSpan timeout, RequestType type ) : |
||
timeout | System.TimeSpan | |
type | RequestType | |
Результат |
public ListenConnection ( String localIpAddress, ushort port, AddressFamily ipFamily ) : NtStatus | ||
localIpAddress | String | |
port | ushort | |
ipFamily | AddressFamily | IP Family IPv4 or IPv6 |
Результат | NtStatus |
public PostReceive ( uint bufferSize ) : NtStatus | ||
bufferSize | uint | |
Результат | NtStatus |
public ReadMemoryWindow ( byte data, RdmaBufferDescriptorV1 bufferDescriptor ) : NtStatus | ||
data | byte | |
bufferDescriptor | RdmaBufferDescriptorV1 | Buffer Descriptor point to memory windows |
Результат | NtStatus |
public ReceiveData ( System.TimeSpan timeout, byte &data ) : NtStatus | ||
timeout | System.TimeSpan | |
data | byte | |
Результат | NtStatus |
public RegisterMemoryWindow ( uint size, RdmaOperationReadWriteFlag flag, bool reversed, RdmaBufferDescriptorV1 &bufferDescriptor ) : NtStatus | ||
size | uint | Size of memory to register |
flag | RdmaOperationReadWriteFlag | |
reversed | bool | if it is true, little-endian and big-endian will be reversed in bufferDescriptor |
bufferDescriptor | RdmaBufferDescriptorV1 | Buffer Descriptor point to memory windows |
Результат | NtStatus |
public SmbdConnectionEndpoint ( uint inboundEntries, uint outboundEntries, uint inboundSegment, uint outboundSegment, uint inboundReadLimit, uint outboundReadLimit, uint inboundDataSize, SmbdLogEvent logEvent = null ) : System | ||
inboundEntries | uint | maximum number of outstanding Receive requests. |
outboundEntries | uint | maximum number of outstanding Send, SendAndInvalidate /// , Bind, Invalidate, Read, and Write requests. /// |
inboundSegment | uint | inbound segments limit |
outboundSegment | uint | outbound segments limit |
inboundReadLimit | uint | maximum inbound read limit for the local Network /// Direct adapter. This value can be zero if you do not support /// |
outboundReadLimit | uint | |
inboundDataSize | uint | Max Size of RDMA inbound data |
logEvent | SmbdLogEvent | Delegate to log SMBD event |
Результат | System |
public WaitDisconnect ( System.TimeSpan timeout ) : void | ||
timeout | System.TimeSpan | |
Результат | void |
public WriteMemoryWindow ( byte data, RdmaBufferDescriptorV1 bufferDescriptor ) : NtStatus | ||
data | byte | |
bufferDescriptor | RdmaBufferDescriptorV1 | Buffer Descriptor point to memory windows |
Результат | NtStatus |