test suite reviews and discussions
 help / color / mirror / Atom feed
From: Haiyang Zhao <haiyangx.zhao@intel.com>
To: Lijuan.Tu@intel.com, dts@dpdk.org
Cc: Haiyang Zhao <haiyangx.zhao@intel.com>
Subject: [dts] [PATCH V1 1/3] framework/dts: optimize code
Date: Wed,  4 Nov 2020 17:21:06 +0800	[thread overview]
Message-ID: <20201104092108.13778-2-haiyangx.zhao@intel.com> (raw)
In-Reply-To: <20201104092108.13778-1-haiyangx.zhao@intel.com>

*.save rx_mode with lower case.

Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
 framework/dts.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/dts.py b/framework/dts.py
index e4cc53f..8a3790e 100644
--- a/framework/dts.py
+++ b/framework/dts.py
@@ -160,7 +160,7 @@ def dts_parse_config(config, section):
     test_suites = [suite.strip()
                    for suite in config.get(section, 'test_suites').split(',')]
     try:
-        rx_mode = config.get(section, 'rx_mode').strip()
+        rx_mode = config.get(section, 'rx_mode').strip().lower()
     except:
         rx_mode = 'default'
 
-- 
2.17.1


  reply	other threads:[~2020-11-04  9:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-04  9:21 [dts] [PATCH V1 0/3] framework: add eal paramters for different rx modes Haiyang Zhao
2020-11-04  9:21 ` Haiyang Zhao [this message]
2020-11-04  9:21 ` [dts] [PATCH V1 2/3] framework/project_dpdk: add check if cpu support avx512 Haiyang Zhao
2020-11-04  9:21 ` [dts] [PATCH V1 3/3] framework/dut: add eal parameters for different rx_mode Haiyang Zhao
2020-11-04  9:29 ` [dts] [PATCH V1 0/3] framework: add eal paramters for different rx modes Zhao, HaiyangX
2020-11-05  2:51 ` Tu, Lijuan

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=20201104092108.13778-2-haiyangx.zhao@intel.com \
    --to=haiyangx.zhao@intel.com \
    --cc=Lijuan.Tu@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).