test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH v2] test_plans/vf_rss: correct grammar and commands
@ 2019-03-18  0:30 Xueqin Lin
  2019-03-18 22:45 ` Rami Rosen
  2019-03-24 18:32 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Xueqin Lin @ 2019-03-18  0:30 UTC (permalink / raw)
  To: dts; +Cc: Xueqin Lin

Signed-off-by: Xueqin Lin <xueqin.lin@intel.com>


---
 test_plans/vf_rss_test_plan.rst | 37 +++++++++++++++----------------------
 1 file changed, 15 insertions(+), 22 deletions(-)

diff --git a/test_plans/vf_rss_test_plan.rst b/test_plans/vf_rss_test_plan.rst
index c425227..746b074 100644
--- a/test_plans/vf_rss_test_plan.rst
+++ b/test_plans/vf_rss_test_plan.rst
@@ -40,15 +40,8 @@ Support configuring hash functions.
 Prerequisites
 -------------
 
-* 2x Intel? 82599 (Niantic) NICs (2x 10GbE full duplex optical ports per NIC)
-* 1x Fortville_eagle NIC (4x 10G)
-* 1x Fortville_spirit NIC (2x 40G)
-* 2x Fortville_spirit_single NIC (1x 40G)
-
-The one port of the 82599 connect to the Fortville_eagle;
-The one port of Fortville_spirit connect to Fortville_spirit_single.
-The three kinds of NICs are the target NICs. the connected NICs can send packets
-to these three NICs using scapy.
+Each of the Ethernet ports of the DUT is directly connected in full-duplex
+to a different port of the peer traffic generator.
 
 Network Traffic
 ---------------
@@ -60,19 +53,19 @@ handled by a different logical core.
 #. The receive packet is parsed into the header fields used by the hash
    operation (such as IP addresses, TCP port, etc.)
 
-#. A hash calculation is performed. The Fortville  supports three hash function:
+#. A hash calculation is performed. The Fortville supports three hash function:
    Toeplitz, simple XOR and their Symmetric RSS.
 
-#. Hash result are used as an index into a 128/512 entry
+#. Hash results are used as an index into a 128/512 entry
    'redirection table'.
 
-#. Niantic VF only support simple default hash algorithm(simple). Fortville NIC
+#. Niantic VF only supports simple default hash algorithm(simple). Fortville NICs
    support all hash algorithm only used dpdk driver on host. when used kernel driver on host,
-   fortville nic only support default hash algorithm(simple).
+   fortville NICs only support default hash algorithm(simple).
 
 The RSS RETA update feature is designed to make RSS more flexible by allowing
 users to define the correspondence between the seven LSBs of hash result and
-the queue id(RSS output index) by them self.
+the queue id(RSS output index) by themself.
 
 
 Test Case:  test_rss_hash
@@ -100,7 +93,7 @@ interactive commands of the ``testpmd`` application.
 
 1. Got the pci device id of DUT, for example::
 
-     ./dpdk_nic_bind.py --st
+     ./usertools/dpdk-devbind.py -s
 
      0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f0 drv=i40e unused=
      0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f1 drv=i40e unused=
@@ -109,7 +102,7 @@ interactive commands of the ``testpmd`` application.
 
      echo 1 > /sys/bus/pci/devices/0000\:81\:00.0/sriov_numvfs
      echo 1 > /sys/bus/pci/devices/0000\:81\:00.1/sriov_numvfs
-     ./dpdk_nic_bind.py --st
+     ./usertools/dpdk-devbind.py -s
 
      0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f0 drv=i40e unused=
      0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f1 drv=i40e unused=
@@ -135,7 +128,7 @@ interactive commands of the ``testpmd`` application.
      virsh nodedev-detach pci_0000_81_02_0;
      virsh nodedev-detach pci_0000_81_0a_0;
 
-     ./dpdk_nic_bind.py --st
+     ./usertools/dpdk-devbind.py -s
 
      0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f0 drv=i40e unused=
      0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f1 drv=i40e unused=
@@ -155,7 +148,7 @@ interactive commands of the ``testpmd`` application.
    bind them to igb_uio driver, and then start testpmd, set it in mac forward
    mode::
 
-     ./tools/dpdk_nic_bind.py --bind=igb_uio 00:06.0 00:07.0
+    ./usertools/dpdk-devbind.py --bind=igb_uio 00:06.0 00:07.0
 
 6. Reta Configuration.  128 reta entries configuration::
 
@@ -167,7 +160,7 @@ interactive commands of the ``testpmd`` application.
 
 8. Rss received package type configuration two received packet types configuration::
 
-     testpmd command: port config 0 rss ip/udp/tcp
+     testpmd command: port config all rss ip/udp/tcp
 
 9. Verbose configuration::
 
@@ -177,8 +170,8 @@ interactive commands of the ``testpmd`` application.
 
       testpmd command: start
 
-11. Send packet and check rx port received packet by different queue.
-    different hash type send different packet, example hash type is ip, packet src and dts ip not different::
+11. Send different hash types' packets with different keywords, then check rx port
+    could receive packets by different queues::
 
       sendp([Ether(dst="90:e2:ba:36:99:3c")/IP(src="192.168.0.4", dst="192.168.0.5")], iface="eth3")
       sendp([Ether(dst="90:e2:ba:36:99:3c")/IP(src="192.168.0.5", dst="192.168.0.4")], iface="eth3")
@@ -188,6 +181,6 @@ Test Case:  test_reta
 
 This case test hash reta table, the test steps same with test_rss_hash except config hash reta table
 
-Before send packet, config hash reta,512(niantic nic have 128 reta) reta entries configuration::
+Before send packet, config hash reta,512(niantic NICs have 128 reta) reta entries configuration::
 
   testpmd command: port config 0 rss reta (hash_index,queue_id)
-- 
2.5.5


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

* Re: [dts] [PATCH v2] test_plans/vf_rss: correct grammar and commands
  2019-03-18  0:30 [dts] [PATCH v2] test_plans/vf_rss: correct grammar and commands Xueqin Lin
@ 2019-03-18 22:45 ` Rami Rosen
  2019-03-24 18:32 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Rami Rosen @ 2019-03-18 22:45 UTC (permalink / raw)
  To: Xueqin Lin; +Cc: dts

