[dts] [PATCH V2 1/2] conf/l3fwd: support set test ports in cfg file

yufengmx yufengx.mo at intel.com
Fri Jan 17 04:14:21 CET 2020


add a key to select custom dut ports to run testing. If not set this key in cfg file,
use default dut port list of dts framework.

Signed-off-by: yufengmx <yufengx.mo at intel.com>
---
 conf/l3fwd.cfg | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/conf/l3fwd.cfg b/conf/l3fwd.cfg
index e566aff..a8a9af4 100644
--- a/conf/l3fwd.cfg
+++ b/conf/l3fwd.cfg
@@ -1,6 +1,9 @@
 # Throughput numbers vary in different environment.
 # Users could change these configuration on demand:
 #
+#  - port_list defines which ports are used to run testing If not set this key,
+#  use default dut port list of dts framework.
+#    port_list=[1,2,...]
 #  - test_parameters defines the combination of frame size and descriptor
 # numbers, and the pattern is
 #   {
@@ -52,6 +55,7 @@
 [suite]
 update_expected = True
 
+port_list=None
 test_duration = 12
 accepted_tolerance = 1
 test_parameters = {
-- 
2.21.0



More information about the dts mailing list