test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V2] test_plans/etag: add hardware informations
  2019-03-22  6:31 [dts] [PATCH V2] test_plans/etag: add hardware informations Jianwei Mei
@ 2019-03-22  6:30 ` Zhu, ShuaiX
  2019-03-24  7:40 ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Zhu, ShuaiX @ 2019-03-22  6:30 UTC (permalink / raw)
  To: Mei, JianweiX, dts; +Cc: Mei, JianweiX, Zhu, ShuaiX

Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Jianwei Mei
> Sent: Friday, March 22, 2019 2:31 PM
> To: dts@dpdk.org
> Cc: Mei, JianweiX <jianweix.mei@intel.com>
> Subject: [dts] [PATCH V2] test_plans/etag: add hardware informations
> 
> 
> modify x550 to X552/X557 and add hardware infos
> 
> Signed-off-by: Jianwei Mei <jianweix.mei@intel.com>
> ---
>  test_plans/etag_test_plan.rst | 29 ++++++++++++++++++++++++-----
>  1 file changed, 24 insertions(+), 5 deletions(-)
> 
> diff --git a/test_plans/etag_test_plan.rst b/test_plans/etag_test_plan.rst
> index 6350d64..f643a12 100644
> --- a/test_plans/etag_test_plan.rst
> +++ b/test_plans/etag_test_plan.rst
> @@ -35,12 +35,12 @@ External Tag (E-tag) Tests
> ==========================
> 
>  In some systems an additional external tag (E-tag) can be present before the
> -VLAN. NIC X550 support VLANs in presence of external tags.
> +VLAN. NIC X552/X557 support VLANs in presence of external tags.
>  E-tag mode is used for systems where the device adds a tag to identify a
> subsystem (usually a VM) and the near end switch adds a tag indicating the
> destination subsystem.
> 
> -The support of E-tag features by X550 consists in:
> +The support of E-tag features by X552/X557 consists in:
>  - The filtering of received E-tag packets
>  - E-tag header stripping by VF device in received packets
>  - E-tag header insertion by VF device in transmitted packets @@ -49,19
> +49,38 @@ The support of E-tag features by X550 consists in:
>  Prerequisites
>  =============
> 
> +1. Hardware:
> +
> +-  Machine type: SuperMicro 1U Xeon D Broadwell SoC uServer
> +-  Product Name: SYS-5018D-FN4T
> +-  Nic: Sagepond(X552/X557-AT)
> +
> +Note: you can use "dmidecode | grep 'Product Name'" command to get the
> product name.
> +
> +2. Bios:
> +
> +-  Enable etag items in BIOS
> +
> +3. Software:
> +
> +- DPDK: http://dpdk.org/git/dpdk
> +
> +Set up scenario
> +===============
> +
>  1. Create 2VF devices from PF device::
> 
>        ./dpdk_nic_bind.py --st
>        0000:84:00.0 'Device 1563' drv=igb_uio unused=
>        echo 2 > /sys/bus/pci/devices/0000\:84\:00.0/max_vfs
> 
> -2. Detach VFs from the host, bind them to pci-stub driver::
> +2. Detach VFs from the host, bind them to pci-stub or vfio-pci driver::
> 
>        /sbin/modprobe pci-stub
> 
> -    using `lspci -nn|grep -i ethernet` got VF device id, for example "8086
> 1565"::
> +    using `lspci -nn|grep -i ethernet` got VF device id, for example
> "8086:15ad"::
> 
> -       echo "8086 1565" > /sys/bus/pci/drivers/pci-stub/new_id
> +       echo "8086:15ad" > /sys/bus/pci/drivers/pci-stub/new_id
>         echo 0000:84:10.0 >
> /sys/bus/pci/devices/0000:84:10.0/driver/unbind
>         echo 0000:84:10.0 > /sys/bus/pci/drivers/pci-stub/bind
>         echo 0000:84:10.2 >
> /sys/bus/pci/devices/0000:84:10.2/driver/unbind
> --
> 2.17.2


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

* [dts] [PATCH V2] test_plans/etag: add hardware informations
@ 2019-03-22  6:31 Jianwei Mei
  2019-03-22  6:30 ` Zhu, ShuaiX
  2019-03-24  7:40 ` Tu, Lijuan
  0 siblings, 2 replies; 4+ messages in thread
From: Jianwei Mei @ 2019-03-22  6:31 UTC (permalink / raw)
  To: dts; +Cc: Jianwei Mei


modify x550 to X552/X557 and add hardware infos

Signed-off-by: Jianwei Mei <jianweix.mei@intel.com>
---
 test_plans/etag_test_plan.rst | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

diff --git a/test_plans/etag_test_plan.rst b/test_plans/etag_test_plan.rst
index 6350d64..f643a12 100644
--- a/test_plans/etag_test_plan.rst
+++ b/test_plans/etag_test_plan.rst
@@ -35,12 +35,12 @@ External Tag (E-tag) Tests
 ==========================
 
 In some systems an additional external tag (E-tag) can be present before the
-VLAN. NIC X550 support VLANs in presence of external tags.
+VLAN. NIC X552/X557 support VLANs in presence of external tags.
 E-tag mode is used for systems where the device adds a tag to identify a
 subsystem (usually a VM) and the near end switch adds a tag indicating the
 destination subsystem.
 
-The support of E-tag features by X550 consists in:
+The support of E-tag features by X552/X557 consists in:
 - The filtering of received E-tag packets
 - E-tag header stripping by VF device in received packets
 - E-tag header insertion by VF device in transmitted packets
@@ -49,19 +49,38 @@ The support of E-tag features by X550 consists in:
 Prerequisites
 =============
 
+1. Hardware:
+
+-  Machine type: SuperMicro 1U Xeon D Broadwell SoC uServer
+-  Product Name: SYS-5018D-FN4T
+-  Nic: Sagepond(X552/X557-AT)
+
+Note: you can use "dmidecode | grep 'Product Name'" command to get the product name.
+
+2. Bios:
+
+-  Enable etag items in BIOS
+
+3. Software:
+
+- DPDK: http://dpdk.org/git/dpdk
+
+Set up scenario
+===============
+
 1. Create 2VF devices from PF device::
 
       ./dpdk_nic_bind.py --st
       0000:84:00.0 'Device 1563' drv=igb_uio unused=
       echo 2 > /sys/bus/pci/devices/0000\:84\:00.0/max_vfs
 
-2. Detach VFs from the host, bind them to pci-stub driver::
+2. Detach VFs from the host, bind them to pci-stub or vfio-pci driver::
 
       /sbin/modprobe pci-stub
 
-    using `lspci -nn|grep -i ethernet` got VF device id, for example "8086 1565"::
+    using `lspci -nn|grep -i ethernet` got VF device id, for example "8086:15ad"::
 
-       echo "8086 1565" > /sys/bus/pci/drivers/pci-stub/new_id
+       echo "8086:15ad" > /sys/bus/pci/drivers/pci-stub/new_id
        echo 0000:84:10.0 > /sys/bus/pci/devices/0000:84:10.0/driver/unbind
        echo 0000:84:10.0 > /sys/bus/pci/drivers/pci-stub/bind
        echo 0000:84:10.2 > /sys/bus/pci/devices/0000:84:10.2/driver/unbind
-- 
2.17.2


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

* Re: [dts] [PATCH V2] test_plans/etag: add hardware informations
  2019-03-22  6:31 [dts] [PATCH V2] test_plans/etag: add hardware informations Jianwei Mei
  2019-03-22  6:30 ` Zhu, ShuaiX
