From: lingwei <weix.ling@intel.com> To: dts@dpdk.org Cc: lingwei <weix.ling@intel.com> Subject: [dts] [PATCH V2 3/5] tests/TestSuite_nic_single_core_perf.py:use API to set dpdk config when use meson Date: Fri, 11 Sep 2020 15:27:22 +0000 Message-ID: <20200911152724.29030-4-weix.ling@intel.com> (raw) In-Reply-To: <20200911152724.29030-1-weix.ling@intel.com> use API to set dpdk config when use meson Signed-off-by: lingwei <weix.ling@intel.com> --- tests/TestSuite_nic_single_core_perf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py index 3460252..9bc421b 100644 --- a/tests/TestSuite_nic_single_core_perf.py +++ b/tests/TestSuite_nic_single_core_perf.py @@ -61,10 +61,12 @@ class TestNicSingleCorePerf(TestCase): if self.nic in ["fortville_25g", "fortville_spirit"]: self.dut.send_expect( "sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n/CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=y/' ./config/common_base", "#", 20) + self.dut.set_build_options({'RTE_LIBRTE_I40E_16BYTE_RX_DESC': 'y'}) self.dut.build_install_dpdk(self.target) elif self.nic in ["columbiaville_100g", "columbiaville_25g"]: self.dut.send_expect( "sed -i -e 's/CONFIG_RTE_LIBRTE_ICE_16BYTE_RX_DESC=n/CONFIG_RTE_LIBRTE_ICE_16BYTE_RX_DESC=y/' ./config/common_base", "#", 20) + self.dut.set_build_options({'RTE_LIBRTE_ICE_16BYTE_RX_DESC': 'y'}) self.dut.build_install_dpdk(self.target) # Based on h/w type, choose how many ports to use @@ -394,9 +396,11 @@ class TestNicSingleCorePerf(TestCase): if self.nic in ["fortville_25g", "fortville_spirit"]: self.dut.send_expect( "sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=y/CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n/' ./config/common_base", "#", 20) + self.dut.set_build_options({'RTE_LIBRTE_I40E_16BYTE_RX_DESC': 'n'}) self.dut.build_install_dpdk(self.target) elif self.nic in ["columbiaville_100g", "columbiaville_25g"]: self.dut.send_expect( "sed -i -e 's/CONFIG_RTE_LIBRTE_ICE_16BYTE_RX_DESC=y/CONFIG_RTE_LIBRTE_ICE_16BYTE_RX_DESC=n/' ./config/common_base", "#", 20) + self.dut.set_build_options({'RTE_LIBRTE_ICE_16BYTE_RX_DESC': 'n'}) self.dut.build_install_dpdk(self.target) self.dut.kill_all() -- 2.17.1
next prev parent reply other threads:[~2020-09-11 7:36 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-09-11 15:27 [dts] [PATCH V2 0/5] use " lingwei 2020-09-11 7:39 ` Ling, WeiX 2020-09-11 15:27 ` [dts] [PATCH V2 1/5] tests/l3fwd_base:use " lingwei 2020-09-11 15:27 ` [dts] [PATCH V2 2/5] tests/TestSuite_af_xdp_2:use " lingwei 2020-09-11 15:27 ` lingwei [this message] 2020-09-11 15:27 ` [dts] [PATCH V2 4/5] tests/TestSuite_vmdq_dcb:use " lingwei 2020-09-11 15:27 ` [dts] [PATCH V5 5/5] tests/TestSuite_vmdq:use " lingwei
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=20200911152724.29030-4-weix.ling@intel.com \ --to=weix.ling@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
test suite reviews and discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \ dts@dpdk.org public-inbox-index dts Example config snippet for mirrors. Newsgroup available over NNTP: nntp://inbox.dpdk.org/inbox.dpdk.dts AGPL code for this site: git clone https://public-inbox.org/public-inbox.git