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 A641FA05D3 for ; Sun, 24 Mar 2019 08:40:33 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6EBF91B7C4; Sun, 24 Mar 2019 08:40:33 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id A90A01B73E for ; Sun, 24 Mar 2019 08:40:31 +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 orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Mar 2019 00:40:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,256,1549958400"; d="scan'208";a="331483267" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga005.fm.intel.com with ESMTP; 24 Mar 2019 00:40:30 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 24 Mar 2019 00:40:29 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 24 Mar 2019 00:40:29 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.113]) with mapi id 14.03.0415.000; Sun, 24 Mar 2019 15:40:27 +0800 From: "Tu, Lijuan" To: "Mei, JianweiX" , "dts@dpdk.org" CC: "Mei, JianweiX" Thread-Topic: [dts] [PATCH V2] test_plans/etag: add hardware informations Thread-Index: AQHU4HhoC6wG572cV0Kgl5ppj6x4I6YaZ03g Date: Sun, 24 Mar 2019 07:40:26 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA4588A@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: zh-CN, 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-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTNjOGZkYzktODUyMy00NmJkLTljNmUtMjY1N2M2NWU0ZjA1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiejNadldsaVwvRG9Jekhib3dseFBYRkJIXC9xZEkwNjhtTDcyTFg0SzVRQkpjblhVdnM3RmJaRU5yeUVvT21UZkptIn0= 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" 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 > 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 "80= 86: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/unbi= nd > 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/unbi= nd > -- > 2.17.2