test suite reviews and discussions
 help / color / mirror / Atom feed
From: Jiale Song <songx.jiale@intel.com>
To: dts@dpdk.org
Cc: Jiale Song <songx.jiale@intel.com>
Subject: [dts] [PATCH V2 4/9] framework/dts: add global variables
Date: Fri, 25 Aug 2023 15:28:20 +0000	[thread overview]
Message-ID: <20230825152825.2831565-5-songx.jiale@intel.com> (raw)
In-Reply-To: <20230825152825.2831565-1-songx.jiale@intel.com>

add mev related global variables.

Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 framework/dts.py | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/framework/dts.py b/framework/dts.py
index f540256d..704ebae0 100644
--- a/framework/dts.py
+++ b/framework/dts.py
@@ -145,10 +145,34 @@ def dts_parse_config(config, section):
         dcf_mode = config.get(section, "dcf_mode").strip().lower()
     except:
         dcf_mode = ""
+    try:
+        test_mev = config.get(section, "test_mev").strip().lower()
+    except:
+        test_mev = ""
+    try:
+        test_acc = config.get(section, "test_acc").strip().lower()
+    except:
+        test_acc = ""
+    try:
+        queue_model = config.get(section, "queue_model").strip().lower()
+    except:
+        queue_model = ""
+    try:
+        vport = config.get(section, "vport").strip().lower()
+    except:
+        vport = ""
+    try:
+        rx_vport = config.get(section, "rx_vport").strip().lower()
+    except:
+        rx_vport = "0"
 
     settings.save_global_setting(settings.DPDK_RXMODE_SETTING, rx_mode)
     settings.save_global_setting(settings.DPDK_DCFMODE_SETTING, dcf_mode)
-
+    settings.save_global_setting(settings.DPDK_QUEUE_MODEL_SETTING, queue_model)
+    settings.save_global_setting(settings.DPDK_VPORT_SETTING, vport)
+    settings.save_global_setting(settings.DPDK_RX_VPORT_SETTING, rx_vport)
+    settings.save_global_setting(settings.DPDK_TEST_MEV_SETTING, test_mev)
+    settings.save_global_setting(settings.DPDK_TEST_ACC_SETTING, test_acc)
     suite_list_dedup = {}
     ## suite_list_dedup[suite_name] := { True | Set | ... }
     ## True := All Cases to Run
-- 
2.25.1


  parent reply	other threads:[~2023-08-25  7:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-25 15:28 [dts] [PATCH V2 0/9] add functions to test MEV Jiale Song
2023-08-25  8:01 ` David Marchand
2023-08-25 15:28 ` [dts] [PATCH V2 1/9] conf/crbs: add parameters Jiale Song
2023-08-25 15:28 ` [dts] [PATCH V2 2/9] execution: add parameters and parameter comments Jiale Song
2023-08-25 15:28 ` [dts] [PATCH V2 3/9] framework/config: obtain and save the acc and imc configurations of MEV Jiale Song
2023-08-25 15:28 ` Jiale Song [this message]
2023-08-25 15:28 ` [dts] [PATCH V2 5/9] framework/dut: add and modify methods to adapt to MEV testing Jiale Song
2023-08-25 15:28 ` [dts] [PATCH V2 6/9] framework/pmd_output: optimize " Jiale Song
2023-08-25 15:28 ` [dts] [PATCH V2 7/9] framework/project_dpdk: " Jiale Song
2023-08-25 15:28 ` [dts] [PATCH V2 8/9] framework/settings: add drivers and NICs for mev Jiale Song
2023-08-25 15:28 ` [dts] [PATCH V2 9/9] framework/tester: optimize scripts Jiale Song

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230825152825.2831565-5-songx.jiale@intel.com \
    --to=songx.jiale@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).