[-- Attachment #1: Type: text/plain, Size: 42 bytes --]

Acked-by: Rami Rosen <ramirose@gmail.com>

[-- Attachment #2: Type: text/html, Size: 136 bytes --]

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

* Re: [dts] [PATCH v2] test_plans/vf_rss: correct grammar and commands
  2019-03-18  0:30 [dts] [PATCH v2] test_plans/vf_rss: correct grammar and commands Xueqin Lin
  2019-03-18 22:45 ` Rami Rosen
@ 2019-03-24 18:32 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-03-24 18:32 UTC (permalink / raw)
  To: Lin, Xueqin, dts; +Cc: Lin, Xueqin

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xueqin Lin
> Sent: Sunday, March 17, 2019 5:30 PM
> To: dts@dpdk.org
> Cc: Lin, Xueqin <xueqin.lin@intel.com>
> Subject: [dts] [PATCH v2] test_plans/vf_rss: correct grammar and commands
> 
> Signed-off-by: Xueqin Lin <xueqin.lin@intel.com>
> 
> 
> ---
>  test_plans/vf_rss_test_plan.rst | 37 +++++++++++++++----------------------
>  1 file changed, 15 insertions(+), 22 deletions(-)
> 
> diff --git a/test_plans/vf_rss_test_plan.rst b/test_plans/vf_rss_test_plan.rst
> index c425227..746b074 100644
> --- a/test_plans/vf_rss_test_plan.rst
> +++ b/test_plans/vf_rss_test_plan.rst
> @@ -40,15 +40,8 @@ Support configuring hash functions.
>  Prerequisites
>  -------------
> 
> -* 2x Intel? 82599 (Niantic) NICs (2x 10GbE full duplex optical ports per NIC)
> -* 1x Fortville_eagle NIC (4x 10G)
> -* 1x Fortville_spirit NIC (2x 40G)
> -* 2x Fortville_spirit_single NIC (1x 40G)
> -
> -The one port of the 82599 connect to the Fortville_eagle; -The one port of
> Fortville_spirit connect to Fortville_spirit_single.
> -The three kinds of NICs are the target NICs. the connected NICs can send
> packets -to these three NICs using scapy.
> +Each of the Ethernet ports of the DUT is directly connected in
> +full-duplex to a different port of the peer traffic generator.
> 
>  Network Traffic
>  ---------------
> @@ -60,19 +53,19 @@ handled by a different logical core.
>  #. The receive packet is parsed into the header fields used by the hash
>     operation (such as IP addresses, TCP port, etc.)
> 
> -#. A hash calculation is performed. The Fortville  supports three hash function:
> +#. A hash calculation is performed. The Fortville supports three hash function:
>     Toeplitz, simple XOR and their Symmetric RSS.
> 
> -#. Hash result are used as an index into a 128/512 entry
> +#. Hash results are used as an index into a 128/512 entry
>     'redirection table'.
> 
> -#. Niantic VF only support simple default hash algorithm(simple). Fortville NIC
> +#. Niantic VF only supports simple default hash algorithm(simple).
> +Fortville NICs
>     support all hash algorithm only used dpdk driver on host. when used kernel
> driver on host,
> -   fortville nic only support default hash algorithm(simple).
> +   fortville NICs only support default hash algorithm(simple).
> 
>  The RSS RETA update feature is designed to make RSS more flexible by allowing
> users to define the correspondence between the seven LSBs of hash result and -
> the queue id(RSS output index) by them self.
> +the queue id(RSS output index) by themself.
> 
> 
>  Test Case:  test_rss_hash
> @@ -100,7 +93,7 @@ interactive commands of the ``testpmd`` application.
> 
>  1. Got the pci device id of DUT, for example::
> 
> -     ./dpdk_nic_bind.py --st
> +     ./usertools/dpdk-devbind.py -s
> 
>       0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f0 drv=i40e
> unused=
>       0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f1 drv=i40e
> unused= @@ -109,7 +102,7 @@ interactive commands of the ``testpmd``
> application.
> 
>       echo 1 > /sys/bus/pci/devices/0000\:81\:00.0/sriov_numvfs
>       echo 1 > /sys/bus/pci/devices/0000\:81\:00.1/sriov_numvfs
> -     ./dpdk_nic_bind.py --st
> +     ./usertools/dpdk-devbind.py -s
> 
>       0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f0 drv=i40e
> unused=
>       0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f1 drv=i40e
> unused= @@ -135,7 +128,7 @@ interactive commands of the ``testpmd``
> application.
>       virsh nodedev-detach pci_0000_81_02_0;
>       virsh nodedev-detach pci_0000_81_0a_0;
> 
> -     ./dpdk_nic_bind.py --st
> +     ./usertools/dpdk-devbind.py -s
> 
>       0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f0 drv=i40e
> unused=
>       0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f1 drv=i40e
> unused= @@ -155,7 +148,7 @@ interactive commands of the ``testpmd``
> application.
>     bind them to igb_uio driver, and then start testpmd, set it in mac forward
>     mode::
> 
> -     ./tools/dpdk_nic_bind.py --bind=igb_uio 00:06.0 00:07.0
> +    ./usertools/dpdk-devbind.py --bind=igb_uio 00:06.0 00:07.0
> 
>  6. Reta Configuration.  128 reta entries configuration::
> 
> @@ -167,7 +160,7 @@ interactive commands of the ``testpmd`` application.
> 
>  8. Rss received package type configuration two received packet types
> configuration::
> 
> -     testpmd command: port config 0 rss ip/udp/tcp
> +     testpmd command: port config all rss ip/udp/tcp
> 
>  9. Verbose configuration::
> 
> @@ -177,8 +170,8 @@ interactive commands of the ``testpmd`` application.
> 
>        testpmd command: start
> 
> -11. Send packet and check rx port received packet by different queue.
> -    different hash type send different packet, example hash type is ip, packet src
> and dts ip not different::
> +11. Send different hash types' packets with different keywords, then check rx
> port
> +    could receive packets by different queues::
> 
>        sendp([Ether(dst="90:e2:ba:36:99:3c")/IP(src="192.168.0.4",
> dst="192.168.0.5")], iface="eth3")
>        sendp([Ether(dst="90:e2:ba:36:99:3c")/IP(src="192.168.0.5",
> dst="192.168.0.4")], iface="eth3") @@ -188,6 +181,6 @@ Test Case:  test_reta
> 
>  This case test hash reta table, the test steps same with test_rss_hash except
> config hash reta table
> 
> -Before send packet, config hash reta,512(niantic nic have 128 reta) reta entries
> configuration::
> +Before send packet, config hash reta,512(niantic NICs have 128 reta) reta
> entries configuration::
> 
>    testpmd command: port config 0 rss reta (hash_index,queue_id)
> --
> 2.5.5


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

end of thread, other threads:[~2019-03-24 18:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-18  0:30 [dts] [PATCH v2] test_plans/vf_rss: correct grammar and commands Xueqin Lin
2019-03-18 22:45 ` Rami Rosen
2019-03-24 18:32 ` 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).