From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0076.outbound.protection.outlook.com [104.47.1.76]) by dpdk.org (Postfix) with ESMTP id B4DFE11F5 for ; Fri, 9 Mar 2018 12:38:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=zkRvqJD9XBG7F+APgICfx5X7Lr+MsekWZNQjVznuclU=; b=WfFxRsSsaAcbl5zYqPHgw0VQd795bHyJWn4QgnJEkjWf4pHuwD7pfr0uYWewHARirAhDFhXFb4byy8MLi6X/fbyzL67KS0cWRHRt+2SZVLnPnGw+IlTkpBhokHmoXvz2GoBvxHvCacY1LlyjipI3tHa9rKK4/o43cACrtAoAnzA= Received: from AM2PR08MB0178.eurprd08.prod.outlook.com (10.161.130.155) by AM2PR08MB0066.eurprd08.prod.outlook.com (10.161.22.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Fri, 9 Mar 2018 11:38:47 +0000 Received: from AM2PR08MB0178.eurprd08.prod.outlook.com ([fe80::9c4e:9348:e886:dade]) by AM2PR08MB0178.eurprd08.prod.outlook.com ([fe80::9c4e:9348:e886:dade%13]) with mapi id 15.20.0548.018; Fri, 9 Mar 2018 11:38:47 +0000 From: Joyce Kong To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH 1/2] tests/vf_packet_rxtx: fix test case failures in vf_reset Thread-Index: AdO3mhJVIcWFrM9hQHKVkOJTOaUQ8A== Date: Fri, 9 Mar 2018 11:38:47 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Joyce.Kong@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM2PR08MB0066; 6:Ocx3sfB4E4ANu0Y8fynO0raNVCtCAMN4oBEuHweaA6+Ks5zZ2sgdpJV4OnzsOa5QduQ4G88wAz2QyBUY18R1mm9AZTnFY2la56TsR/pKJnlcGINIBDuqmf1pjtl5GkI9QV83RZOvqxUxKtG9Zz7rJ9QdD2cqI3IG+sPzBosK9mqFb6nVL1Ok3sbUaEctNlATVa6Twdsfi4Q0ImeiVihNrPJ95sz8XIj+m8UNpln5uTcUUbkbvOM4nx2s579wzHkz+ybCpstwM8tcUTxYCDrXfCqXcN5abn9itruVpbuu32QMSP48EWJOZJZDtfeiliVrbTwh6iHtLerkuHrPrhkeJMo/YGi+0de1bpIhGPbwKfwlSIaYaEtQfs095b2Ynnro; 5:obG6hggjgv7ednzTUiRL7bcjHKJO9n4QXeoTTOnyIeSeEsdu6D66rqjp/CswBVjujWNQ2cn4IGNfq+jS7Jce99OJ04YZM8KnZAYvyCLfCeO0+S0VN61+48fMh/RNEcAPRok0WdVr2b9Ogu9X48ZSMo2Dtr1sy13TN3gg/ySvLxE=; 24:Kq8tSTslDJrTZMI6ZuDzICnMFOslFvrexB1XOKrRhbmf9x7nU+X2GMGaaKt1i2x8qwACTyMXc1mHxZdU7A0a9W8Q/Fsw25N9mQAlVoZKSrw=; 7:esZ7NhnVa8NgXj8dXdWQF74cRhicKvzUlpaLfkdiI5v3i/lQNp4JiGe1XNHk3aqv4gC1jXDHxb89HU4uXfQMeQWh/DFlnUNGCKfMvGVpShG0/wI1FjC0CnIgsVRbPHpODJLSWlnR0K6Z3MOqsPARBMwapa5DLXRy+Jdo7AmtKeQl7mv3nWeznKQ9Of+xEoZkhkZYtcgtBMcNd4bZbW3oB5rPMziPbVlLKyciyVK89fMxG6qngqzWa+IBrauH0yBA x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 5506f3b5-3cf1-4d37-dc57-08d585b25284 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM2PR08MB0066; x-ms-traffictypediagnostic: AM2PR08MB0066: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231220)(944501244)(52105095)(6055026)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:AM2PR08MB0066; BCL:0; PCL:0; RULEID:; SRVR:AM2PR08MB0066; x-forefront-prvs: 0606BBEB39 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(396003)(39380400002)(376002)(366004)(13464003)(40434004)(189003)(199004)(3846002)(7696005)(33656002)(7736002)(102836004)(86362001)(478600001)(26005)(305945005)(55236004)(72206003)(74316002)(14454004)(8936002)(97736004)(186003)(81156014)(81166006)(316002)(110136005)(5250100002)(106356001)(229853002)(53546011)(6506007)(59450400001)(2501003)(8676002)(99286004)(5890100001)(6436002)(9686003)(105586002)(53936002)(5660300001)(66066001)(68736007)(3280700002)(2900100001)(25786009)(6116002)(2906002)(3660700001)(55016002)(6246003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR08MB0066; H:AM2PR08MB0178.eurprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: loRuA8JPYO7nkPx5rc/rUoMOKvog7RPofbejZigfSKjpklGuaD90pJCHgzZl2HFWJuUzmAgFmOcD0f1QVhoAx5EZtqopMJhB3bj2N6GgEq+VDYCEgBpipDVyjJ7E4MCr8HdGcC/kLOpDzAWWFTMawafEk3F9qvFL6BsgECxwiugZQ4UpLKtAwXK/9bXoGO9qcFrJI1nijeVVGQyrW4zQOpkA/v45NOa9f3R5kDeTgxH3wURGdFrhaM7nLENlAuEEMGnHP5BHMxwI3Mb8TheYNaTH8xFWneNZoK+n+0F5F4Ex1H7sc2X/MvYgRhUVR3fv2UFVC1WI2NaqXpiLO/0z7Q== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5506f3b5-3cf1-4d37-dc57-08d585b25284 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2018 11:38:47.6655 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR08MB0066 Subject: Re: [dts] [PATCH 1/2] tests/vf_packet_rxtx: fix test case failures in vf_reset 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: , X-List-Received-Date: Fri, 09 Mar 2018 11:38:49 -0000 Hi Marvin, DUT PF would send dhcp protocol packet to VF before tester transmission, an= d that's why we need to clear ports at the start. Best Regards=1B$B!$=1B(B Joyce -----Original Message----- From: Liu, Yong [mailto:yong.liu@intel.com] Sent: Thursday, March 8, 2018 11:37 AM To: Joyce Kong ; dts@dpdk.org Cc: Zhao, MeijuanX Subject: RE: [dts] [PATCH 1/2] tests/vf_packet_rxtx: fix test case failures= in vf_reset Hi Joyce, Could you please figure out why need to clean the counter before tester tra= nsmission? It should be no packet sent to VF before that moment. Thanks, Marvin > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Joyce Kong > Sent: Tuesday, March 06, 2018 3:47 PM > To: dts@dpdk.org > Cc: Joyce Kong > Subject: [dts] [PATCH 1/2] tests/vf_packet_rxtx: fix test case > failures in vf_reset > > Clear port stats before counting port info > > Signed-off-by: Joyce Kong > --- > tests/TestSuite_vf_packet_rxtx.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tests/TestSuite_vf_packet_rxtx.py > b/tests/TestSuite_vf_packet_rxtx.py > index 63f4820..6a29d23 100644 > --- a/tests/TestSuite_vf_packet_rxtx.py > +++ b/tests/TestSuite_vf_packet_rxtx.py > @@ -279,6 +279,7 @@ class TestVfPacketRxtx(TestCase): > rx_port =3D tx_port > > dst_mac =3D pmd0_vf0_mac > + self.vm0_testpmd.execute_cmd('clear port stats all') > self.tester.sendpkt_bg(tx_port, dst_mac) > > #vf port stop/start can trigger reset action > -- > 1.8.3.1 IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.