Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isUsableForChannel (0.18 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

        void testIsUsableForChannel() {
            NetworkInterfaceInfo usable = new NetworkInterfaceInfo(testAddress, 1000);
            assertTrue(usable.isUsableForChannel());
    
            NetworkInterfaceInfo loopback = new NetworkInterfaceInfo(loopbackAddress, 1000);
            assertFalse(loopback.isUsableForChannel());
        }
    
        @Test
        void testGetScore() {
            NetworkInterfaceInfo basic = new NetworkInterfaceInfo(testAddress, 1000);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

            this.rssCapable = checkRSSCapability();
            if (rssCapable) {
                this.capability |= NETWORK_INTERFACE_CAP_RSS;
            }
        }
        
        public boolean isUsableForChannel() {
            return address != null && !address.isLoopbackAddress() 
                && !address.isLinkLocalAddress();
        }
        
        public int getScore() {
            // Score interface for selection (higher is better)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            response.decode(data, 0, data.length);
    
            for (NetworkInterfaceInfo info : response.getInterfaces()) {
                if (info.isUsableForChannel()) {
                    remoteInterfaces.add(info);
                }
            }
    
            // Sort by score (best interfaces first)
            remoteInterfaces.sort((a, b) -> Integer.compare(b.getScore(), a.getScore()));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            return rdmaCapable;
        }
    
        /**
         * Check if this interface is usable for multi-channel
         *
         * @return true if usable
         */
        public boolean isUsableForChannel() {
            return address != null && !address.isLoopbackAddress() && !address.isLinkLocalAddress();
        }
    
        /**
         * Get a score for interface selection (higher is better)
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top