From: Yu Jiang <yux.jiang@intel.com>
To: lijuan.tu@intel.com, dts@dpdk.org
Cc: Yu Jiang <yux.jiang@intel.com>
Subject: [PATCH V2] test_plans/sw_hw_thash_consistence: modify test plan to adapt meson build
Date: Mon, 7 Mar 2022 15:12:53 +0000 [thread overview]
Message-ID: <20220307151253.1523167-1-yux.jiang@intel.com> (raw)
Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
test_plans/sw_hw_thash_consistence_test_plan.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/test_plans/sw_hw_thash_consistence_test_plan.rst b/test_plans/sw_hw_thash_consistence_test_plan.rst
index a263b3d2..9b128125 100644
--- a/test_plans/sw_hw_thash_consistence_test_plan.rst
+++ b/test_plans/sw_hw_thash_consistence_test_plan.rst
@@ -44,13 +44,13 @@ First apply a DPDK patch, which provide an example for calling rte_hash ::
Compile the example ::
- export RTE_SDK=<dpdk>
- cd <dpdk>/examples/thash
- make
+ CC=gcc meson -Denable_kmods=True -Dlibdir=lib --default-library=static <build_target>
+ ninja -C <build_target>
+ meson configure -Dexamples=thash <build_target>;ninja -C <build_target>
Run thash example, which supported format: thash_test TYPE(ipv4|ipv4-udp|ipv4-tcp) IP_DST IP_SRC PORT_DST PORT_SRC ::
- ./build/thash_test ipv6 ::22 ::11 1234 4321
+ ./<build_target>/examples/dpdk-thash_test ipv6 ::22 ::11 1234 4321
# The output
ipv6
::22
--
2.25.1
reply other threads:[~2022-03-07 7:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20220307151253.1523167-1-yux.jiang@intel.com \
--to=yux.jiang@intel.com \
--cc=dts@dpdk.org \
--cc=lijuan.tu@intel.com \
/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).