From da5b1633255f904f7d4f4c38c52df2f7f8e74092 Mon Sep 17 00:00:00 2001 From: Antonio Fischetti Date: Thu, 11 Aug 2016 12:59:46 +0100 Subject: CLI: add Multiqueue params. This patch implements the following new CLI parameters that can be used in the --test-params list. 1. guest_nic_queues, which overrides all GUEST_NIC_QUEUES values 2. guest_testpmd_txq, which overrides all GUEST_TESTPMD_TXQ 3. guest_testpmd_rxq, which overrides all GUEST_TESTPMD_RXQ 4. guest_testpmd_nb_cores, which overrides all GUEST_TESTPMD_NB_CORES values 5. guest_testpmd_cpu_mask, which overrides all GUEST_TESTPMD_CPU_MASK values 6. vswitch_dpdk_multi_queues, which overrides VSWITCH_DPDK_MULTI_QUEUES 7. guest_smp, which overrides all GUEST_SMP values 8. guest_core_binding, which overrides all GUEST_CORE_BINDING values When they are present in the CLI the corresponding settings from the configuration files will be overridden. As an example a usage can be: ./vsperf --test-params "guest_nic_queues=2;guest_testpmd_txq=1;\ guest_testpmd_rxq=1;guest_testpmd_nb_cores=1"... v2: rebase + rework to add other CLI params as suggested and update doc. v3: changes in 'testusage.rst' doc. JIRA: VSPERF-371 Change-Id: I140d6e068c1653d21aaa0df27532a48c4a12c151 Signed-off-by: Antonio Fischetti Reviewed-by: Maryam Tahhan Reviewed-by: Martin Klozik --- docs/userguide/testusage.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/userguide') diff --git a/docs/userguide/testusage.rst b/docs/userguide/testusage.rst index 3c5cc4d4..9648569f 100755 --- a/docs/userguide/testusage.rst +++ b/docs/userguide/testusage.rst @@ -518,6 +518,18 @@ environment. on the same numa as the NIC in use if possible/applicable. Testpmd should be assigned at least (nb_cores +1) total cores with the cpu mask. +The following CLI parameters override the corresponding configuration settings: + 1. guest_nic_queues, which overrides all GUEST_NIC_QUEUES values + 2. guest_testpmd_txq, which overrides all GUEST_TESTPMD_TXQ + 3. guest_testpmd_rxq, which overrides all GUEST_TESTPMD_RXQ + 4. guest_testpmd_nb_cores, which overrides all GUEST_TESTPMD_NB_CORES + values + 5. guest_testpmd_cpu_mask, which overrides all GUEST_TESTPMD_CPU_MASK + values + 6. vswitch_dpdk_multi_queues, which overrides VSWITCH_DPDK_MULTI_QUEUES + 7. guest_smp, which overrides all GUEST_SMP values + 8. guest_core_binding, which overrides all GUEST_CORE_BINDING values + Executing Packet Forwarding tests ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- cgit 1.2.3-korg