@ 2019-03-24  7:40 ` Tu, Lijuan
  2019-03-25  7:23   ` Mei, JianweiX
  1 sibling, 1 reply; 4+ messages in thread
From: Tu, Lijuan @ 2019-03-24  7:40 UTC (permalink / raw)
  To: Mei, JianweiX, dts; +Cc: Mei, JianweiX

Hi Jianwei,

Change X550 to X552/x557 will confuse user that X550 not support E-tag, but actually it supports.

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Jianwei Mei
> Sent: Thursday, March 21, 2019 11:31 PM
> To: dts@dpdk.org
> Cc: Mei, JianweiX <jianweix.mei@intel.com>
> Subject: [dts] [PATCH V2] test_plans/etag: add hardware informations
> 
> 
> modify x550 to X552/X557 and add hardware infos
> 
> Signed-off-by: Jianwei Mei <jianweix.mei@intel.com>
> ---
>  test_plans/etag_test_plan.rst | 29 ++++++++++++++++++++++++-----
>  1 file changed, 24 insertions(+), 5 deletions(-)
> 
> diff --git a/test_plans/etag_test_plan.rst b/test_plans/etag_test_plan.rst index
> 6350d64..f643a12 100644
> --- a/test_plans/etag_test_plan.rst
> +++ b/test_plans/etag_test_plan.rst
> @@ -35,12 +35,12 @@ External Tag (E-tag) Tests
> ==========================
> 
>  In some systems an additional external tag (E-tag) can be present before the -
> VLAN. NIC X550 support VLANs in presence of external tags.
> +VLAN. NIC X552/X557 support VLANs in presence of external tags.
>  E-tag mode is used for systems where the device adds a tag to identify a
> subsystem (usually a VM) and the near end switch adds a tag indicating the
> destination subsystem.
> 
> -The support of E-tag features by X550 consists in:
> +The support of E-tag features by X552/X557 consists in:
>  - The filtering of received E-tag packets
>  - E-tag header stripping by VF device in received packets
>  - E-tag header insertion by VF device in transmitted packets @@ -49,19 +49,38
> @@ The support of E-tag features by X550 consists in:
>  Prerequisites
>  =============
> 
> +1. Hardware:
> +
> +-  Machine type: SuperMicro 1U Xeon D Broadwell SoC uServer
> +-  Product Name: SYS-5018D-FN4T
> +-  Nic: Sagepond(X552/X557-AT)
> +
> +Note: you can use "dmidecode | grep 'Product Name'" command to get the
> product name.
> +
> +2. Bios:
> +
> +-  Enable etag items in BIOS
> +
> +3. Software:
> +
> +- DPDK: http://dpdk.org/git/dpdk
> +
> +Set up scenario
> +===============
> +
>  1. Create 2VF devices from PF device::
> 
>        ./dpdk_nic_bind.py --st
>        0000:84:00.0 'Device 1563' drv=igb_uio unused=
>        echo 2 > /sys/bus/pci/devices/0000\:84\:00.0/max_vfs
> 
> -2. Detach VFs from the host, bind them to pci-stub driver::
> +2. Detach VFs from the host, bind them to pci-stub or vfio-pci driver::
> 
>        /sbin/modprobe pci-stub
> 
> -    using `lspci -nn|grep -i ethernet` got VF device id, for example "8086 1565"::
> +    using `lspci -nn|grep -i ethernet` got VF device id, for example "8086:15ad"::
> 
> -       echo "8086 1565" > /sys/bus/pci/drivers/pci-stub/new_id
> +       echo "8086:15ad" > /sys/bus/pci/drivers/pci-stub/new_id
>         echo 0000:84:10.0 > /sys/bus/pci/devices/0000:84:10.0/driver/unbind
>         echo 0000:84:10.0 > /sys/bus/pci/drivers/pci-stub/bind
>         echo 0000:84:10.2 > /sys/bus/pci/devices/0000:84:10.2/driver/unbind
> --
> 2.17.2


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

