Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for registerMemory (0.61 sec)

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

            for (int i = 0; i < initialSendBuffers; i++) {
                try {
                    ByteBuffer buffer = ByteBuffer.allocateDirect(sendBufferSize);
                    RdmaMemoryRegion region = provider.registerMemory(buffer, EnumSet.of(RdmaAccess.LOCAL_READ, RdmaAccess.REMOTE_READ));
                    availableSendRegions.offer(region);
                    totalAllocated.incrementAndGet();
                } catch (IOException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

        @BeforeEach
        public void setUp() throws Exception {
            mocks = MockitoAnnotations.openMocks(this);
    
            // Set up mock provider to return TCP memory regions
            when(mockProvider.registerMemory(any(ByteBuffer.class), any())).thenAnswer(invocation -> {
                ByteBuffer buffer = invocation.getArgument(0);
                EnumSet<RdmaAccess> access = invocation.getArgument(1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. docs/smb3-features/05-rdma-smb-direct-design.md

                                       InetSocketAddress local) throws IOException;
        
        /**
         * Register memory region for RDMA operations
         */
        RdmaMemoryRegion registerMemory(ByteBuffer buffer, 
                                       EnumSet<RdmaAccess> access) throws IOException;
        
        /**
         * Get provider name (e.g., "InfiniBand", "iWARP", "RoCE")
         */
        String getProviderName();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java

            RdmaConnection connection = createConnection(remoteAddress, null);
            connection.connect();
            return connection;
        }
    
        @Override
        public RdmaMemoryRegion registerMemory(ByteBuffer buffer, EnumSet<RdmaAccess> access) throws IOException {
            // TCP doesn't need real memory registration
            return new TcpMemoryRegion(buffer, access);
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java

            RdmaConnection connection = createConnection(remoteAddress, null);
            connection.connect();
            return connection;
        }
    
        @Override
        public RdmaMemoryRegion registerMemory(ByteBuffer buffer, EnumSet<RdmaAccess> access) throws IOException {
            ensureInitialized();
            return new DisniMemoryRegion(buffer, access, endpoint);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

         * @param access access permissions for the memory region
         * @return registered memory region
         * @throws IOException if memory registration fails
         */
        RdmaMemoryRegion registerMemory(ByteBuffer buffer, EnumSet<RdmaAccess> access) throws IOException;
    
        /**
         * Get provider name (e.g., "InfiniBand", "iWARP", "RoCE", "TCP Fallback")
         *
         * @return human-readable provider name
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

            this.endpoint = endpoint;
    
            // In real implementation, this would register the memory:
            // try {
            //     int accessFlags = convertAccessFlags(access);
            //     memoryRegister = endpoint.registerMemory(buffer, accessFlags).execute().free();
            // } catch (Exception e) {
            //     throw new RuntimeException("Failed to register memory region", e);
            // }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

            ByteBuffer buffer = ByteBuffer.allocateDirect(1024);
            EnumSet<RdmaAccess> access = EnumSet.of(RdmaAccess.LOCAL_READ, RdmaAccess.LOCAL_WRITE);
    
            RdmaMemoryRegion region = provider.registerMemory(buffer, access);
            assertNotNull(region, "Memory region should not be null");
            assertEquals(buffer, region.getBuffer(), "Buffer should match");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top