[dts] [PATCH V1 2/4] test_plans/stats_checks_test_plan:rich test point in plan
Zhimin Huang
zhiminx.huang at intel.com
Tue Sep 7 21:13:17 CEST 2021
add some new test points in plan:
stats_checks:
add clear stats test.
Signed-off-by: Zhimin Huang <zhiminx.huang at intel.com>
---
test_plans/stats_checks_test_plan.rst | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/test_plans/stats_checks_test_plan.rst b/test_plans/stats_checks_test_plan.rst
index 51ec36d..327aaf2 100644
--- a/test_plans/stats_checks_test_plan.rst
+++ b/test_plans/stats_checks_test_plan.rst
@@ -264,6 +264,21 @@ FVL does not support hardware per queue stats,
so rx_qx_packets and rx_qx_bytes are both 0.
tx_qx_packets and tx_qx_bytes are both 0 too.
+6. Clear stats::
+
+ testpmd> clear port stats all
+
+7. Check stats and xstats, verify rx_good_packets, RX-packets of port 0 and tx_good_packets, TX-packets of port 1 are both 0.
+
+8. Repeat above 4 and 5 steps.
+
+9. Clear xstats::
+
+ testpmd> clear port xstats all
+
+10. Check stats and xstats, verify rx_good_packets, RX-packets of port 0 and tx_good_packets, TX-packets of port 1 are both 0.
+
+
Test Case: VF xstats Checks
============================
1. Create one VF port on a kernel PF, then bind the VF to pmd driver::
--
2.17.1
More information about the dts
mailing list