fix(hoststack): Do not limit number of RX queues 77/40977/2
authorVratko Polak <[email protected]>
Tue, 28 May 2024 13:50:02 +0000 (15:50 +0200)
committerVratko Polak <[email protected]>
Tue, 28 May 2024 13:50:02 +0000 (15:50 +0200)
This makes most scale hoststack tests correctly use both sibling cores.

- Except quic multi-client ones, which start failing instead.
 - To be fixed later.
 - VPP startup.conf looks correct to me.
 - All quic tests suffer from CSIT-1935 so no big loss.

Change-Id: If22c01651140865e188733039890f1fb0ceaa57a
Signed-off-by: Vratko Polak <[email protected]>
resources/libraries/robot/hoststack/hoststack.robot

index 0b82ff2..ece1d8a 100644 (file)
@@ -31,7 +31,6 @@
 | ${quic_crypto_engine}= | nocrypto
 | ${quic_fifo_size}= | 4M
 | &{vpp_hoststack_attr}=
-| ... | rxq=${1}
 | ... | rxd=${256}
 | ... | txd=${256}
 | ... | phy_cores=${1}
 | | ... | Set the VPP HostStack attributes in the vpp_hoststack_attr dictionary.
 | |
 | | ... | *Arguments:*
-| | ... | - ${rxq} - Number of Rx Queues Type: int
 | | ... | - ${rxd} - Number of Rx Descriptors Type: int
 | | ... | - ${txd} - Number of Tx Descriptors Type: int
 | | ... | - ${phy_cores} - Number of cores for workers Type: int
 | | ... | \| Set VPP Hoststack Attributes \| phy_cores=${phy_cores} \|
 | |
 | | [Arguments]
-| | ... | ${rxq}=${vpp_hoststack_attr}[rxq]
 | | ... | ${rxd}=${vpp_hoststack_attr}[rxd]
 | | ... | ${txd}=${vpp_hoststack_attr}[txd]
 | | ... | ${phy_cores}=${vpp_hoststack_attr}[phy_cores]
 | | ... | ${sess_lendpt_buckets}=${vpp_hoststack_attr}[sess_lendpt_buckets]
 | | ... | ${sess_lendpt_mem}=${vpp_hoststack_attr}[sess_lendpt_mem]
 | |
-| | Set To Dictionary | ${vpp_hoststack_attr} | rxq | ${rxq}
 | | Set To Dictionary | ${vpp_hoststack_attr} | rxd | ${rxd}
 | | Set To Dictionary | ${vpp_hoststack_attr} | txd | ${txd}
 | | Set To Dictionary | ${vpp_hoststack_attr} | phy_cores | ${phy_cores}
 | |
 | | Set Max Rate And Jumbo
 | | Add worker threads to all DUTs
-| | ... | ${vpp_hoststack_attr}[phy_cores] | ${vpp_hoststack_attr}[rxq]
-| | ... | ${vpp_hoststack_attr}[rxd] | ${vpp_hoststack_attr}[txd]
+| | ... | ${vpp_hoststack_attr}[phy_cores]
+| | ... | rxd=${vpp_hoststack_attr}[rxd] | txd=${vpp_hoststack_attr}[txd]
 | | Pre-initialize layer driver | ${nic_driver}
 | | FOR | ${dut} | IN | @{duts}
 | | | Import Library | resources.libraries.python.VppConfigGenerator