aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-06-28 22:14:51 +0200
committerPeter Mikus <pmikus@cisco.com>2017-07-04 04:19:06 +0000
commit036e5a85bab081bfa94b8c025c06aee0addb94cb (patch)
treea2e5ca1a274d5d08bcff3c8f15f1348c50ecb62f /resources/libraries/robot
parent9e8d4d47cc09daa4bf44103d3f1e32206ff55556 (diff)
XL710 Configure rxd/txd 2048
Configure RX-desc and TX-desc to 2048 for FVL XL710 cards. Change-Id: I1876f332bdc6100bf24f2b2317de33c0d1a4c9bf Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/robot')
-rw-r--r--resources/libraries/robot/shared/default.robot34
1 files changed, 34 insertions, 0 deletions
diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot
index 96bdd5344e..3d1ce25732 100644
--- a/resources/libraries/robot/shared/default.robot
+++ b/resources/libraries/robot/shared/default.robot
@@ -220,6 +220,40 @@
| | :FOR | ${dut} | IN | @{duts}
| | | Run keyword | ${dut}.Add DPDK No Multi Seg
+| Add DPDK dev default RXD to all DUTs
+| | [Documentation] | Add DPDK num-rx-desc to VPP startup configuration to all
+| | ... | DUTs.
+| | ...
+| | ... | *Arguments:*
+| | ... | - rxd - Number of RX descriptors. Type: string
+| | ...
+| | ... | *Example:*
+| | ...
+| | ... | \| Add DPDK dev default RXD to all DUTs \| ${rxd} \|
+| | ...
+| | [Arguments] | ${rxd}
+| | ...
+| | ${duts}= | Get Matches | ${nodes} | DUT*
+| | :FOR | ${dut} | IN | @{duts}
+| | | Run keyword | ${dut}.Add DPDK Dev Default RXD | ${rxd}
+
+| Add DPDK dev default TXD to all DUTs
+| | [Documentation] | Add DPDK num-tx-desc to VPP startup configuration to all
+| | ... | DUTs.
+| | ...
+| | ... | *Arguments:*
+| | ... | - txd - Number of TX descriptors. Type: string
+| | ...
+| | ... | *Example:*
+| | ...
+| | ... | \| Add DPDK dev default TXD to all DUTs \| ${txd} \|
+| | ...
+| | [Arguments] | ${txd}
+| | ...
+| | ${duts}= | Get Matches | ${nodes} | DUT*
+| | :FOR | ${dut} | IN | @{duts}
+| | | Run keyword | ${dut}.Add DPDK Dev Default TXD | ${txd}
+
| Add SNAT to all DUTs
| | [Documentation] | Add SNAT configuration to all DUTs.
| | ...