C# 클래스 Microsoft.Protocol.TestSuites.Smbd.TestSuite.Smb2OverRdmaChannel

상속: Microsoft.Protocols.TestTools.TestClassBase
파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites

공개 메소드들

메소드 설명
InitSmbdConnectionForTestCases ( string fileName ) : void
LogSmbdEndpointEvent ( string log ) : void
ReadOverRdma ( uint operationCount = 1 ) : void

Read file content over RDMA. The file content will be read with specific number of operations. The total size of the read content is SMB2 negotiated MaxReadSize, so content size in each SMB2 READ request is ( MaxReadSize / operationCount )

ValidateFileContent ( byte content, uint fileSize ) : void
WriteOverRdma ( uint operationCount = 1 ) : void

Write file content over RDMA. The file content will be writen with specific number of operations. The total size of the write content is SMB2 negotiated MaxWriteize, so content size in each SMB2 WRITE request is ( MaxWriteSize / operationCount )

보호된 메소드들

메소드 설명
TestCleanup ( ) : void
TestInitialize ( ) : void

비공개 메소드들

메소드 설명
BVT_Smb2OverRdmaChannel_ReadLargeFile ( ) : void
BVT_Smb2OverRdmaChannel_WriteLargeFile ( ) : void
ClassCleanup ( ) : void
ClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext context ) : void
Smb2OverRdmaChannel_InvalidBufferDescriptor_DeregisteredBuffer ( ) : void
Smb2OverRdmaChannel_InvalidBufferDescriptor_Length ( ) : void
Smb2OverRdmaChannel_InvalidBufferDescriptor_Offset ( ) : void
Smb2OverRdmaChannel_InvalidBufferDescriptor_Token ( ) : void
Smb2OverRdmaChannel_ReadMultipleOperation ( ) : void
Smb2OverRdmaChannel_ReadWriteMultipleBufferDescriptorList ( ) : void
Smb2OverRdmaChannel_WriteMultipleOperation ( ) : void

메소드 상세

InitSmbdConnectionForTestCases() 공개 메소드

public InitSmbdConnectionForTestCases ( string fileName ) : void
fileName string
리턴 void

LogSmbdEndpointEvent() 공개 메소드

public LogSmbdEndpointEvent ( string log ) : void
log string
리턴 void

ReadOverRdma() 공개 메소드

Read file content over RDMA. The file content will be read with specific number of operations. The total size of the read content is SMB2 negotiated MaxReadSize, so content size in each SMB2 READ request is ( MaxReadSize / operationCount )
public ReadOverRdma ( uint operationCount = 1 ) : void
operationCount uint Count of SMB2 READ operations.
리턴 void

TestCleanup() 보호된 메소드

protected TestCleanup ( ) : void
리턴 void

TestInitialize() 보호된 메소드

protected TestInitialize ( ) : void
리턴 void

ValidateFileContent() 공개 메소드

public ValidateFileContent ( byte content, uint fileSize ) : void
content byte
fileSize uint
리턴 void

WriteOverRdma() 공개 메소드

Write file content over RDMA. The file content will be writen with specific number of operations. The total size of the write content is SMB2 negotiated MaxWriteize, so content size in each SMB2 WRITE request is ( MaxWriteSize / operationCount )
public WriteOverRdma ( uint operationCount = 1 ) : void
operationCount uint count of SMB2 WRITE operation
리턴 void