Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for RdmaConnection (0.11 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

     *
     * Manages connection state, credit flow control, and provides
     * abstract methods for RDMA operations that must be implemented
     * by specific provider implementations.
     */
    public abstract class RdmaConnection implements AutoCloseable {
    
        /**
         * RDMA connection state enumeration
         */
        public enum RdmaConnectionState {
            /** Connection is not established */
            DISCONNECTED,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. docs/smb3-features/05-rdma-smb-direct-design.md

            sendRegion.getBuffer().flip();
            
            try {
                // Send via RDMA
                rdmaConnection.send(sendRegion.getBuffer(), sendRegion);
                rdmaConnection.consumeSendCredit();
                
                // Receive response
                ByteBuffer responseBuffer = rdmaConnection.receive(getResponseTimeout());
                
                // Parse response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

         */
        public void connectRdma() throws IOException {
            synchronized (connectionLock) {
                if (rdmaConnection != null && rdmaConnection.isConnected()) {
                    return;
                }
    
                try {
                    rdmaConnection =
                            rdmaProvider.connect(delegate.getRemoteAddress().getHostAddress(), delegate.getContext().getConfig().getRdmaPort());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java

            return EnumSet.allOf(RdmaCapability.class);
        }
    
        @Override
        public RdmaConnection createConnection(InetSocketAddress remote, InetSocketAddress local) throws IOException {
            ensureInitialized();
            return new DisniRdmaConnection(remote, local, endpointGroup);
        }
    
        @Override
        public RdmaConnection connect(String hostname, int port) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java

        }
    
        @Override
        public RdmaConnection createConnection(InetSocketAddress remote, InetSocketAddress local) throws IOException {
            return new TcpRdmaConnection(remote, local);
        }
    
        @Override
        public RdmaConnection connect(String hostname, int port) throws IOException {
            InetSocketAddress remoteAddress = new InetSocketAddress(hostname, port);
            RdmaConnection connection = createConnection(remoteAddress, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

         * @param error the error that occurred
         * @return true if error was handled and connection recovered, false if fallback needed
         */
        public boolean handleRdmaError(RdmaConnection connection, Exception error) {
            log.warn("RDMA error occurred: {}", error.getMessage());
            statistics.recordError();
    
            if (isRecoverableError(error)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

         * @param local local socket address, may be null for auto-binding
         * @return new RDMA connection instance
         * @throws IOException if connection creation fails
         */
        RdmaConnection createConnection(InetSocketAddress remote, InetSocketAddress local) throws IOException;
    
        /**
         * Connect to a remote RDMA endpoint
         *
         * @param hostname remote hostname or IP address
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            try (RdmaConnection connection = provider.createConnection(mockAddress, null)) {
                assertNotNull(connection, "Connection should not be null");
                assertEquals(mockAddress, connection.getRemoteAddress(), "Remote address should match");
    
                // Test connection state transitions
                RdmaConnection.RdmaConnectionState initialState = connection.getState();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.smb2.rdma.RdmaAccess;
    import jcifs.internal.smb2.rdma.RdmaCapability;
    import jcifs.internal.smb2.rdma.RdmaConnection;
    import jcifs.internal.smb2.rdma.RdmaMemoryRegion;
    
    /**
     * Unit tests for TCP RDMA provider
     */
    public class TcpRdmaProviderTest {
    
        private TcpRdmaProvider provider;
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

    import java.net.SocketTimeoutException;
    import java.nio.ByteBuffer;
    import java.nio.channels.SocketChannel;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.internal.smb2.rdma.RdmaConnection;
    import jcifs.internal.smb2.rdma.RdmaMemoryRegion;
    import jcifs.internal.smb2.rdma.RdmaNegotiateRequest;
    import jcifs.internal.smb2.rdma.RdmaNegotiateResponse;
    
    /**
     * TCP-based RDMA connection implementation.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top