From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B8B17A046B for ; Tue, 23 Jul 2019 17:16:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AEB851C039; Tue, 23 Jul 2019 17:16:35 +0200 (CEST) Received: from mx0a-00103a01.pphosted.com (mx0a-00103a01.pphosted.com [67.231.144.234]) by dpdk.org (Postfix) with ESMTP id 64C4F1C036 for ; Tue, 23 Jul 2019 17:16:34 +0200 (CEST) Received: from pps.filterd (m0174892.ppops.net [127.0.0.1]) by mx0a-00103a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6NFBTKA009594 for ; Tue, 23 Jul 2019 11:16:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ciena.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=06252019; bh=skyH+y3u2Mfm5JSS9/5h/D8eVTL85uj2Eqr//uHqYRo=; b=LPKS3iAdaV1d1IWNwpbkVKbzd9UOo7c7jEx5q+ExUXs4wFNGy/dgGJ5F4oI1yj48CcsL jBTiiCUVo08Xdy7WsTA+qznXtpTPlrAEH9bMYiZIQSQxHyU/LwCHea/SeuS0IeC81efr rIhQaKWx0LWeCjPVqtMaNRwg0vAfhiQim46qAbogEnvGmjEf2EEIlX25311JQw6Km1G+ W6dNkQIDuds2MTK2FedGG4LUe9ntQjN88ED6HQ4oofqOuytbvWJKKi9pedvConaY6CUq Fm/wQSxyd4/51EFz5xOwRXB45L8iDyGyWsQzr5/mIjnPahPWb+WCguXtD7p17ibIT5J8 1A== Received: from nam04-sn1-obe.outbound.protection.outlook.com (mail-sn1nam04lp2051.outbound.protection.outlook.com [104.47.44.51]) by mx0a-00103a01.pphosted.com with ESMTP id 2twxhqsv7y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 23 Jul 2019 11:16:33 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ckFNmPXIHz9vYNt0fVeYol3totQmIal6/D9NmCYz2rUphLce4kb7tTPZ3UYmyyADbi10ZuR8uHO4c9qyonn8PGLaGZ2LJYU/4giyaycvvhioF5tf5NbthzYHhXGkYp+1jUAs1GsbraSKdOFbCeph2LLlI9teoYE/QhggcQZ1Cj30W0/7HEKyJsEps3kM6+DhCA95at1LlKpHBKqK9sK5sd5vpYC7lIjY6P2h7sxXtyG86P3TUXKwynrR549r2YflCZDG4H7kHMzzc/FVRhT4jFaOB3pqIdHpox62a+XjW+Koe80jAyONQRJrWas+ETLs9naiZ5WSFX+a65VyzEHBJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=skyH+y3u2Mfm5JSS9/5h/D8eVTL85uj2Eqr//uHqYRo=; b=feV2GpeCDN2R0RpAHNgrFo6QHQ3ZTEgldPKzZKQWXmjMZk/FrBbUsaxcJeuMz7/RUZ96KzA6q24bODZTPhNagYUWqg9is2EkFNR7IojW48ACjy8wEmyotBM4Fe1SV+9My8MSG9SDgZirY5lDO5lFSq8PTHYXnsMM+unXGhJt2UQ4+t6e3V0SeCcVHG3qp834dxPk/RIArI27qHaU9uSIqqJZthG1W1j5qP5lN32UFd8Ks7oBCHP+OMKMV8GGO4HY4lha1esQzHmH8EOul9KZX55rEha+E1ARHgf8riAIWNUXEhki9E8+KQ7ocoTwcQVLy+wl6KcbPvk3x4ELHiVxzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=ciena.com;dmarc=pass action=none header.from=ciena.com;dkim=pass header.d=ciena.com;arc=none Received: from MWHPR04MB0592.namprd04.prod.outlook.com (10.173.49.145) by MWHPR04MB1249.namprd04.prod.outlook.com (10.174.175.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.17; Tue, 23 Jul 2019 15:16:31 +0000 Received: from MWHPR04MB0592.namprd04.prod.outlook.com ([fe80::a45f:7fde:28e4:8519]) by MWHPR04MB0592.namprd04.prod.outlook.com ([fe80::a45f:7fde:28e4:8519%7]) with mapi id 15.20.2094.013; Tue, 23 Jul 2019 15:16:31 +0000 From: "Bly, Mike" To: "'dev@dpdk.org'" Thread-Topic: x552 transmit issue and rte_ethtool - rte_ethtool_get_regs() Thread-Index: AdU9uzs3zrbn/k/UQnKadyHNENmvigDrjaAw Date: Tue, 23 Jul 2019 15:16:31 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [165.225.50.165] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0a3cf272-6ef7-45e7-e94f-08d70f80be3e x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7167020)(7193020); SRVR:MWHPR04MB1249; x-ms-traffictypediagnostic: MWHPR04MB1249: x-ms-exchange-purlcount: 4 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0107098B6C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(4636009)(396003)(346002)(136003)(366004)(376002)(39860400002)(199004)(189003)(71190400001)(486006)(14454004)(71200400001)(21615005)(68736007)(81166006)(81156014)(8676002)(66066001)(33656002)(99286004)(6436002)(9686003)(55016002)(6116002)(6916009)(476003)(6306002)(7736002)(256004)(74316002)(3846002)(86362001)(790700001)(446003)(11346002)(236005)(316002)(53936002)(25786009)(478600001)(54896002)(966005)(186003)(66476007)(66556008)(64756008)(66446008)(8936002)(6506007)(606006)(66946007)(102836004)(52536014)(7696005)(76116006)(2906002)(76176011)(55236004)(5660300002)(26005)(9326002)(491001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR04MB1249; H:MWHPR04MB0592.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: ciena.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: iQM+3gLVjS5+INV8nFr5x9+yLCZVNd77Fx7LQqqVcyYc4FM5Gw5K6xYoZVBnbRSoHt/hBptEf9DBA3bw2Z4UWqsQfwfd+u/aq6GnvCA7fK5sf7dhIyeun0+ufkemYZh8/7TYCslOPmThPuvnsJgzb+AT3hm9kcFnLHcOPoUg/Bmgg0pMlhs+Byn/isedZncALgHAjzLE1QxtqiKIqBKt6cpSmil0itOiaeR+8v90KXWdfWVP9EGJbtHxN3n57e0xtGnJ1OlL8omLCutDui8bAqapiSHj4VQBpaVRX9LwuzeH1tuelCHheBBGia95gmcO5+5il0nBggRfkLSbxB3ZJ/JFjmDpZCjBLz9HbmWvopyKraVO8YI9LyWvs3Nq+5xnJx1YAJMLPXXEM24wNkZ7YOnaJnDT9nHI7A14+aS0TKQ= MIME-Version: 1.0 X-OriginatorOrg: ciena.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a3cf272-6ef7-45e7-e94f-08d70f80be3e X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jul 2019 15:16:31.5386 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 457a2b01-0019-42ba-a449-45f99e96b60a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mbly@ciena.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR04MB1249 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-23_06:2019-07-23,2019-07-23 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 bulkscore=0 impostorscore=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 clxscore=1015 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1904300001 definitions=main-1907230152 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] x552 transmit issue and rte_ethtool - rte_ethtool_get_regs() X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello, We are chasing an interesting NIC transmit issue where after some period of= time with normal operation the NIC enters a state where it refuses to tran= smit frames from our DPDK application via rte_eth_tx_burst(). All indicatio= ns are the port is up and otherwise operational and is still receiving traf= fic. It simply refuses to transmit anymore. Our application is running DPDK 17.05.1. In digging through the email archi= ves, this appears to be related to the following posts, as we see the same = nb_free =3D 0 and IXGBE_ADVTXD_STAT_DD not set problems they describe: http://mails.dpdk.org/archives/dev/2017-August/073240.html http://inbox.dpdk.org/dev/b704af91-dcc6-4481-a54c-3e174b744d17.h.liu@alibab= a-inc.com/ Having not seen any resolution on the above DPDK posts and after a number o= f other investigative steps, we incorporated the rte_ethtool lib to provide= the ability to dump the NIC register set via rte_ethtool_get_regs() in the= hopes that perhaps there would be something there in a status register to = point us in the right direction. The question now is what is the best way t= o check the register contents dumped to the binary output file this API cre= ates, for the x552 NIC? Does anyone know if a decoder script exists? Other ideas to pursue? Regards, Mike