From 9a054248197bdaed71b32e9d9c0ac621bf89c1cd Mon Sep 17 00:00:00 2001 From: Robert Wojciechowicz Date: Wed, 9 Dec 2015 10:07:38 +0000 Subject: Add testpmd as vswitch class The purpose of using testpmd instead of OVS is to get the baseline of the DUT when performing hardware offloading operations. There are supported different checksum calculation and txq flags settings. Change-Id: I93c9b45dcb31eaa1f610b7e061f3dd5936b0e6ec JIRA: VSPERF-193 Signed-off-by: Robert Wojciechowicz Reviewed-by: Dino Simeon Madarang Reviewed-by: Maryam Tahhan Reviewed-by: Brian Castelli --- docs/userguides/quickstart.rst | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) (limited to 'docs/userguides') diff --git a/docs/userguides/quickstart.rst b/docs/userguides/quickstart.rst index e93a040f..caf3be04 100755 --- a/docs/userguides/quickstart.rst +++ b/docs/userguides/quickstart.rst @@ -343,6 +343,52 @@ Guest loopback application must be configured, otherwise traffic will not be forwarded by VM and testcases with PVP and PVVP deployments will fail. Guest loopback application is set to 'testpmd' by default. +Executing Packet Forwarding tests +----------------------------------- + +To select application, which will perform packet forwarding, +following configuration parameter should be configured: + + .. code-block:: console + + VSWITCH = 'none' + PKTFWD = 'TestPMD' + + or use --vswitch and --fwdapp + + ./vsperf --conf-file user_settings.py + --vswitch none + --fwdapp TestPMD + +Supported Packet Forwarding applications are: + + .. code-block:: console + + 'testpmd' - testpmd from dpdk + + +1. Update your ''10_custom.conf'' file to use the appropriate variables +for selected Packet Forwarder: + .. code-block:: console + + # testpmd configuration + TESTPMD_ARGS = [] + # packet forwarding mode: io|mac|mac_retry|macswap|flowgen|rxonly|txonly|csum|icmpecho + TESTPMD_FWD_MODE = 'csum' + # checksum calculation layer: ip|udp|tcp|sctp|outer-ip + TESTPMD_CSUM_LAYER = 'ip' + # checksum calculation place: hw (hardware) | sw (software) + TESTPMD_CSUM_CALC = 'sw' + # recognize tunnel headers: on|off + TESTPMD_CSUM_PARSE_TUNNEL = 'off' + +2. Run test: + + .. code-block:: console + + ./vsperf --conf-file + + Code change verification by pylint ---------------------------------- Every developer participating in VSPERF project should run -- cgit 1.2.3-korg