3.2. dpdk

3.2.1. default suite

3.2.1.1. Start testpmd on all DUTs

Start the testpmd with M worker threads and rxqueues N and jumbo support frames on/off on all DUTs. Arguments: - phy_cores - Number of physical cores to use. Type: integer - rx_queues - Number of RX queues. Type: integer - jumbo_frames - Jumbo frames on/off: boolean - rxd - Number of RX descriptors. Type: integer - txd - Number of TX descriptors. Type: integer Example: | Start testpmd on all DUTs | ${1} | ${1} | ${False} |


${cpu_count_int}  Convert to Integer  ${phy_cores}
${dp_count_int}  Convert to Integer  ${phy_cores}
${dp_cores}=  Evaluate  ${cpu_count_int}+1
FOR  ${dut}  IN  @{duts}
\    &{compute_resource_info}=  Get Affinity Vswitch  ${nodes}  ${dut}  ${phy_cores}  rx_queues=${rx_queues}  rxd=${rxd}  txd=${txd}
\    Set Test Variable  &{compute_resource_info}
\    Create compute resources variables
\    Start testpmd  ${nodes['${dut}']}  ${${dut}_pf1}[0]  ${${dut}_pf2}[0]  ${cpu_dp}  ${dp_count_int}  ${rxq_count_int}  ${jumbo_frames}  ${nic_rxq_size}  ${nic_txq_size}
FOR  ${dut}  IN  @{duts}
\    Check testpmd  ${nodes['${dut}']}

3.2.1.2. Start l3fwd on all DUTs

Start the l3fwd with M worker threads and rxqueues N and jumbo support frames on/off on all DUTs. Arguments: - phy_cores - Number of physical cores to use. Type: integer - rx_queues - Number of RX queues. Type: integer - jumbo_frames - Jumbo frames on/off: boolean - rxd - Number of RX descriptors. Type: integer - txd - Number of TX descriptors. Type: integer Example: | Start l3fwd on all DUTs | ${1} | ${1} | ${False} |


${cpu_count_int}  Convert to Integer  ${phy_cores}
${dp_count_int}  Convert to Integer  ${phy_cores}
${dp_cores}=  Evaluate  ${cpu_count_int}+1
FOR  ${dut}  IN  @{duts}
\    &{compute_resource_info}=  Get Affinity Vswitch  ${nodes}  ${dut}  ${phy_cores}  rx_queues=${rx_queues}  rxd=${rxd}  txd=${txd}
\    Set Test Variable  &{compute_resource_info}
\    Create compute resources variables
\    Start l3fwd  ${nodes}  ${nodes['${dut}']}  ${${dut}_pf1}[0]  ${${dut}_pf2}[0]  ${cpu_dp}  ${dp_count_int}  ${rxq_count_int}  ${jumbo_frames}
FOR  ${dut}  IN  @{duts}
\    Check l3fwd  ${nodes['${dut}']}