Skip to content

Commit 2c6fd54

Browse files
Update TRexClient.java
1 parent 6a9d579 commit 2c6fd54

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/main/java/com/cisco/trex/stateless/TRexClient.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -347,10 +347,7 @@ public void removeRxQueue(int portIndex) {
347347
callMethod("set_rx_feature", payload);
348348
}
349349

350-
/**
351-
* Set promiscuous mode
352-
* Enable interface to receive packets from all mac addresses
353-
*/
350+
/** Set promiscuous mode, Enable interface to receive packets from all mac addresses */
354351
public void setPromiscuousMode(int portIndex, boolean enabled) {
355352
Map<String, Object> payload = createPayload(portIndex);
356353
Map<String, Object> attributes = new HashMap<>();
@@ -361,10 +358,7 @@ public void setPromiscuousMode(int portIndex, boolean enabled) {
361358
callMethod("set_port_attr", payload);
362359
}
363360

364-
/**
365-
* Set flow control mode
366-
* Flow control: 0 = none, 1 = tx, 2 = rx, 3 = full
367-
*/
361+
/** Set flow control mode, Flow control: 0 = none, 1 = tx, 2 = rx, 3 = full */
368362
public void setFlowControlMode(int portIndex, int mode) {
369363
Map<String, Object> payload = createPayload(portIndex);
370364
Map<String, Object> attributes = new HashMap<>();

0 commit comments

Comments
 (0)