test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1 0/1] l3fwd: change rfc2544 pass/fail check
@ 2020-08-19  2:40 yufengmx
  2020-08-19  2:40 ` [dts] [PATCH V1 1/1] " yufengmx
  0 siblings, 1 reply; 3+ messages in thread
From: yufengmx @ 2020-08-19  2:40 UTC (permalink / raw)
  To: dts; +Cc: yufengmx


v1: 
 -  change rfc2544 check condition 
 -  check the case pass : wave = 22.996*0.01 ; config - wave =<actual line rate<=config + wave. 

yufengmx (1):
  l3fwd: change rfc2544 pass/fail check

 tests/l3fwd_base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.21.0


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

* [dts] [PATCH V1 1/1] l3fwd: change rfc2544 pass/fail check
  2020-08-19  2:40 [dts] [PATCH V1 0/1] l3fwd: change rfc2544 pass/fail check yufengmx
@ 2020-08-19  2:40 ` yufengmx
  2020-08-21  3:40   ` Tu, Lijuan
  0 siblings, 1 reply; 3+ messages in thread
From: yufengmx @ 2020-08-19  2:40 UTC (permalink / raw)
  To: dts; +Cc: yufengmx


change rfc2544 check condition
check the case pass : wave = 22.996*0.01 ; config - wave =<actual line rate<=config + wave.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 tests/l3fwd_base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py
index a0190a7..1eccc0e 100644
--- a/tests/l3fwd_base.py
+++ b/tests/l3fwd_base.py
@@ -885,7 +885,7 @@ class L3fwdBase(object):
                 str(rx_pkts),
             ])
             # check data with expected values
-            gap = 100 * (zero_loss_rate - expected_rate) / expected_rate
+            gap = 100 * (actual_rate_percent - expected_rate) / expected_rate
             status = 'pass' \
                 if abs(gap) < bias \
                 else 'failed'
-- 
2.21.0


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

* Re: [dts] [PATCH V1 1/1] l3fwd: change rfc2544 pass/fail check
  2020-08-19  2:40 ` [dts] [PATCH V1 1/1] " yufengmx
@ 2020-08-21  3:40   ` Tu, Lijuan
  0 siblings, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-08-21  3:40 UTC (permalink / raw)
  To: Mo, YufengX, dts; +Cc: Mo, YufengX

> change rfc2544 check condition
> check the case pass : wave = 22.996*0.01 ; config - wave =<actual line
> rate<=config + wave.
> 
> Signed-off-by: yufengmx <yufengx.mo@intel.com>
> ---
>  tests/l3fwd_base.py | 2 +-

Applied

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

end of thread, other threads:[~2020-08-21  3:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-19  2:40 [dts] [PATCH V1 0/1] l3fwd: change rfc2544 pass/fail check yufengmx
2020-08-19  2:40 ` [dts] [PATCH V1 1/1] " yufengmx
2020-08-21  3:40   ` Tu, Lijuan

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