diff options
Diffstat (limited to 'resources/libraries/robot/shared')
-rw-r--r-- | resources/libraries/robot/shared/default.robot | 3 | ||||
-rw-r--r-- | resources/libraries/robot/shared/interfaces.robot | 12 |
2 files changed, 7 insertions, 8 deletions
diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot index 2dc78941b3..094d277a11 100644 --- a/resources/libraries/robot/shared/default.robot +++ b/resources/libraries/robot/shared/default.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Cisco and/or its affiliates. +# Copyright (c) 2025 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -149,7 +149,6 @@ | | | Run Keyword | ${dut}.Add Unix Log | | | Run Keyword | ${dut}.Add Unix CLI Listen | | | Run Keyword | ${dut}.Add Unix CLI No Pager -| | | Run Keyword | ${dut}.Add Unix GID | | | Run Keyword | ${dut}.Add API Segment Prefix | ${dut} | | | Run Keyword | ${dut}.Add Unix Coredump | | | Run Keyword | ${dut}.Add Socksvr | ${SOCKSVR_PATH} diff --git a/resources/libraries/robot/shared/interfaces.robot b/resources/libraries/robot/shared/interfaces.robot index b4d6959d01..dfb6482859 100644 --- a/resources/libraries/robot/shared/interfaces.robot +++ b/resources/libraries/robot/shared/interfaces.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Cisco and/or its affiliates. +# Copyright (c) 2025 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -145,11 +145,9 @@ | | | Run Keyword | ${dut}.Add DPDK Uio Driver | vfio-pci | | | Run Keyword | ${dut}.Add DPDK Dev Default RXQ | ${rxq_count_int} | | | Run Keyword If | '${nic_name}' == 'Amazon-Nitro-100G' -| | | ... | ${dut}.Add DPDK Dev Default Devargs | -| | | ... | "normal_llq_hdr=1,enable_llq=1,control_path_poll_interval=0" +| | | ... | ${dut}.Add DPDK Dev Default Devargs | "llq_policy=2" | | | Run Keyword If | '${nic_name}' == 'Amazon-Nitro-200G' -| | | ... | ${dut}.Add DPDK Dev Default Devargs | -| | | ... | "normal_llq_hdr=1,enable_llq=1,control_path_poll_interval=0" +| | | ... | ${dut}.Add DPDK Dev Default Devargs | "llq_policy=2" | | | Run Keyword If | not ${jumbo} | | | ... | ${dut}.Add DPDK No Multi Seg | | | Run Keyword If | ${nic_rxq_size} > 0 @@ -375,7 +373,7 @@ | Initialize layer avf on node | | [Documentation] -| | ... | Initialize AVF (Intel) interfaces on DUT on NIC PF. +| | ... | Initialize AVF (Intel) interfaces on DUT on NIC PF. Set MTU. | | | | ... | *Arguments:* | | ... | - dut - DUT node. Type: string @@ -408,6 +406,8 @@ | | | Set List Value | ${${dut}_vf${pf}_mac} | ${vf} | ${_mac} | | | Set List Value | ${${dut}_vf${pf}_pci} | ${vf} | ${_pci} | | | Set List Value | ${${dut}_vf${pf}_vlan} | ${vf} | ${_vlan} +| | | VPP Set Interface MTU | ${nodes['${dut}']} +| | | ... | ${${dut}_vf${pf}}[${vf}] | mtu=${recommended_mtu} | | END | Initialize layer af_xdp on node |