From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH] tests: adjust defination related l3fwd app
Date: Tue, 25 Feb 2020 03:01:17 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBCDCED@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1582626247-127409-1-git-send-email-lijuan.tu@intel.com>
Applied, thanks
> -----Original Message-----
> From: Tu, Lijuan
> Sent: Tuesday, February 25, 2020 6:24 PM
> To: dts@dpdk.org
> Cc: Tu, Lijuan <lijuan.tu@intel.com>
> Subject: [dts] [PATCH] tests: adjust defination related l3fwd app
>
> According to DPDK(a65bf3d724), the defination of
> RTE_TEST_RX_DESC_DEFAULT and RTE_TEST_TX_DESC_DEFAULT are moved
> to examples/l3fwd/l3fwd.h
>
> Signed-off-by: Lijuan Tu <lijuan.tu@intel.com>
> ---
> tests/TestSuite_vf_l3fwd.py | 4 ++--
> tests/l3fwd_base.py | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tests/TestSuite_vf_l3fwd.py b/tests/TestSuite_vf_l3fwd.py index
> 1c3c001..2416a40 100644
> --- a/tests/TestSuite_vf_l3fwd.py
> +++ b/tests/TestSuite_vf_l3fwd.py
> @@ -71,9 +71,9 @@ class TestVfL3fwd(TestCase):
> self.l3fwd_test_results = {'header': [], 'data': []}
> self.logger.info("Configure RX/TX descriptor to 2048, and re-
> build ./examples/l3fwd")
> self.dut.send_expect("sed -i -e 's/define
> RTE_TEST_RX_DESC_DEFAULT.*$/"
> - + "define RTE_TEST_RX_DESC_DEFAULT
> 2048/' ./examples/l3fwd/main.c", "#", 20)
> + + "define RTE_TEST_RX_DESC_DEFAULT 2048/'
> + ./examples/l3fwd/l3fwd.h", "#", 20)
> self.dut.send_expect("sed -i -e 's/define
> RTE_TEST_TX_DESC_DEFAULT.*$/"
> - + "define RTE_TEST_TX_DESC_DEFAULT
> 2048/' ./examples/l3fwd/main.c", "#", 20)
> + + "define RTE_TEST_TX_DESC_DEFAULT 2048/'
> + ./examples/l3fwd/l3fwd.h", "#", 20)
> out = self.dut.build_dpdk_apps("./examples/l3fwd")
> self.verify("Error" not in out, "compilation error 1")
> self.verify("No such file" not in out, "compilation error 2") diff --git
> a/tests/l3fwd_base.py b/tests/l3fwd_base.py index 5d11ac7..4eb823c
> 100644
> --- a/tests/l3fwd_base.py
> +++ b/tests/l3fwd_base.py
> @@ -350,12 +350,12 @@ class L3fwdBase(object):
> "sed -i -e 's/"
> "define RTE_TEST_RX_DESC_DEFAULT.*$/"
> "define RTE_TEST_RX_DESC_DEFAULT 2048/' "
> - "./examples/l3fwd/main.c"))
> + "./examples/l3fwd/l3fwd.h"))
> self.d_con((
> "sed -i -e 's/"
> "define RTE_TEST_TX_DESC_DEFAULT.*$/"
> "define RTE_TEST_TX_DESC_DEFAULT 2048/' "
> - "./examples/l3fwd/main.c"))
> + "./examples/l3fwd/l3fwd.h"))
> self.__l3fwd_em = self.__init_l3fwd(EM)
> self.__l3fwd_lpm = self.__init_l3fwd(LPM)
>
> --
> 1.8.3.1
prev parent reply other threads:[~2020-02-25 3:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-25 10:24 Lijuan Tu
2020-02-25 3:01 ` Tu, Lijuan [this message]
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=8CE3E05A3F976642AAB0F4675D0AD20E0BBCDCED@SHSMSX101.ccr.corp.intel.com \
--to=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).