test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1 1/2] test_plans/rxtx_offload: Modify the test plan clerical error
@ 2023-02-02  2:59 Weiyuan Li
  2023-02-02  2:59 ` [dts][PATCH V1 2/2] tests/rxtx_offload: optimize test steps to adapt test plan Weiyuan Li
  0 siblings, 1 reply; 4+ messages in thread
From: Weiyuan Li @ 2023-02-02  2:59 UTC (permalink / raw)
  To: dts; +Cc: Weiyuan Li

Modify the test plan clerical error.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
 test_plans/rxtx_offload_test_plan.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test_plans/rxtx_offload_test_plan.rst b/test_plans/rxtx_offload_test_plan.rst
index ca6ff222..a64fc059 100644
--- a/test_plans/rxtx_offload_test_plan.rst
+++ b/test_plans/rxtx_offload_test_plan.rst
@@ -575,7 +575,7 @@ Test case: Tx offload multi_segs setting
 
 1. Start testpmd with "--tx-offloads=0x00008000" to enable tx_offload multi_segs ::
 
-    ./<build_target>/app/dpdk-testpmd -c 0xf -n 4  -- -i --tx-offloads==0x00008000
+    ./<build_target>/app/dpdk-testpmd -c 0xf -n 4  -- -i --tx-offloads=0x00008000
     testpmd> show port 0 tx_offload configuration
     Tx Offloading Configuration of port 0 :
       Port : MULTI_SEGS
-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dts][PATCH V1 2/2] tests/rxtx_offload: optimize test steps to adapt test plan
  2023-02-02  2:59 [dts][PATCH V1 1/2] test_plans/rxtx_offload: Modify the test plan clerical error Weiyuan Li
@ 2023-02-02  2:59 ` Weiyuan Li
  2023-02-03  3:11   ` Huang, ZhiminX
  2023-03-07  3:52   ` lijuan.tu
  0 siblings, 2 replies; 4+ messages in thread
From: Weiyuan Li @ 2023-02-02  2:59 UTC (permalink / raw)
  To: dts; +Cc: Weiyuan Li

It takes too much time to check 100M TX-packets, according to the test
plan only 100K Tx-packets needs to be checked to optimize the test
steps.
 
Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
 tests/TestSuite_rxtx_offload.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py
index c60bb68b..4c084abf 100644
--- a/tests/TestSuite_rxtx_offload.py
+++ b/tests/TestSuite_rxtx_offload.py
@@ -235,7 +235,7 @@ class TestRxTx_Offload(TestCase):
         while i < count:
             if rxtx == "tx":
                 pks_l1 = re.findall(r"TX-packets: (\w+)", out1)
-                time.sleep(15)
+                time.sleep(3)
                 out1 = self.dut.send_expect("show port stats all", "testpmd> ")
                 pks_l2 = re.findall(r"TX-packets: (\w+)", out1)
                 self.logger.info(
@@ -252,7 +252,7 @@ class TestRxTx_Offload(TestCase):
                     self.verify(
                         int(pks_l2[index]) > int(pks_l1[index]), "TX-packets hang"
                     )
-                if int(pks_l1[index]) < 100000000 or int(pks_l2[index]) < 100000000:
+                if int(pks_l1[index]) < 100000 or int(pks_l2[index]) < 100000:
                     count += 1
             i += 1
             if count > 25:
-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [dts][PATCH V1 2/2] tests/rxtx_offload: optimize test steps to adapt test plan
  2023-02-02  2:59 ` [dts][PATCH V1 2/2] tests/rxtx_offload: optimize test steps to adapt test plan Weiyuan Li
@ 2023-02-03  3:11   ` Huang, ZhiminX
  2023-03-07  3:52   ` lijuan.tu
  1 sibling, 0 replies; 4+ messages in thread
From: Huang, ZhiminX @ 2023-02-03  3:11 UTC (permalink / raw)
  To: Li, WeiyuanX, dts; +Cc: Li, WeiyuanX

> -----Original Message-----
> From: Weiyuan Li <weiyuanx.li@intel.com>
> Sent: Thursday, February 2, 2023 10:59 AM
> To: dts@dpdk.org
> Cc: Li, WeiyuanX <weiyuanx.li@intel.com>
> Subject: [dts][PATCH V1 2/2] tests/rxtx_offload: optimize test steps to adapt
> test plan
> 
> It takes too much time to check 100M TX-packets, according to the test plan
> only 100K Tx-packets needs to be checked to optimize the test steps.
> 
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
> ---
Acked-by: Zhimin Huang <zhiminx.huang@intel.com >



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dts][PATCH V1 2/2] tests/rxtx_offload: optimize test steps to adapt test plan
  2023-02-02  2:59 ` [dts][PATCH V1 2/2] tests/rxtx_offload: optimize test steps to adapt test plan Weiyuan Li
  2023-02-03  3:11   ` Huang, ZhiminX
@ 2023-03-07  3:52   ` lijuan.tu
  1 sibling, 0 replies; 4+ messages in thread
From: lijuan.tu @ 2023-03-07  3:52 UTC (permalink / raw)
  To: dts, Weiyuan Li; +Cc: Weiyuan Li

On Thu,  2 Feb 2023 10:59:27 +0800, Weiyuan Li <weiyuanx.li@intel.com> wrote:
> It takes too much time to check 100M TX-packets, according to the test
> plan only 100K Tx-packets needs to be checked to optimize the test
> steps.
>  
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>


Series applied, thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-07  3:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-02  2:59 [dts][PATCH V1 1/2] test_plans/rxtx_offload: Modify the test plan clerical error Weiyuan Li
2023-02-02  2:59 ` [dts][PATCH V1 2/2] tests/rxtx_offload: optimize test steps to adapt test plan Weiyuan Li
2023-02-03  3:11   ` Huang, ZhiminX
2023-03-07  3:52   ` lijuan.tu

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