aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2020-04-23 16:10:06 +0000
committerPeter Mikus <pmikus@cisco.com>2020-04-27 13:57:12 +0000
commit1c1d5cbe67254f0457d8f27acb32882eded47b67 (patch)
treeccd9e01cc8cb2117da1ef8c2fb119e848916ad2a /resources/libraries/robot
parentfcce2ca13e7dacebf719fd9f7a6dcc8fb24f56ef (diff)
Performance: MLX best practice
- Part II Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I869a3d7e051dcbae3a230d4646219e70e5de2e87
Diffstat (limited to 'resources/libraries/robot')
-rw-r--r--resources/libraries/robot/shared/interfaces.robot13
1 files changed, 11 insertions, 2 deletions
diff --git a/resources/libraries/robot/shared/interfaces.robot b/resources/libraries/robot/shared/interfaces.robot
index 195ba10472..7d27ac563c 100644
--- a/resources/libraries/robot/shared/interfaces.robot
+++ b/resources/libraries/robot/shared/interfaces.robot
@@ -145,9 +145,14 @@
| Pre-initialize layer rdma-core on all DUTs
| | [Documentation]
-| | ... | Pre-initialize rdma-core driver. Currently no operation.
+| | ... | Pre-initialize rdma-core driver.
| |
-| | No operation
+| | FOR | ${dut} | IN | @{duts}
+| | | Set Interface Flow Control
+| | | ... | ${nodes['${dut}']} | ${${dut}_pf_pci} | rx="off" | tx="off"
+| | | Set PCI Parameter
+| | | ... | ${nodes['${dut}']} | ${${dut}_pf_pci} | key="68.w" | value="3BCD"
+| | END
| Pre-initialize layer mlx5_core on all DUTs
| | [Documentation]
@@ -158,6 +163,10 @@
| | | ... | Set Interface MTU | ${nodes['${dut}']} | ${${dut}_pf_pci} | mtu=9200
| | | ... | ELSE
| | | ... | Set Interface MTU | ${nodes['${dut}']} | ${${dut}_pf_pci} | mtu=1500
+| | | Set Interface Flow Control
+| | | ... | ${nodes['${dut}']} | ${${dut}_pf_pci} | rx="off" | tx="off"
+| | | Set PCI Parameter
+| | | ... | ${nodes['${dut}']} | ${${dut}_pf_pci} | key="68.w" | value="3BCD"
| | END
| Initialize layer driver