* [dts] [PATCH V2] test_plans/xstats_enhancements:add xstats_enhancements_test_plan.rst to tests
@ 2019-03-05 4:29 zhu,shuai
2019-03-05 5:20 ` Wu, ChangqingX
2019-03-14 8:41 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: zhu,shuai @ 2019-03-05 4:29 UTC (permalink / raw)
To: dts; +Cc: zhu,shuai
Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
test_plans/xstats_enhancements_test_plan.rst | 61 ++++++++++++++++++++
1 file changed, 61 insertions(+)
create mode 100644 test_plans/xstats_enhancements_test_plan.rst
diff --git a/test_plans/xstats_enhancements_test_plan.rst b/test_plans/xstats_enhancements_test_plan.rst
new file mode 100644
index 0000000..72f15d9
--- /dev/null
+++ b/test_plans/xstats_enhancements_test_plan.rst
@@ -0,0 +1,61 @@
+.. Copyright (c) <2016>, Intel Corporation
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ - Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ - Neither the name of Intel Corporation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ OF THE POSSIBILITY OF SUCH DAMAGE.
+
+================================
+Xstats Enhancements Feature Tests
+================================
+
+XStats Enhancements improve the extended NIC stats API to use id value pairs
+instead of string value pairs. Remap stats registers to use standard interface MIB
+naming and sizing.
+
+------------------------------------------------------------
+Test Case: Simple packet transfer forwarding test for xstats
+------------------------------------------------------------
+
+1. create and mount hugepage::
+ echo 4096 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
+ mount -t hugetlbfs hugetlbfs /mnt/huge
+
+2. Bind nic to DPDK::
+ ./usertools/dpdk_nic_bind.py -b igb_uio 0000:01:00.0 0000:01:00.1
+
+3. start ethtool app::
+ ./example/ethtool
+
+4. set fwd and transmit packets.
+
+5. make sure all packets could be received correct.
+
+6. check the xstats::
+ EthApp>xstats port_id
+Classically, if you select the right port, the queue stats of packet transfer will be showed after the command. If the driver does not support xstats, you still get the non-driver queue stats.
--
2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V2] test_plans/xstats_enhancements:add xstats_enhancements_test_plan.rst to tests
2019-03-05 4:29 [dts] [PATCH V2] test_plans/xstats_enhancements:add xstats_enhancements_test_plan.rst to tests zhu,shuai
@ 2019-03-05 5:20 ` Wu, ChangqingX
2019-03-14 8:41 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Wu, ChangqingX @ 2019-03-05 5:20 UTC (permalink / raw)
To: Zhu, ShuaiX, dts; +Cc: Zhu, ShuaiX
Tested-by: Wu, ChangqingX <changqingx.wu@intel.com>
-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
Sent: Tuesday, March 5, 2019 12:30 PM
To: dts@dpdk.org
Cc: Zhu, ShuaiX <shuaix.zhu@intel.com>
Subject: [dts] [PATCH V2] test_plans/xstats_enhancements:add xstats_enhancements_test_plan.rst to tests
Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
test_plans/xstats_enhancements_test_plan.rst | 61 ++++++++++++++++++++
1 file changed, 61 insertions(+)
create mode 100644 test_plans/xstats_enhancements_test_plan.rst
diff --git a/test_plans/xstats_enhancements_test_plan.rst b/test_plans/xstats_enhancements_test_plan.rst
new file mode 100644
index 0000000..72f15d9
--- /dev/null
+++ b/test_plans/xstats_enhancements_test_plan.rst
@@ -0,0 +1,61 @@
+.. Copyright (c) <2016>, Intel Corporation
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ - Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ - Neither the name of Intel Corporation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ OF THE POSSIBILITY OF SUCH DAMAGE.
+
+================================
+Xstats Enhancements Feature Tests
+================================
+
+XStats Enhancements improve the extended NIC stats API to use id value
+pairs instead of string value pairs. Remap stats registers to use
+standard interface MIB naming and sizing.
+
+------------------------------------------------------------
+Test Case: Simple packet transfer forwarding test for xstats
+------------------------------------------------------------
+
+1. create and mount hugepage::
+ echo 4096 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
+ mount -t hugetlbfs hugetlbfs /mnt/huge
+
+2. Bind nic to DPDK::
+ ./usertools/dpdk_nic_bind.py -b igb_uio 0000:01:00.0 0000:01:00.1
+
+3. start ethtool app::
+ ./example/ethtool
+
+4. set fwd and transmit packets.
+
+5. make sure all packets could be received correct.
+
+6. check the xstats::
+ EthApp>xstats port_id
+Classically, if you select the right port, the queue stats of packet transfer will be showed after the command. If the driver does not support xstats, you still get the non-driver queue stats.
--
2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V2] test_plans/xstats_enhancements:add xstats_enhancements_test_plan.rst to tests
2019-03-05 4:29 [dts] [PATCH V2] test_plans/xstats_enhancements:add xstats_enhancements_test_plan.rst to tests zhu,shuai
2019-03-05 5:20 ` Wu, ChangqingX
@ 2019-03-14 8:41 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-03-14 8:41 UTC (permalink / raw)
To: Zhu, ShuaiX, dts; +Cc: Zhu, ShuaiX
Hi shuai,
Snice your tests are for Xstats Enhancements Feature , Could and the test plan link for Xstats?
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
> Sent: Tuesday, March 5, 2019 12:30 PM
> To: dts@dpdk.org
> Cc: Zhu, ShuaiX <shuaix.zhu@intel.com>
> Subject: [dts] [PATCH V2] test_plans/xstats_enhancements:add
> xstats_enhancements_test_plan.rst to tests
>
> Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
> ---
> test_plans/xstats_enhancements_test_plan.rst | 61 ++++++++++++++++++++
> 1 file changed, 61 insertions(+)
> create mode 100644 test_plans/xstats_enhancements_test_plan.rst
>
> diff --git a/test_plans/xstats_enhancements_test_plan.rst
> b/test_plans/xstats_enhancements_test_plan.rst
> new file mode 100644
> index 0000000..72f15d9
> --- /dev/null
> +++ b/test_plans/xstats_enhancements_test_plan.rst
> @@ -0,0 +1,61 @@
> +.. Copyright (c) <2016>, Intel Corporation
> + All rights reserved.
> +
> + Redistribution and use in source and binary forms, with or without
> + modification, are permitted provided that the following conditions
> + are met:
> +
> + - Redistributions of source code must retain the above copyright
> + notice, this list of conditions and the following disclaimer.
> +
> + - Redistributions in binary form must reproduce the above copyright
> + notice, this list of conditions and the following disclaimer in
> + the documentation and/or other materials provided with the
> + distribution.
> +
> + - Neither the name of Intel Corporation nor the names of its
> + contributors may be used to endorse or promote products derived
> + from this software without specific prior written permission.
> +
> + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
> CONTRIBUTORS
> + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
> + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
> + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
> INDIRECT,
> + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
> + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
> OR
> + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
> + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> CONTRACT,
> + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> + OF THE POSSIBILITY OF SUCH DAMAGE.
> +
> +================================
> +Xstats Enhancements Feature Tests
> +================================
> +
> +XStats Enhancements improve the extended NIC stats API to use id value
> +pairs instead of string value pairs. Remap stats registers to use
> +standard interface MIB naming and sizing.
> +
> +------------------------------------------------------------
> +Test Case: Simple packet transfer forwarding test for xstats
> +------------------------------------------------------------
> +
> +1. create and mount hugepage::
> + echo 4096 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
> + mount -t hugetlbfs hugetlbfs /mnt/huge
> +
> +2. Bind nic to DPDK::
> + ./usertools/dpdk_nic_bind.py -b igb_uio 0000:01:00.0 0000:01:00.1
> +
> +3. start ethtool app::
> + ./example/ethtool
> +
> +4. set fwd and transmit packets.
[Lijuan] which forward mode? Any requirement for the packets.
> +
> +5. make sure all packets could be received correct.
[Lijuan] how to verify it's correct.
> +
> +6. check the xstats::
> + EthApp>xstats port_id
> +Classically, if you select the right port, the queue stats of packet transfer will be
> showed after the command. If the driver does not support xstats, you still get
> the non-driver queue stats.
[Lijuan] Could you show some output here.
> --
> 2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-14 8:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-05 4:29 [dts] [PATCH V2] test_plans/xstats_enhancements:add xstats_enhancements_test_plan.rst to tests zhu,shuai
2019-03-05 5:20 ` Wu, ChangqingX
2019-03-14 8:41 ` 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).