* [dts] [PATCH V1]test_plan: revise l3fwd test plan
@ 2019-06-11 14:12 hanyingya
2019-06-12 6:21 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: hanyingya @ 2019-06-11 14:12 UTC (permalink / raw)
To: dts; +Cc: hanyingya
Signed-off-by: hanyingya <yingyax.han@intel.com>
---
test_plans/l3fwd_test_plan.rst | 449 +++++++++++++++++++--------------
1 file changed, 256 insertions(+), 193 deletions(-)
diff --git a/test_plans/l3fwd_test_plan.rst b/test_plans/l3fwd_test_plan.rst
index ceb449f..a342401 100644
--- a/test_plans/l3fwd_test_plan.rst
+++ b/test_plans/l3fwd_test_plan.rst
@@ -1,4 +1,4 @@
-.. Copyright (c) <2011-2017>, Intel Corporation
+.. Copyright (c) <2011-2019>, Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -76,104 +76,175 @@ Prerequisites
4. Software application requirements
-5. If using vfio the kernel must be >= 3.6+ and VT-d must be enabled in bios.When
- using vfio, use the following commands to load the vfio driver and bind it
- to the device under test::
-
- modprobe vfio
- modprobe vfio-pci
- usertools/dpdk-devbind.py --bind=vfio-pci device_bus_id
-
-- In LPM mode, the LPM table used for packet routing is:
-
-|
-
-+-------+----------------------+-----------+
-| # |LPM prefix (IP/length)|Output port|
-+-------+----------------------+-----------+
-| 0 | 10.100.0.0/24 | P1 |
-+-------+----------------------+-----------+
-| 1 | 10.101.0.0/24 | P1 |
-+-------+----------------------+-----------+
-| 2 | 11.100.0.0/24 | P2 |
-+-------+----------------------+-----------+
-| 3 | 11.101.0.0/24 | P2 |
-+-------+----------------------+-----------+
-| 4 | 12.100.0.0/24 | P3 |
-+-------+----------------------+-----------+
-| 5 | 12.101.0.0/24 | P3 |
-+-------+----------------------+-----------+
-| 6 | 13.100.0.0/24 | P4 |
-+-------+----------------------+-----------+
-| 7 | 13.101.0.0/24 | P4 |
-+-------+----------------------+-----------+
-
-|
-
-- In hash mode, the hash table used for packet routing is:
-
-|
-
-+-------+-------------+---------+-------------+-----------+-----------+--------+
-| Entry | IPv4 | IPv4 | Port | Port | L4 | Output |
-| # | destination | source | destination | source | protocol | port |
-| | address | address | | | | |
-+-------+-------------+---------+-------------+-----------+-----------+--------+
-| 0 | 10.100.0.1 | 1.2.3.4 | 10 | 1 | UDP | P1 |
-+-------+-------------+---------+-------------+-----------+-----------+--------+
-| 1 | 10.101.0.1 | 1.2.3.4 | 10 | 1 | UDP | P1 |
-+-------+-------------+---------+-------------+-----------+-----------+--------+
-| 2 | 11.100.0.1 | 1.2.3.4 | 11 | 1 | UDP | P2 |
-+-------+-------------+---------+-------------+-----------+-----------+--------+
-| 3 | 11.101.0.1 | 1.2.3.4 | 11 | 1 | UDP | P2 |
-+-------+-------------+---------+-------------+-----------+-----------+--------+
-| 4 | 12.100.0.1 | 1.2.3.4 | 12 | 1 | UDP | P3 |
-+-------+-------------+---------+-------------+-----------+-----------+--------+
-| 5 | 12.101.0.1 | 1.2.3.4 | 12 | 1 | UDP | P3 |
-+-------+-------------+---------+-------------+-----------+-----------+--------+
-| 6 | 13.100.0.1 | 1.2.3.4 | 13 | 1 | UDP | P0 |
-+-------+-------------+---------+-------------+-----------+-----------+--------+
-| 7 | 13.101.0.1 | 1.2.3.4 | 13 | 1 | UDP | P0 |
-+-------+-------------+---------+-------------+-----------+-----------+--------+
-
-|
+ - Configuration for mode
+
+ -The following Settings are required when using exact mode::
+
+ sed -i '/^APP\>/a\\CFLAGS += -DAPP_LOOKUP_METHOD=APP_LOOKUP_EXACT_MATCH' examples/l3fwd/Makefile
+
+ -The following Settings are required when using LPM mode::
+
+ sed -i '/^APP\>/a\\CFLAGS += -DAPP_LOOKUP_METHOD=APP_LOOKUP_LPM' examples/l3fwd/Makefile
+
+ - Routing table for IPv4 packets
+ - In LPM mode, the LPM table used for packet routing is:
+
+ +-------+-----------------------+-----------+
+ | # | LPM prefix (IP/length)|Output port|
+ +=======+=======================+===========+
+ | 0 | 10.100.0.0/24 | P1 |
+ +-------+-----------------------+-----------+
+ | 1 | 10.101.0.0/24 | P1 |
+ +-------+-----------------------+-----------+
+ | 2 | 11.100.0.0/24 | P2 |
+ +-------+-----------------------+-----------+
+ | 3 | 11.101.0.0/24 | P2 |
+ +-------+-----------------------+-----------+
+ | 4 | 12.100.0.0/24 | P3 |
+ +-------+-----------------------+-----------+
+ | 5 | 12.101.0.0/24 | P3 |
+ +-------+-----------------------+-----------+
+ | 6 | 13.100.0.0/24 | P4 |
+ +-------+-----------------------+-----------+
+ | 7 | 13.101.0.0/24 | P4 |
+ +-------+-----------------------+-----------+
+
+ - In EM mode, the EM table used for packet routing is:
+
+ +-------+-------------+---------+-------------+-----------+-----------+--------+
+ | Entry | IPv4 | IPv4 | Port | Port | L4 | Output |
+ | # | destination | source | destination | source | protocol | port |
+ | | address | address | | | | |
+ +=======+=============+=========+=============+===========+===========+========+
+ | 0 | 10.100.0.1 | 1.2.3.4 | 10 | 1 | UDP | P1 |
+ +-------+-------------+---------+-------------+-----------+-----------+--------+
+ | 1 | 10.101.0.1 | 1.2.3.4 | 10 | 1 | UDP | P1 |
+ +-------+-------------+---------+-------------+-----------+-----------+--------+
+ | 2 | 11.100.0.1 | 1.2.3.4 | 11 | 1 | UDP | P2 |
+ +-------+-------------+---------+-------------+-----------+-----------+--------+
+ | 3 | 11.101.0.1 | 1.2.3.4 | 11 | 1 | UDP | P2 |
+ +-------+-------------+---------+-------------+-----------+-----------+--------+
+ | 4 | 12.100.0.1 | 1.2.3.4 | 12 | 1 | UDP | P3 |
+ +-------+-------------+---------+-------------+-----------+-----------+--------+
+ | 5 | 12.101.0.1 | 1.2.3.4 | 12 | 1 | UDP | P3 |
+ +-------+-------------+---------+-------------+-----------+-----------+--------+
+ | 6 | 13.100.0.1 | 1.2.3.4 | 13 | 1 | UDP | P0 |
+ +-------+-------------+---------+-------------+-----------+-----------+--------+
+ | 7 | 13.101.0.1 | 1.2.3.4 | 13 | 1 | UDP | P0 |
+ +-------+-------------+---------+-------------+-----------+-----------+--------+
+
+ - Routing table for IPv6 packets
+ - In LPM mode, the LPM table used for packet routing is:
+
+ +-------+----------------------+-------------+
+ | # | LPM prefix (IPv6) | Output port |
+ +=======+======================+=============+
+ | 0 | 1:1:1:1:1:1:0:0 | P0 |
+ +-------+----------------------+-------------+
+ | 1 | 1:1:1:1:1:1:0:1 | P0 |
+ +-------+----------------------+-------------+
+ | 2 | 2:1:1:1:1:1:0:0 | P1 |
+ +-------+----------------------+-------------+
+ | 3 | 2:1:1:1:1:1:0:1 | P1 |
+ +-------+----------------------+-------------+
+ | 4 | 3:1:1:1:1:1:0:0 | P2 |
+ +-------+----------------------+-------------+
+ | 5 | 3:1:1:1:1:1:0:1 | P2 |
+ +-------+----------------------+-------------+
+ | 6 | 4:1:1:1:1:1:0:0 | P3 |
+ +-------+----------------------+-------------+
+ | 7 | 4:1:1:1:1:1:0:1 | P3 |
+ +-------+----------------------+-------------+
+
+ - In EM mode, the EM table used for packet routing is:
+
+ +-------+---------------------------+---------------------------+-------------+--------+----------+--------+
+ | Entry | IPv6 destination address | IPv6 source address | Port | Port | L4 | Output |
+ | | | | destination | source | protocol | port |
+ +=======+===========================+===========================+=============+========+==========+========+
+ | 0 | fe80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\| | | | |
+ | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 10 | 1 | UDP | P0 |
+ +-------+---------------------------+---------------------------+-------------+--------+----------+--------+
+ | 1 | fe80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\| | | | |
+ | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 10 | 1 | UDP | P0 |
+ +-------+---------------------------+---------------------------+-------------+--------+----------+--------+
+ | 2 | 2a80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\| | | | |
+ | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 11 | 1 | UDP | P1 |
+ +-------+---------------------------+---------------------------+-------------+--------+----------+--------+
+ | 3 | 2a80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\| | | | |
+ | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 11 | 1 | UDP | P1 |
+ +-------+---------------------------+---------------------------+-------------+--------+----------+--------+
+ | 4 | 2b80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\| | | | |
+ | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 12 | 1 | UDP | P2 |
+ +-------+---------------------------+---------------------------+-------------+--------+----------+--------+
+ | 5 | 2b80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\| | | | |
+ | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 12 | 1 | UDP | P2 |
+ +-------+---------------------------+---------------------------+-------------+--------+----------+--------+
+ | 6 | 2c80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\| | | | |
+ | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 13 | 1 | UDP | P3 |
+ +-------+---------------------------+---------------------------+-------------+--------+----------+--------+
+ | 7 | 2c80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\| | | | |
+ | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 13 | 1 | UDP | P3 |
+ +-------+---------------------------+---------------------------+-------------+--------+----------+--------+
5. Traffic generator requirements
The flows need to be configured and started by the traffic generator:
-|
-
-+------+---------+------------+---------+------+-------+--------+--------+
-| Flow | Traffic | IPv4 | IPv4 | Port | Port | L4 | NIC RX |
-| | Gen. | Src. | Dst. | Src. | Dest. | Proto. | Queue |
-| | Port | Address | Address | | | | (RSS) |
-+------+---------+------------+---------+------+-------+--------+--------+
-| 1 | TG0 | 10.100.0.1 | 1.2.3.4 | 10 | 1 | UDP | 0 |
-+------+---------+------------+---------+------+-------+--------+--------+
-| 2 | TG0 | 10.101.0.1 | 1.2.3.4 | 10 | 1 | UDP | 1 |
-+------+---------+------------+---------+------+-------+--------+--------+
-| 3 | TG1 | 11.100.0.1 | 1.2.3.4 | 11 | 1 | UDP | 0 |
-+------+---------+------------+---------+------+-------+--------+--------+
-| 4 | TG1 | 11.101.0.1 | 1.2.3.4 | 11 | 1 | UDP | 1 |
-+------+---------+------------+---------+------+-------+--------+--------+
-| 5 | TG2 | 12.100.0.1 | 1.2.3.4 | 12 | 1 | UDP | 0 |
-+------+---------+------------+---------+------+-------+--------+--------+
-| 6 | TG2 | 12.101.0.1 | 1.2.3.4 | 12 | 1 | UDP | 1 |
-+------+---------+------------+---------+------+-------+--------+--------+
-| 7 | TG3 | 13.100.0.1 | 1.2.3.4 | 13 | 1 | UDP | 0 |
-+------+---------+------------+---------+------+-------+--------+--------+
-| 8 | TG3 | 13.101.0.1 | 1.2.3.4 | 13 | 1 | UDP | 1 |
-+------+---------+------------+---------+------+-------+--------+--------+
-
-|
+ - IPv4 packets
+
+ +------+---------+------------+---------+------+-------+--------+--------+
+ | Flow | Traffic | IPv4 | IPv4 | Port | Port | L4 | NIC RX |
+ | | Gen. | Src. | Dst. | Src. | Dest. | Proto. | Queue |
+ | | Port | Address | Address | | | | (RSS) |
+ +======+=========+============+=========+======+=======+========+========+
+ | 1 | TG0 | 10.100.0.1 | 1.2.3.4 | 10 | 1 | UDP | 0 |
+ +------+---------+------------+---------+------+-------+--------+--------+
+ | 2 | TG0 | 10.101.0.1 | 1.2.3.4 | 10 | 1 | UDP | 1 |
+ +------+---------+------------+---------+------+-------+--------+--------+
+ | 3 | TG1 | 11.100.0.1 | 1.2.3.4 | 11 | 1 | UDP | 0 |
+ +------+---------+------------+---------+------+-------+--------+--------+
+ | 4 | TG1 | 11.101.0.1 | 1.2.3.4 | 11 | 1 | UDP | 1 |
+ +------+---------+------------+---------+------+-------+--------+--------+
+ | 5 | TG2 | 12.100.0.1 | 1.2.3.4 | 12 | 1 | UDP | 0 |
+ +------+---------+------------+---------+------+-------+--------+--------+
+ | 6 | TG2 | 12.101.0.1 | 1.2.3.4 | 12 | 1 | UDP | 1 |
+ +------+---------+------------+---------+------+-------+--------+--------+
+ | 7 | TG3 | 13.100.0.1 | 1.2.3.4 | 13 | 1 | UDP | 0 |
+ +------+---------+------------+---------+------+-------+--------+--------+
+ | 8 | TG3 | 13.101.0.1 | 1.2.3.4 | 13 | 1 | UDP | 1 |
+ +------+---------+------------+---------+------+-------+--------+--------+
+
+ - IPv6 packets
+
+ +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
+ | Entry | Traffic Gen.| IPv6 Src address | IPv6 Dest address | Port | Port | L4 | RX Queue |
+ | | Port | address | address | Src. | Dest. | Proto.| (RSS) |
+ +=======+=============+===================+===================+======+=======+=======+==========+
+ | 1 | TG0 | 1:1:1:1:1:1:0:0 | 1:2:3:4:5:6:7:8 | 10 | 1 | UDP | 0 |
+ +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
+ | 2 | TG0 | 1:1:1:1:1:1:0:1 | 1:2:3:4:5:6:7:8 | 10 | 1 | UDP | 1 |
+ +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
+ | 3 | TG1 | 2:1:1:1:1:1:0:0 | 1:2:3:4:5:6:7:8 | 11 | 1 | UDP | 0 |
+ +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
+ | 4 | TG1 | 2:1:1:1:1:1:0:1 | 1:2:3:4:5:6:7:8 | 11 | 1 | UDP | 1 |
+ +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
+ | 5 | TG2 | 3:1:1:1:1:1:0:0 | 1:2:3:4:5:6:7:8 | 12 | 1 | UDP | 0 |
+ +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
+ | 6 | TG2 | 3:1:1:1:1:1:0:1 | 1:2:3:4:5:6:7:8 | 12 | 1 | UDP | 1 |
+ +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
+ | 7 | TG3 | 4:1:1:1:1:1:0:0 | 1:2:3:4:5:6:7:8 | 13 | 1 | UDP | 0 |
+ +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
+ | 8 | TG3 | 4:1:1:1:1:1:0:1 | 1:2:3:4:5:6:7:8 | 13 | 1 | UDP | 1 |
+ +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
+
The queue column represents the expected NIC port RX queue where the packet
should be written by the NIC hardware when RSS is enabled for that port.
-Test Case: Layer-3 Forwarding (in Hash or LPM Mode)
-===================================================
+Test Case: Layer-3 Forwarding (in EM/LPM Mode) with IPv4/IPv6 Packets
+=====================================================================
The following items are configured through the command line interface of the
application:
@@ -185,113 +256,105 @@ application:
The test report should provide the throughput rate measurements (in mpps
and % of the line rate for 4x NIC ports) as listed in the table below:
-|
-
-+----+---------+---------+-------------+---------+----------+------------------+------------------+
-| # |Number of|Total |Number |Total |Number | Throughput Rate | Throughput Rate |
-| |RX Queues|Number of|of Sockets/ |Number of|of NIX RX | LPM Mode | Hash Mode |
-| |per NIC |NIC RX |Cores/Threads|Threads |Queues per+------------------+------------------+
-| |Port |Queues | | |Thread | mpps | % | mpps | % |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-| 1 | 1 |4 |1S/1C/1T |1 |4 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-| 2 | 1 |4 |1S/1C/2T |2 |2 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-| 3 | 1 |4 |1S/2C/1T |2 |2 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-| 4 | 1 |4 |1S/2C/2T |4 |1 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-| 5 | 1 |4 |1S/4C/1T |4 |1 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-| 6 | 1 |4 |2S/1C/1T |2 |2 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-| 7 | 1 |4 |2S/1C/2T |4 |1 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-| 8 | 1 |4 |2S/2C/1T |4 |1 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-| 9 | 2 |8 |1S/1C/1T |1 |8 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-|10 | 2 |8 |1S/1C/2T |2 |4 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-|11 | 2 |8 |1S/2C/1T |2 |4 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-|12 | 2 |8 |1S/2C/2T |4 |2 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-|13 | 2 |8 |1S/4C/1T |4 |2 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-|14 | 2 |8 |1S/4C/2T |8 |1 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-|15 | 2 |8 |2S/1C/1T |2 |4 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-|16 | 2 |8 |2S/1C/2T |4 |2 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-|17 | 2 |8 |2S/2C/1T |4 |2 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-|18 | 2 |8 |2S/2C/2T |8 |1 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-|19 | 2 |8 |2S/4C/1T |8 |1 | | | | |
-+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
-
-|
++----+----------+----------+--------------+----------+-----------+------------------+------------------+
+| | Number of| Total | Number | Total | Number | Throughput Rate | Throughput Rate |
+| | RX Queues| Number of| of Sockets/ | Number of| of NIX RX | LPM Mode | EM Mode |
+| | per NIC | NIC RX | Cores/Threads| Threads | Queues per+------------------+------------------+
+| | Port | Queues | | | Thread | mpps | % | mpps | % |
++====+==========+==========+==============+==========+===========+========+=========+==================+
+| 1 | 1 | 4 | 1S/1C/1T | 1 | 4 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 2 | 1 | 4 | 1S/1C/2T | 2 | 2 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 3 | 1 | 4 | 1S/2C/2T | 2 | 2 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 4 | 1 | 4 | 1S/2C/2T | 4 | 1 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 5 | 1 | 4 | 1S/4C/1T | 4 | 1 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 6 | 1 | 4 | 2S/1C/1T | 2 | 2 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 7 | 1 | 4 | 2S/1C/2T | 4 | 1 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 8 | 1 | 4 | 2S/2C/1T | 4 | 1 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 9 | 2 | 8 | 1S/1C/1T | 1 | 8 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 10 | 2 | 8 | 1S/1C/2T | 2 | 4 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 11 | 2 | 8 | 1S/2C/1T | 2 | 4 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 12 | 2 | 8 | 1S/2C/2T | 4 | 2 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 13 | 2 | 8 | 1S/4C/1T | 4 | 2 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 14 | 2 | 8 | 1S/4C/2T | 8 | 1 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 15 | 2 | 8 | 2S/1C/1T | 2 | 4 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 16 | 2 | 8 | 2S/1C/2T | 4 | 2 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 17 | 2 | 8 | 2S/2C/1T | 4 | 2 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 18 | 2 | 8 | 2S/2C/2T | 8 | 1 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
+| 19 | 2 | 8 | 2S/4C/1T | 8 | 1 | | | | |
++----+----------+----------+--------------+----------+-----------+--------+---------+--------+---------+
The application command line associated with each of the above tests is
presented in the table below. The test report should present this table with
the actual command line used, replacing the PORTMASK and C{x.y.z} with their
actual values used during test execution.
-|
-
-+-----+----------------------------------------------------------------------------------------------------------------------+
-| # | Command Line |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|1 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.1.0}),(P3,0,C{0.1.0})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|2 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.1.1}),(P3,0,C{0.1.1})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|3 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.2.0}),(P3,0,C{0.2.0})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|4 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.1}),(P2,0,C{0.2.0}),(P3,0,C{0.2.1})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|5 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.2.0}),(P2,0,C{0.3.0}),(P3,0,C{0.4.0})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|6 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{1.1.0}),(P3,0,C{1.1.0})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|7 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.1}),(P2,0,C{1.1.0}),(P3,0,C{1.1.1})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|8 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.2.0}),(P2,0,C{1.1.0}),(P3,0,C{1.2.0})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|9 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
-| |(P2,0,C{0.1.0}),(P2,1,C{0.1.0}),(P3,0,C{0.1.0}),(P3,1,C{0.1.0})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|10 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
-| |(P2,0,C{0.1.1}),(P2,1,C{0.1.1}),(P3,0,C{0.1.1}),(P3,1,C{0.1.1})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|11 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
-| |(P2,0,C{0.2.0}),(P2,1,C{0.2.0}),(P3,0,C{0.2.0}),(P3,1,C{0.2.0})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|12 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.1}),(P1,1,C{0.1.1}), |
-| |(P2,0,C{0.2.0}),(P2,1,C{0.2.0}),(P3,0,C{0.2.1}),(P3,1,C{0.2.1})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|13 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.2.0}),(P1,1,C{0.2.0}), |
-| |(P2,0,C{0.3.0}),(P2,1,C{0.3.0}),(P3,0,C{0.4.0}),(P3,1,C{0.4.0})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|14 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.1}),(P1,0,C{0.2.0}),(P1,1,C{0.2.1}), |
-| |(P2,0,C{0.3.0}),(P2,1,C{0.3.1}),(P3,0,C{0.4.0}),(P3,1,C{0.4.1})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|15 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
-| |(P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.1.0}),(P3,1,C{1.1.0})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|16 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.1}),(P1,1,C{0.1.1}), |
-| |(P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.1.1}),(P3,1,C{1.1.1})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|17 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.2.0}),(P1,1,C{0.2.0}), |
-| |(P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.2.0}),(P3,1,C{1.2.0})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|18 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.1}),(P1,0,C{0.2.0}),(P1,1,C{0.2.1}), |
-| |(P2,0,C{1.1.0}),(P2,1,C{1.1.1}),(P3,0,C{1.2.0}),(P3,1,C{1.2.1})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-|19 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.2.0}),(P1,0,C{0.3.0}),(P1,1,C{0.4.0}), |
-| |(P2,0,C{1.1.0}),(P2,1,C{1.2.0}),(P3,0,C{1.3.0}),(P3,1,C{1.4.0})' |
-+-----+----------------------------------------------------------------------------------------------------------------------+
-
-|
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| # | Command Line |
++=====+=======================================================================================================================+
+| 1 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.1.0}),(P3,0,C{0.1.0})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 2 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.1.1}),(P3,0,C{0.1.1})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 3 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.2.0}),(P3,0,C{0.2.0})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 4 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.1}),(P2,0,C{0.2.0}),(P3,0,C{0.2.1})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 5 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.2.0}),(P2,0,C{0.3.0}),(P3,0,C{0.4.0})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 6 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{1.1.0}),(P3,0,C{1.1.0})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 7 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.1.1}),(P2,0,C{1.1.0}),(P3,0,C{1.1.1})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 8 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P1,0,C{0.2.0}),(P2,0,C{1.1.0}),(P3,0,C{1.2.0})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 9 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
+| | (P2,0,C{0.1.0}),(P2,1,C{0.1.0}),(P3,0,C{0.1.0}),(P3,1,C{0.1.0})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 10 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
+| | (P2,0,C{0.1.1}),(P2,1,C{0.1.1}),(P3,0,C{0.1.1}),(P3,1,C{0.1.1})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 11 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
+| | (P2,0,C{0.2.0}),(P2,1,C{0.2.0}),(P3,0,C{0.2.0}),(P3,1,C{0.2.0})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 12 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.1}),(P1,1,C{0.1.1}), |
+| | (P2,0,C{0.2.0}),(P2,1,C{0.2.0}),(P3,0,C{0.2.1}),(P3,1,C{0.2.1})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 13 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.2.0}),(P1,1,C{0.2.0}), |
+| | (P2,0,C{0.3.0}),(P2,1,C{0.3.0}),(P3,0,C{0.4.0}),(P3,1,C{0.4.0})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 14 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.1}),(P1,0,C{0.2.0}),(P1,1,C{0.2.1}), |
+| | (P2,0,C{0.3.0}),(P2,1,C{0.3.1}),(P3,0,C{0.4.0}),(P3,1,C{0.4.1})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 15 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
+| | (P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.1.0}),(P3,1,C{1.1.0})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 16 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.1}),(P1,1,C{0.1.1}), |
+| | (P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.1.1}),(P3,1,C{1.1.1})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 17 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.2.0}),(P1,1,C{0.2.0}), |
+| | (P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.2.0}),(P3,1,C{1.2.0})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 18 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.1.1}),(P1,0,C{0.2.0}),(P1,1,C{0.2.1}), |
+| | (P2,0,C{1.1.0}),(P2,1,C{1.1.1}),(P3,0,C{1.2.0}),(P3,1,C{1.2.1})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
+| 19 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config '(P0,0,C{0.1.0}),(P0,1,C{0.2.0}),(P1,0,C{0.3.0}),(P1,1,C{0.4.0}), |
+| | (P2,0,C{1.1.0}),(P2,1,C{1.2.0}),(P3,0,C{1.3.0}),(P3,1,C{1.4.0})' |
++-----+-----------------------------------------------------------------------------------------------------------------------+
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1]test_plan: revise l3fwd test plan
2019-06-11 14:12 [dts] [PATCH V1]test_plan: revise l3fwd test plan hanyingya
@ 2019-06-12 6:21 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-06-12 6:21 UTC (permalink / raw)
To: Han, YingyaX, dts; +Cc: Han, YingyaX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of hanyingya
> Sent: Tuesday, June 11, 2019 10:12 PM
> To: dts@dpdk.org
> Cc: Han, YingyaX <yingyax.han@intel.com>
> Subject: [dts] [PATCH V1]test_plan: revise l3fwd test plan
>
> Signed-off-by: hanyingya <yingyax.han@intel.com>
> ---
> test_plans/l3fwd_test_plan.rst | 449 +++++++++++++++++++--------------
> 1 file changed, 256 insertions(+), 193 deletions(-)
>
> diff --git a/test_plans/l3fwd_test_plan.rst b/test_plans/l3fwd_test_plan.rst
> index ceb449f..a342401 100644
> --- a/test_plans/l3fwd_test_plan.rst
> +++ b/test_plans/l3fwd_test_plan.rst
> @@ -1,4 +1,4 @@
> -.. Copyright (c) <2011-2017>, Intel Corporation
> +.. Copyright (c) <2011-2019>, Intel Corporation
> All rights reserved.
>
> Redistribution and use in source and binary forms, with or without @@ -
> 76,104 +76,175 @@ Prerequisites
>
> 4. Software application requirements
>
> -5. If using vfio the kernel must be >= 3.6+ and VT-d must be enabled in
> bios.When
> - using vfio, use the following commands to load the vfio driver and bind it
> - to the device under test::
> -
> - modprobe vfio
> - modprobe vfio-pci
> - usertools/dpdk-devbind.py --bind=vfio-pci device_bus_id
> -
> -- In LPM mode, the LPM table used for packet routing is:
> -
> -|
> -
> -+-------+----------------------+-----------+
> -| # |LPM prefix (IP/length)|Output port|
> -+-------+----------------------+-----------+
> -| 0 | 10.100.0.0/24 | P1 |
> -+-------+----------------------+-----------+
> -| 1 | 10.101.0.0/24 | P1 |
> -+-------+----------------------+-----------+
> -| 2 | 11.100.0.0/24 | P2 |
> -+-------+----------------------+-----------+
> -| 3 | 11.101.0.0/24 | P2 |
> -+-------+----------------------+-----------+
> -| 4 | 12.100.0.0/24 | P3 |
> -+-------+----------------------+-----------+
> -| 5 | 12.101.0.0/24 | P3 |
> -+-------+----------------------+-----------+
> -| 6 | 13.100.0.0/24 | P4 |
> -+-------+----------------------+-----------+
> -| 7 | 13.101.0.0/24 | P4 |
> -+-------+----------------------+-----------+
> -
> -|
> -
> -- In hash mode, the hash table used for packet routing is:
> -
> -|
> -
> -+-------+-------------+---------+-------------+-----------+-----------+--------+
> -| Entry | IPv4 | IPv4 | Port | Port | L4 | Output |
> -| # | destination | source | destination | source | protocol | port |
> -| | address | address | | | | |
> -+-------+-------------+---------+-------------+-----------+-----------+--------+
> -| 0 | 10.100.0.1 | 1.2.3.4 | 10 | 1 | UDP | P1 |
> -+-------+-------------+---------+-------------+-----------+-----------+--------+
> -| 1 | 10.101.0.1 | 1.2.3.4 | 10 | 1 | UDP | P1 |
> -+-------+-------------+---------+-------------+-----------+-----------+--------+
> -| 2 | 11.100.0.1 | 1.2.3.4 | 11 | 1 | UDP | P2 |
> -+-------+-------------+---------+-------------+-----------+-----------+--------+
> -| 3 | 11.101.0.1 | 1.2.3.4 | 11 | 1 | UDP | P2 |
> -+-------+-------------+---------+-------------+-----------+-----------+--------+
> -| 4 | 12.100.0.1 | 1.2.3.4 | 12 | 1 | UDP | P3 |
> -+-------+-------------+---------+-------------+-----------+-----------+--------+
> -| 5 | 12.101.0.1 | 1.2.3.4 | 12 | 1 | UDP | P3 |
> -+-------+-------------+---------+-------------+-----------+-----------+--------+
> -| 6 | 13.100.0.1 | 1.2.3.4 | 13 | 1 | UDP | P0 |
> -+-------+-------------+---------+-------------+-----------+-----------+--------+
> -| 7 | 13.101.0.1 | 1.2.3.4 | 13 | 1 | UDP | P0 |
> -+-------+-------------+---------+-------------+-----------+-----------+--------+
> -
> -|
> + - Configuration for mode
> +
> + -The following Settings are required when using exact mode::
> +
> + sed -i '/^APP\>/a\\CFLAGS +=
> + -DAPP_LOOKUP_METHOD=APP_LOOKUP_EXACT_MATCH'
> examples/l3fwd/Makefile
> +
> + -The following Settings are required when using LPM mode::
> +
> + sed -i '/^APP\>/a\\CFLAGS +=
> + -DAPP_LOOKUP_METHOD=APP_LOOKUP_LPM' examples/l3fwd/Makefile
> +
> + - Routing table for IPv4 packets
> + - In LPM mode, the LPM table used for packet routing is:
> +
> + +-------+-----------------------+-----------+
> + | # | LPM prefix (IP/length)|Output port|
> + +=======+=======================+===========+
> + | 0 | 10.100.0.0/24 | P1 |
> + +-------+-----------------------+-----------+
> + | 1 | 10.101.0.0/24 | P1 |
> + +-------+-----------------------+-----------+
> + | 2 | 11.100.0.0/24 | P2 |
> + +-------+-----------------------+-----------+
> + | 3 | 11.101.0.0/24 | P2 |
> + +-------+-----------------------+-----------+
> + | 4 | 12.100.0.0/24 | P3 |
> + +-------+-----------------------+-----------+
> + | 5 | 12.101.0.0/24 | P3 |
> + +-------+-----------------------+-----------+
> + | 6 | 13.100.0.0/24 | P4 |
> + +-------+-----------------------+-----------+
> + | 7 | 13.101.0.0/24 | P4 |
> + +-------+-----------------------+-----------+
> +
> + - In EM mode, the EM table used for packet routing is:
> +
> + +-------+-------------+---------+-------------+-----------+-----------+--------+
> + | Entry | IPv4 | IPv4 | Port | Port | L4 | Output |
> + | # | destination | source | destination | source | protocol | port
> |
> + | | address | address | | | | |
> +
> +=======+=============+=========+=============+===========+=====
> ======+========+
> + | 0 | 10.100.0.1 | 1.2.3.4 | 10 | 1 | UDP | P1 |
> + +-------+-------------+---------+-------------+-----------+-----------+--------+
> + | 1 | 10.101.0.1 | 1.2.3.4 | 10 | 1 | UDP | P1 |
> + +-------+-------------+---------+-------------+-----------+-----------+--------+
> + | 2 | 11.100.0.1 | 1.2.3.4 | 11 | 1 | UDP | P2 |
> + +-------+-------------+---------+-------------+-----------+-----------+--------+
> + | 3 | 11.101.0.1 | 1.2.3.4 | 11 | 1 | UDP | P2 |
> + +-------+-------------+---------+-------------+-----------+-----------+--------+
> + | 4 | 12.100.0.1 | 1.2.3.4 | 12 | 1 | UDP | P3 |
> + +-------+-------------+---------+-------------+-----------+-----------+--------+
> + | 5 | 12.101.0.1 | 1.2.3.4 | 12 | 1 | UDP | P3 |
> + +-------+-------------+---------+-------------+-----------+-----------+--------+
> + | 6 | 13.100.0.1 | 1.2.3.4 | 13 | 1 | UDP | P0 |
> + +-------+-------------+---------+-------------+-----------+-----------+--------+
> + | 7 | 13.101.0.1 | 1.2.3.4 | 13 | 1 | UDP | P0 |
> +
> + +-------+-------------+---------+-------------+-----------+-----------
> + +--------+
> +
> + - Routing table for IPv6 packets
> + - In LPM mode, the LPM table used for packet routing is:
> +
> + +-------+----------------------+-------------+
> + | # | LPM prefix (IPv6) | Output port |
> + +=======+======================+=============+
> + | 0 | 1:1:1:1:1:1:0:0 | P0 |
> + +-------+----------------------+-------------+
> + | 1 | 1:1:1:1:1:1:0:1 | P0 |
> + +-------+----------------------+-------------+
> + | 2 | 2:1:1:1:1:1:0:0 | P1 |
> + +-------+----------------------+-------------+
> + | 3 | 2:1:1:1:1:1:0:1 | P1 |
> + +-------+----------------------+-------------+
> + | 4 | 3:1:1:1:1:1:0:0 | P2 |
> + +-------+----------------------+-------------+
> + | 5 | 3:1:1:1:1:1:0:1 | P2 |
> + +-------+----------------------+-------------+
> + | 6 | 4:1:1:1:1:1:0:0 | P3 |
> + +-------+----------------------+-------------+
> + | 7 | 4:1:1:1:1:1:0:1 | P3 |
> + +-------+----------------------+-------------+
> +
> + - In EM mode, the EM table used for packet routing is:
> +
> + +-------+---------------------------+---------------------------+-------------+--------+---------
> -+--------+
> + | Entry | IPv6 destination address | IPv6 source address | Port |
> Port | L4 | Output |
> + | | | | destination | source | protocol
> | port |
> +
> +=======+===========================+===========================
> +=============+========+==========+========+
> + | 0 | fe80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\|
> | | | |
> + | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 10 | 1 |
> UDP | P0 |
> + +-------+---------------------------+---------------------------+-------------+--------+---------
> -+--------+
> + | 1 | fe80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\|
> | | | |
> + | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 10 | 1 |
> UDP | P0 |
> + +-------+---------------------------+---------------------------+-------------+--------+---------
> -+--------+
> + | 2 | 2a80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\|
> | | | |
> + | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 11 | 1 |
> UDP | P1 |
> + +-------+---------------------------+---------------------------+-------------+--------+---------
> -+--------+
> + | 3 | 2a80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\|
> | | | |
> + | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 11 | 1 |
> UDP | P1 |
> + +-------+---------------------------+---------------------------+-------------+--------+---------
> -+--------+
> + | 4 | 2b80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\|
> | | | |
> + | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 12 | 1 |
> UDP | P2 |
> + +-------+---------------------------+---------------------------+-------------+--------+---------
> -+--------+
> + | 5 | 2b80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\|
> | | | |
> + | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 12 | 1 |
> UDP | P2 |
> + +-------+---------------------------+---------------------------+-------------+--------+---------
> -+--------+
> + | 6 | 2c80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\|
> | | | |
> + | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 13 | 1 |
> UDP | P3 |
> + +-------+---------------------------+---------------------------+-------------+--------+---------
> -+--------+
> + | 7 | 2c80:0000:0000:0000:021b:\| fe80:0000:0000:0000:021e:\|
> | | | |
> + | | 21ff:fe91:3805 | 67ff:fe0d:b60a | 13 | 1 |
> UDP | P3 |
> +
> + +-------+---------------------------+---------------------------+-----
> + --------+--------+----------+--------+
>
>
> 5. Traffic generator requirements
>
> The flows need to be configured and started by the traffic generator:
>
> -|
> -
> -+------+---------+------------+---------+------+-------+--------+--------+
> -| Flow | Traffic | IPv4 | IPv4 | Port | Port | L4 | NIC RX |
> -| | Gen. | Src. | Dst. | Src. | Dest. | Proto. | Queue |
> -| | Port | Address | Address | | | | (RSS) |
> -+------+---------+------------+---------+------+-------+--------+--------+
> -| 1 | TG0 | 10.100.0.1 | 1.2.3.4 | 10 | 1 | UDP | 0 |
> -+------+---------+------------+---------+------+-------+--------+--------+
> -| 2 | TG0 | 10.101.0.1 | 1.2.3.4 | 10 | 1 | UDP | 1 |
> -+------+---------+------------+---------+------+-------+--------+--------+
> -| 3 | TG1 | 11.100.0.1 | 1.2.3.4 | 11 | 1 | UDP | 0 |
> -+------+---------+------------+---------+------+-------+--------+--------+
> -| 4 | TG1 | 11.101.0.1 | 1.2.3.4 | 11 | 1 | UDP | 1 |
> -+------+---------+------------+---------+------+-------+--------+--------+
> -| 5 | TG2 | 12.100.0.1 | 1.2.3.4 | 12 | 1 | UDP | 0 |
> -+------+---------+------------+---------+------+-------+--------+--------+
> -| 6 | TG2 | 12.101.0.1 | 1.2.3.4 | 12 | 1 | UDP | 1 |
> -+------+---------+------------+---------+------+-------+--------+--------+
> -| 7 | TG3 | 13.100.0.1 | 1.2.3.4 | 13 | 1 | UDP | 0 |
> -+------+---------+------------+---------+------+-------+--------+--------+
> -| 8 | TG3 | 13.101.0.1 | 1.2.3.4 | 13 | 1 | UDP | 1 |
> -+------+---------+------------+---------+------+-------+--------+--------+
> -
> -|
> + - IPv4 packets
> +
> + +------+---------+------------+---------+------+-------+--------+--------+
> + | Flow | Traffic | IPv4 | IPv4 | Port | Port | L4 | NIC RX |
> + | | Gen. | Src. | Dst. | Src. | Dest. | Proto. | Queue |
> + | | Port | Address | Address | | | | (RSS) |
> +
> +======+=========+============+=========+======+=======+========
> +========+
> + | 1 | TG0 | 10.100.0.1 | 1.2.3.4 | 10 | 1 | UDP | 0 |
> + +------+---------+------------+---------+------+-------+--------+--------+
> + | 2 | TG0 | 10.101.0.1 | 1.2.3.4 | 10 | 1 | UDP | 1 |
> + +------+---------+------------+---------+------+-------+--------+--------+
> + | 3 | TG1 | 11.100.0.1 | 1.2.3.4 | 11 | 1 | UDP | 0 |
> + +------+---------+------------+---------+------+-------+--------+--------+
> + | 4 | TG1 | 11.101.0.1 | 1.2.3.4 | 11 | 1 | UDP | 1 |
> + +------+---------+------------+---------+------+-------+--------+--------+
> + | 5 | TG2 | 12.100.0.1 | 1.2.3.4 | 12 | 1 | UDP | 0 |
> + +------+---------+------------+---------+------+-------+--------+--------+
> + | 6 | TG2 | 12.101.0.1 | 1.2.3.4 | 12 | 1 | UDP | 1 |
> + +------+---------+------------+---------+------+-------+--------+--------+
> + | 7 | TG3 | 13.100.0.1 | 1.2.3.4 | 13 | 1 | UDP | 0 |
> + +------+---------+------------+---------+------+-------+--------+--------+
> + | 8 | TG3 | 13.101.0.1 | 1.2.3.4 | 13 | 1 | UDP | 1 |
> +
> + +------+---------+------------+---------+------+-------+--------+-----
> + ---+
> +
> + - IPv6 packets
> +
> + +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
> + | Entry | Traffic Gen.| IPv6 Src address | IPv6 Dest address | Port | Port |
> L4 | RX Queue |
> + | | Port | address | address | Src. | Dest. | Proto.|
> (RSS) |
> +
> +=======+=============+===================+===================+=
> =====+=======+=======+==========+
> + | 1 | TG0 | 1:1:1:1:1:1:0:0 | 1:2:3:4:5:6:7:8 | 10 | 1 | UDP |
> 0 |
> + +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
> + | 2 | TG0 | 1:1:1:1:1:1:0:1 | 1:2:3:4:5:6:7:8 | 10 | 1 | UDP |
> 1 |
> + +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
> + | 3 | TG1 | 2:1:1:1:1:1:0:0 | 1:2:3:4:5:6:7:8 | 11 | 1 | UDP |
> 0 |
> + +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
> + | 4 | TG1 | 2:1:1:1:1:1:0:1 | 1:2:3:4:5:6:7:8 | 11 | 1 | UDP |
> 1 |
> + +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
> + | 5 | TG2 | 3:1:1:1:1:1:0:0 | 1:2:3:4:5:6:7:8 | 12 | 1 | UDP |
> 0 |
> + +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
> + | 6 | TG2 | 3:1:1:1:1:1:0:1 | 1:2:3:4:5:6:7:8 | 12 | 1 | UDP |
> 1 |
> + +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
> + | 7 | TG3 | 4:1:1:1:1:1:0:0 | 1:2:3:4:5:6:7:8 | 13 | 1 | UDP |
> 0 |
> + +-------+-------------+-------------------+-------------------+------+-------+-------+----------+
> + | 8 | TG3 | 4:1:1:1:1:1:0:1 | 1:2:3:4:5:6:7:8 | 13 | 1 | UDP |
> 1 |
> +
> + +-------+-------------+-------------------+-------------------+------+
> + -------+-------+----------+
> +
>
> The queue column represents the expected NIC port RX queue where the
> packet should be written by the NIC hardware when RSS is enabled for that
> port.
>
> -Test Case: Layer-3 Forwarding (in Hash or LPM Mode) -
> ===================================================
> +Test Case: Layer-3 Forwarding (in EM/LPM Mode) with IPv4/IPv6 Packets
> +===============================================================
> ======
>
> The following items are configured through the command line interface of
> the
> application:
> @@ -185,113 +256,105 @@ application:
> The test report should provide the throughput rate measurements (in mpps
> and % of the line rate for 4x NIC ports) as listed in the table below:
>
> -|
> -
> -+----+---------+---------+-------------+---------+----------+------------------+------------------+
> -| # |Number of|Total |Number |Total |Number | Throughput
> Rate | Throughput Rate |
> -| |RX Queues|Number of|of Sockets/ |Number of|of NIX RX | LPM Mode
> | Hash Mode |
> -| |per NIC |NIC RX |Cores/Threads|Threads |Queues per+------------------
> +------------------+
> -| |Port |Queues | | |Thread | mpps | % | mpps
> | % |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -| 1 | 1 |4 |1S/1C/1T |1 |4 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -| 2 | 1 |4 |1S/1C/2T |2 |2 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -| 3 | 1 |4 |1S/2C/1T |2 |2 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -| 4 | 1 |4 |1S/2C/2T |4 |1 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -| 5 | 1 |4 |1S/4C/1T |4 |1 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -| 6 | 1 |4 |2S/1C/1T |2 |2 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -| 7 | 1 |4 |2S/1C/2T |4 |1 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -| 8 | 1 |4 |2S/2C/1T |4 |1 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -| 9 | 2 |8 |1S/1C/1T |1 |8 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -|10 | 2 |8 |1S/1C/2T |2 |4 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -|11 | 2 |8 |1S/2C/1T |2 |4 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -|12 | 2 |8 |1S/2C/2T |4 |2 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -|13 | 2 |8 |1S/4C/1T |4 |2 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -|14 | 2 |8 |1S/4C/2T |8 |1 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -|15 | 2 |8 |2S/1C/1T |2 |4 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -|16 | 2 |8 |2S/1C/2T |4 |2 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -|17 | 2 |8 |2S/2C/1T |4 |2 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -|18 | 2 |8 |2S/2C/2T |8 |1 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -|19 | 2 |8 |2S/4C/1T |8 |1 | | | | |
> -+----+---------+---------+-------------+---------+----------+--------+---------+--------+---------+
> -
> -|
> ++----+----------+----------+--------------+----------+-----------+------------------+---------------
> ---+
> +| | Number of| Total | Number | Total | Number | Throughput
> Rate | Throughput Rate |
> +| | RX Queues| Number of| of Sockets/ | Number of| of NIX RX | LPM
> Mode | EM Mode |
> +| | per NIC | NIC RX | Cores/Threads| Threads | Queues per+---------------
> ---+------------------+
> +| | Port | Queues | | | Thread | mpps | % | mpps
> | % |
> ++====+==========+==========+==============+==========+=========
> ==+=====
> ++===+=========+==================+
> +| 1 | 1 | 4 | 1S/1C/1T | 1 | 4 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 2 | 1 | 4 | 1S/1C/2T | 2 | 2 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 3 | 1 | 4 | 1S/2C/2T | 2 | 2 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 4 | 1 | 4 | 1S/2C/2T | 4 | 1 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 5 | 1 | 4 | 1S/4C/1T | 4 | 1 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 6 | 1 | 4 | 2S/1C/1T | 2 | 2 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 7 | 1 | 4 | 2S/1C/2T | 4 | 1 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 8 | 1 | 4 | 2S/2C/1T | 4 | 1 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 9 | 2 | 8 | 1S/1C/1T | 1 | 8 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 10 | 2 | 8 | 1S/1C/2T | 2 | 4 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 11 | 2 | 8 | 1S/2C/1T | 2 | 4 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 12 | 2 | 8 | 1S/2C/2T | 4 | 2 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 13 | 2 | 8 | 1S/4C/1T | 4 | 2 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 14 | 2 | 8 | 1S/4C/2T | 8 | 1 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 15 | 2 | 8 | 2S/1C/1T | 2 | 4 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 16 | 2 | 8 | 2S/1C/2T | 4 | 2 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 17 | 2 | 8 | 2S/2C/1T | 4 | 2 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 18 | 2 | 8 | 2S/2C/2T | 8 | 1 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
> +| 19 | 2 | 8 | 2S/4C/1T | 8 | 1 | | | | |
> ++----+----------+----------+--------------+----------+-----------+--------+---------+--------+-----
> ----+
>
> The application command line associated with each of the above tests is
> presented in the table below. The test report should present this table with
> the actual command line used, replacing the PORTMASK and C{x.y.z} with
> their actual values used during test execution.
>
> -|
> -
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -| # | Command Line
> |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|1 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.1.0}),(P3,0,C{0.1.0})' |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|2 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.1.1}),(P3,0,C{0.1.1})' |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|3 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.2.0}),(P3,0,C{0.2.0})' |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|4 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P1,0,C{0.1.1}),(P2,0,C{0.2.0}),(P3,0,C{0.2.1})' |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|5 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P1,0,C{0.2.0}),(P2,0,C{0.3.0}),(P3,0,C{0.4.0})' |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|6 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{1.1.0}),(P3,0,C{1.1.0})' |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|7 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P1,0,C{0.1.1}),(P2,0,C{1.1.0}),(P3,0,C{1.1.1})' |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|8 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P1,0,C{0.2.0}),(P2,0,C{1.1.0}),(P3,0,C{1.2.0})' |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|9 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
> -| |(P2,0,C{0.1.0}),(P2,1,C{0.1.0}),(P3,0,C{0.1.0}),(P3,1,C{0.1.0})'
> |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|10 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
> -| |(P2,0,C{0.1.1}),(P2,1,C{0.1.1}),(P3,0,C{0.1.1}),(P3,1,C{0.1.1})'
> |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|11 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
> -| |(P2,0,C{0.2.0}),(P2,1,C{0.2.0}),(P3,0,C{0.2.0}),(P3,1,C{0.2.0})'
> |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|12 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.1}),(P1,1,C{0.1.1}), |
> -| |(P2,0,C{0.2.0}),(P2,1,C{0.2.0}),(P3,0,C{0.2.1}),(P3,1,C{0.2.1})'
> |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|13 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.2.0}),(P1,1,C{0.2.0}), |
> -| |(P2,0,C{0.3.0}),(P2,1,C{0.3.0}),(P3,0,C{0.4.0}),(P3,1,C{0.4.0})'
> |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|14 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.1}),(P1,0,C{0.2.0}),(P1,1,C{0.2.1}), |
> -| |(P2,0,C{0.3.0}),(P2,1,C{0.3.1}),(P3,0,C{0.4.0}),(P3,1,C{0.4.1})'
> |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|15 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
> -| |(P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.1.0}),(P3,1,C{1.1.0})'
> |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|16 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.1}),(P1,1,C{0.1.1}), |
> -| |(P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.1.1}),(P3,1,C{1.1.1})'
> |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|17 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.2.0}),(P1,1,C{0.2.0}), |
> -| |(P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.2.0}),(P3,1,C{1.2.0})'
> |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|18 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.1}),(P1,0,C{0.2.0}),(P1,1,C{0.2.1}), |
> -| |(P2,0,C{1.1.0}),(P2,1,C{1.1.1}),(P3,0,C{1.2.0}),(P3,1,C{1.2.1})'
> |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -|19 |./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.2.0}),(P1,0,C{0.3.0}),(P1,1,C{0.4.0}), |
> -| |(P2,0,C{1.1.0}),(P2,1,C{1.2.0}),(P3,0,C{1.3.0}),(P3,1,C{1.4.0})'
> |
> -+-----+--------------------------------------------------------------------------------------------------
> --------------------+
> -
> -|
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| # | Command Line
> |
> ++=====+========================================================
> ========
> ++=======================================================+
> +| 1 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> +| '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.1.0}),(P3,0,C{0.1.0})' |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 2 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> +| '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.1.1}),(P3,0,C{0.1.1})' |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 3 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> +| '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{0.2.0}),(P3,0,C{0.2.0})' |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 4 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> +| '(P0,0,C{0.1.0}),(P1,0,C{0.1.1}),(P2,0,C{0.2.0}),(P3,0,C{0.2.1})' |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 5 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> +| '(P0,0,C{0.1.0}),(P1,0,C{0.2.0}),(P2,0,C{0.3.0}),(P3,0,C{0.4.0})' |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 6 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> +| '(P0,0,C{0.1.0}),(P1,0,C{0.1.0}),(P2,0,C{1.1.0}),(P3,0,C{1.1.0})' |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 7 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> +| '(P0,0,C{0.1.0}),(P1,0,C{0.1.1}),(P2,0,C{1.1.0}),(P3,0,C{1.1.1})' |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 8 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> +| '(P0,0,C{0.1.0}),(P1,0,C{0.2.0}),(P2,0,C{1.1.0}),(P3,0,C{1.2.0})' |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 9 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
> +| | (P2,0,C{0.1.0}),(P2,1,C{0.1.0}),(P3,0,C{0.1.0}),(P3,1,C{0.1.0})'
> |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 10 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
> +| | (P2,0,C{0.1.1}),(P2,1,C{0.1.1}),(P3,0,C{0.1.1}),(P3,1,C{0.1.1})'
> |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 11 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
> +| | (P2,0,C{0.2.0}),(P2,1,C{0.2.0}),(P3,0,C{0.2.0}),(P3,1,C{0.2.0})'
> |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 12 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.1}),(P1,1,C{0.1.1}), |
> +| | (P2,0,C{0.2.0}),(P2,1,C{0.2.0}),(P3,0,C{0.2.1}),(P3,1,C{0.2.1})'
> |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 13 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.2.0}),(P1,1,C{0.2.0}), |
> +| | (P2,0,C{0.3.0}),(P2,1,C{0.3.0}),(P3,0,C{0.4.0}),(P3,1,C{0.4.0})'
> |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 14 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.1}),(P1,0,C{0.2.0}),(P1,1,C{0.2.1}), |
> +| | (P2,0,C{0.3.0}),(P2,1,C{0.3.1}),(P3,0,C{0.4.0}),(P3,1,C{0.4.1})'
> |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 15 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.0}),(P1,1,C{0.1.0}), |
> +| | (P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.1.0}),(P3,1,C{1.1.0})'
> |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 16 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.1.1}),(P1,1,C{0.1.1}), |
> +| | (P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.1.1}),(P3,1,C{1.1.1})'
> |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 17 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.0}),(P1,0,C{0.2.0}),(P1,1,C{0.2.0}), |
> +| | (P2,0,C{1.1.0}),(P2,1,C{1.1.0}),(P3,0,C{1.2.0}),(P3,1,C{1.2.0})'
> |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 18 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.1.1}),(P1,0,C{0.2.0}),(P1,1,C{0.2.1}), |
> +| | (P2,0,C{1.1.0}),(P2,1,C{1.1.1}),(P3,0,C{1.2.0}),(P3,1,C{1.2.1})'
> |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> +| 19 | ./l3fwd -c 0xffffff -n 3 -- -P -p PORTMASK --config
> '(P0,0,C{0.1.0}),(P0,1,C{0.2.0}),(P1,0,C{0.3.0}),(P1,1,C{0.4.0}), |
> +| | (P2,0,C{1.1.0}),(P2,1,C{1.2.0}),(P3,0,C{1.3.0}),(P3,1,C{1.4.0})'
> |
> ++-----+-------------------------------------------------------------------------------------------------
> ----------------------+
> --
> 2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-12 6:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-11 14:12 [dts] [PATCH V1]test_plan: revise l3fwd test plan hanyingya
2019-06-12 6:21 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).