From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 421A5A00E6 for ; Fri, 22 Mar 2019 07:30:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 086001B575; Fri, 22 Mar 2019 07:30:16 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 7D1651B56C for ; Fri, 22 Mar 2019 07:30:13 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2019 23:30:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,255,1549958400"; d="scan'208";a="330930062" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga005.fm.intel.com with ESMTP; 21 Mar 2019 23:30:08 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 21 Mar 2019 23:30:08 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 21 Mar 2019 23:30:07 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.26]) with mapi id 14.03.0415.000; Fri, 22 Mar 2019 14:30:05 +0800 From: "Zhu, ShuaiX" To: "Mei, JianweiX" , "dts@dpdk.org" CC: "Mei, JianweiX" , "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V2] test_plans/etag: add hardware informations Thread-Index: AQHU4HhoDUhSHX6pz0a+YTDpECtwUKYXMFKw Date: Fri, 22 Mar 2019 06:30:04 +0000 Message-ID: <4DC48DF9BDA3E54A836D2D3C057DEC6F0B156452@SHSMSX101.ccr.corp.intel.com> References: <1553236276-75799-1-git-send-email-jianweix.mei@intel.com> In-Reply-To: <1553236276-75799-1-git-send-email-jianweix.mei@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V2] test_plans/etag: add hardware informations X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Tested-by: Zhu, ShuaiX > -----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 > Subject: [dts] [PATCH V2] test_plans/etag: add hardware informations >=20 >=20 > modify x550 to X552/X557 and add hardware infos >=20 > Signed-off-by: Jianwei Mei > --- > test_plans/etag_test_plan.rst | 29 ++++++++++++++++++++++++----- > 1 file changed, 24 insertions(+), 5 deletions(-) >=20 > diff --git a/test_plans/etag_test_plan.rst b/test_plans/etag_test_plan.rs= t > 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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >=20 > 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 th= e > destination subsystem. >=20 > -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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > +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 > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > 1. Create 2VF devices from PF device:: >=20 > ./dpdk_nic_bind.py --st > 0000:84:00.0 'Device 1563' drv=3Digb_uio unused=3D > echo 2 > /sys/bus/pci/devices/0000\:84\:00.0/max_vfs >=20 > -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:: >=20 > /sbin/modprobe pci-stub >=20 > - using `lspci -nn|grep -i ethernet` got VF device id, for example "80= 86 > 1565":: > + using `lspci -nn|grep -i ethernet` got VF device id, for example > "8086:15ad":: >=20 > - 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