test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][V3] test_plans/sw_hw_thash_consistence: modify test plan to adapt meson build
@ 2022-03-16 11:16 Yu Jiang
  0 siblings, 0 replies; only message in thread
From: Yu Jiang @ 2022-03-16 11:16 UTC (permalink / raw)
  To: lijuan.tu, dts; +Cc: Yu Jiang

sw_hw_thash_consistence: modify test plan to adapt meson build

Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
 test_plans/sw_hw_thash_consistence_test_plan.rst | 9 +++++----
 1 file changed, 5 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..979b21fc 100644
--- a/test_plans/sw_hw_thash_consistence_test_plan.rst
+++ b/test_plans/sw_hw_thash_consistence_test_plan.rst
@@ -44,13 +44,14 @@ 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.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-16  3:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-16 11:16 [dts][V3] test_plans/sw_hw_thash_consistence: modify test plan to adapt meson build Yu Jiang

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).