* Re: [dts] [PATCH V2] test_plans/etag: add hardware informations
  2019-03-24  7:40 ` Tu, Lijuan
@ 2019-03-25  7:23   ` Mei, JianweiX
  0 siblings, 0 replies; 4+ messages in thread
From: Mei, JianweiX @ 2019-03-25  7:23 UTC (permalink / raw)
  To: Tu, Lijuan, dts

Hi Lijuan,

You are right, the NIC X550 support E-tag too, I'll update the test plan, thanks for checking this.

-----Original Message-----
From: Tu, Lijuan 
Sent: Sunday, March 24, 2019 3:40 PM
To: Mei, JianweiX <jianweix.mei@intel.com>; dts@dpdk.org
Cc: Mei, JianweiX <jianweix.mei@intel.com>
Subject: RE: [dts] [PATCH V2] test_plans/etag: add hardware informations

Hi Jianwei,

Change X550 to X552/x557 will confuse user that X550 not support E-tag, but actually it supports.

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Jianwei Mei
> Sent: Thursday, March 21, 2019 11:31 PM
> To: dts@dpdk.org
> Cc: Mei, JianweiX <jianweix.mei@intel.com>
> Subject: [dts] [PATCH V2] test_plans/etag: add hardware informations
> 
> 
> modify x550 to X552/X557 and add hardware infos
> 
> Signed-off-by: Jianwei Mei <jianweix.mei@intel.com>
> ---
>  test_plans/etag_test_plan.rst | 29 ++++++++++++++++++++++++-----
>  1 file changed, 24 insertions(+), 5 deletions(-)
> 
> diff --git a/test_plans/etag_test_plan.rst 
> b/test_plans/etag_test_plan.rst index
> 6350d64..f643a12 100644
> --- a/test_plans/etag_test_plan.rst
> +++ b/test_plans/etag_test_plan.rst
> @@ -35,12 +35,12 @@ External Tag (E-tag) Tests 
> ==========================
> 
>  In some systems an additional external tag (E-tag) can be present 
> before the - VLAN. NIC X550 support VLANs in presence of external tags.
> +VLAN. NIC X552/X557 support VLANs in presence of external tags.
>  E-tag mode is used for systems where the device adds a tag to 
> identify a subsystem (usually a VM) and the near end switch adds a tag 
> indicating the destination subsystem.
> 
> -The support of E-tag features by X550 consists in:
> +The support of E-tag features by X552/X557 consists in:
>  - The filtering of received E-tag packets
>  - E-tag header stripping by VF device in received packets
>  - E-tag header insertion by VF device in transmitted packets @@ 
> -49,19 +49,38 @@ The support of E-tag features by X550 consists in:
>  Prerequisites
>  =============
> 
> +1. Hardware:
> +
> +-  Machine type: SuperMicro 1U Xeon D Broadwell SoC uServer
> +-  Product Name: SYS-5018D-FN4T
> +-  Nic: Sagepond(X552/X557-AT)
> +
> +Note: you can use "dmidecode | grep 'Product Name'" command to get 
> +the
> product name.
> +
> +2. Bios:
> +
> +-  Enable etag items in BIOS
> +
> +3. Software:
> +
> +- DPDK: http://dpdk.org/git/dpdk
> +
> +Set up scenario
> +===============
> +
>  1. Create 2VF devices from PF device::
> 
>        ./dpdk_nic_bind.py --st
>        0000:84:00.0 'Device 1563' drv=igb_uio unused=
>        echo 2 > /sys/bus/pci/devices/0000\:84\:00.0/max_vfs
> 
> -2. Detach VFs from the host, bind them to pci-stub driver::
> +2. Detach VFs from the host, bind them to pci-stub or vfio-pci driver::
> 
>        /sbin/modprobe pci-stub
> 
> -    using `lspci -nn|grep -i ethernet` got VF device id, for example "8086 1565"::
> +    using `lspci -nn|grep -i ethernet` got VF device id, for example "8086:15ad"::
> 
> -       echo "8086 1565" > /sys/bus/pci/drivers/pci-stub/new_id
> +       echo "8086:15ad" > /sys/bus/pci/drivers/pci-stub/new_id
>         echo 0000:84:10.0 > /sys/bus/pci/devices/0000:84:10.0/driver/unbind
>         echo 0000:84:10.0 > /sys/bus/pci/drivers/pci-stub/bind
>         echo 0000:84:10.2 > 
> /sys/bus/pci/devices/0000:84:10.2/driver/unbind
> --
> 2.17.2


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

end of thread, other threads:[~2019-03-25  7:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22  6:31 [dts] [PATCH V2] test_plans/etag: add hardware informations Jianwei Mei
2019-03-22  6:30 ` Zhu, ShuaiX
2019-03-24  7:40 ` Tu, Lijuan
2019-03-25  7:23   ` Mei, JianweiX

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