File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
ProtocolTestManager/Plugins/SMBDPlugin/SMBDPlugin Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -220,12 +220,12 @@ public List<CaseSelectRule> GetSelectedRules()
220220 selectedRules . Add ( GenerateRule ( "Priority.Non-BVT" , true ) ) ;
221221
222222 // select SMBD related cases if RDMA cards of both nodes are detected
223- bool isSMBDsupported = detectionInfo . DriverRdmaNICIPAddress != null && detectionInfo . SUTRdmaNICIPAddress != null ;
224- selectedRules . Add ( GenerateRule ( "Feature.SMBD.SMBD Negotiate" , isSMBDsupported ) ) ;
225- selectedRules . Add ( GenerateRule ( "Feature.SMBD.SMBD Credits Management" , isSMBDsupported ) ) ;
226- selectedRules . Add ( GenerateRule ( "Feature.SMBD.SMBD Data Transfer" , isSMBDsupported ) ) ;
223+ bool bothRdmaNicsdetected = detectionInfo . DriverRdmaNICIPAddress != null && detectionInfo . SUTRdmaNICIPAddress != null ;
224+ selectedRules . Add ( GenerateRule ( "Feature.SMBD.SMBD Negotiate" , bothRdmaNicsdetected ) ) ;
225+ selectedRules . Add ( GenerateRule ( "Feature.SMBD.SMBD Credits Management" , bothRdmaNicsdetected ) ) ;
226+ selectedRules . Add ( GenerateRule ( "Feature.SMBD.SMBD Data Transfer" , bothRdmaNicsdetected ) ) ;
227227
228- if ( isSMBDsupported )
228+ if ( bothRdmaNicsdetected )
229229 {
230230 // select RDMA Channel if RDMA transport is supported
231231 selectedRules . Add ( GenerateRule ( "Feature.SMB2 over SMBD.SMB 30.RDMA Channel" , detectionInfo . RDMATransportSupported ) ) ;
You can’t perform that action at this time.
0 commit comments