From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0129.outbound.protection.outlook.com [104.47.32.129]) by dpdk.org (Postfix) with ESMTP id 0747A5598 for ; Thu, 7 Dec 2017 14:18:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=keysighttech.onmicrosoft.com; s=selector1-non-keysight-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=uH99JUzYXlIlmvCk6V9DO6TyT0XRu8/tDe7FBEXD6g4=; b=TnLU0/bJBFtQnuZqqnjXTUs6297mZZAx8CVgibl1WBzS9o/q86H3ml54nDBTxNMTPVrtws4h+hYXH2g1Z2MN9EhV5f9D3Udja4syEyWMKymxv2yg6fNsimYdfHh2Wcr7Ex1PurtguEc7b8LJxmafW9SHWnwG9fVB8CiqSRx6jew= Received: from SN1PR17MB0336.namprd17.prod.outlook.com (10.163.12.24) by SN1PR17MB0334.namprd17.prod.outlook.com (10.163.12.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Thu, 7 Dec 2017 13:17:59 +0000 Received: from SN1PR17MB0336.namprd17.prod.outlook.com ([10.163.12.24]) by SN1PR17MB0336.namprd17.prod.outlook.com ([10.163.12.24]) with mapi id 15.20.0282.012; Thu, 7 Dec 2017 13:17:59 +0000 From: To: Thread-Topic: Question on using Get PHY Abilities from DPDK Application Thread-Index: AdNvXTUKYOGS5w+MRFKWd+XJXSNfng== Date: Thu, 7 Dec 2017 13:17:58 +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=mark.hamilton@non.keysight.com; x-originating-ip: [80.149.122.45] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; SN1PR17MB0334; 6:184G+pNpXRtp/IU9Q+rtRAaUxd1Yr1+ZJFkj+5FrVGqzoZhGLvy3lSpdFX16Bl+Z2OiIGhOqpTF+6ZqZnZUZ+l1O1MiFt0XQJ7QMsMo8h+4jwoS4OWjH0U0HL2dusREAPDzUh7sN55KT7kvzyf8ce0Rh+xgPc84UbulUCf8E2ntiVlNWT8PCVf4WusQJs75GFYdhCYnYdkLsTb0bZaTthijIT8D+FzZjtH0i4wfaxYV8yZPF6dWX+tM1Rhj/WLEOdnBaYkjmLye2oWtSv4eONAdt4kZyjrUIpdjczd0xdilF7GC43tPJIG9gcK+/icyyjOTvhO9wugg2iqRtdi8PDSCKvpRwfr8jKpo+AsbAYIE=; 5:0yCn2/H2P/joIW72KPYm/sz56aPsKZrO9guXjJWgCgfgUehRi9mC5f6VqWOAFXyrCpMi0tfcbo2PTnPqCwc+Cs9VIk4LNWnRXnkMLaJYKF+iuf+WFbIQDOa+3Il0Qe2uqO339yxnruzBA5Wi8klbpWCMcIWD4hAEGqp69Th/wWU=; 24:cOQ+CbxiRiUotwZCQWSJdveFQzR9bZtxnM+nW4II6D3X8VblIGi/x0zY2lk6G0RVvcgD+oDVoncf9ddzRABGrTqkSnRQe6MEpE7oAh5Q5ZU=; 7:v//GkUoRRDpAJzriwhRewY1gu1GXOMdygxvuX99ohMN6R22VO7X98vz5tgCr43YsFZq9JytS4WiKgSV/oBfnYvncURCLigTanZPXSXyLJQywdNFgEQyJDez0AxP54nGCQ28u3vhjjpSCbYNhQq41H2gzylVqbSYW3vOaxLOlrqwRduTbmPYfyWU32NKt1xjpkEu2bTiyqkwUuQoNScX0Vl8vSjqXTqpRufX58Aj7LSNM6RQa7OD11IWqWE2fan7p x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 53900daa-7a7f-46a8-7266-08d53d74efbc x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603286); SRVR:SN1PR17MB0334; x-ms-traffictypediagnostic: SN1PR17MB0334: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(3002001)(3231022)(93006095)(93001095)(10201501046)(6041248)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123564025)(6072148)(201708071742011); SRVR:SN1PR17MB0334; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:SN1PR17MB0334; x-forefront-prvs: 05143A8241 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(366004)(199004)(189003)(6506006)(42882006)(3280700002)(101416001)(33656002)(5630700001)(8676002)(7736002)(66066001)(99286004)(106356001)(14454004)(3660700001)(74316002)(2351001)(68736007)(86362001)(6916009)(5640700003)(2501003)(105586002)(7696005)(9686003)(3846002)(54896002)(6306002)(9326002)(1730700003)(55016002)(2900100001)(97736004)(81156014)(2906002)(5660300001)(81166006)(53936002)(478600001)(77096006)(6436002)(25786009)(790700001)(8936002)(316002)(6116002)(102836003); DIR:OUT; SFP:1102; SCL:1; SRVR:SN1PR17MB0334; H:SN1PR17MB0336.namprd17.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:1; LANG:en; received-spf: None (protection.outlook.com: non.keysight.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: non.keysight.com X-MS-Exchange-CrossTenant-Network-Message-Id: 53900daa-7a7f-46a8-7266-08d53d74efbc X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Dec 2017 13:17:58.9617 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 63545f27-3232-4d74-a44d-cdd457063402 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR17MB0334 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Question on using Get PHY Abilities from DPDK Application X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2017 13:18:01 -0000 Hi We are using X710 cards with finisar SFP+'s. For support purposes we would = like to be able to determine both: * the type of SFP+s inserted into the card. * optical power readings. from within a DPDK (v2.2.0-7) application running in a centos 6.8 based VM.= We thought that we could obtain this via the Get PHY abilities command and= response. However from our tests using the testpmd example we only seem to= get some of the fields populated. The response received for Each port cont= ains a single qualified module entry as you would expect. However, all octe= ts relating to both the Vendor Part # and the Vendor Rev # always seem to b= e set to 0. Does anyone know what this would be the case? Does the firmware fully suppo= rt the command ? (We've tried both the 5.05 and 6.01 NVMs). We know the SFP= s are valid, as ethtool -m works ok using the latest X710 firmware and i40e= kernel driver. Thanks Mark Hamilton Application Engineer Keysight Technologies.