From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150051.outbound.protection.outlook.com [40.107.15.51]) by dpdk.org (Postfix) with ESMTP id 5190A1B5E5 for ; Sun, 10 Feb 2019 16:11:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3mw9CsgPvTZLmNMoeAAnFA3NOWLXXzuBPZshhm9GufI=; b=dLOI6B16hgp9HWHwGS8q2Ac9xAO5cj+IjHbfZdaJz3lORNMX2xaIlivnudl58zd+TfKA0sv6TxpRnDREP6fs/AJdDwFEcDT+9uglFAi1flgiaFY3DpEg1BgzItqRYmoqZGfRg695iw6fFpZmUlcE2437xIqaK+PrTyobQyNIasE= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.47.29) by AM0PR0502MB3953.eurprd05.prod.outlook.com (52.133.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.21; Sun, 10 Feb 2019 15:11:48 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::386e:f86:50bf:31be]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::386e:f86:50bf:31be%5]) with mapi id 15.20.1601.023; Sun, 10 Feb 2019 15:11:48 +0000 From: Shahaf Shuler To: Thomas Monjalon , Matan Azrad , John McNamara , Marko Kovacevic , Yongseok Koh CC: "dev@dpdk.org" Thread-Topic: [PATCH v2] net/mlx: support firmware version query Thread-Index: AQHUvmrjL36JFd3FNE6GJoszSITGcKXZKNtQ Date: Sun, 10 Feb 2019 15:11:47 +0000 Message-ID: References: <20190206215909.30147-1-thomas@monjalon.net> <20190206222519.30829-1-thomas@monjalon.net> In-Reply-To: <20190206222519.30829-1-thomas@monjalon.net> 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=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR0502MB3953; 6:Y022iGnLAM5zFHTZNLekJnQuSpANfZ/nlFnIfSl9+HRh4tuJkSiR8zR54LEXa2TObF2JdqqWHNCKSWB68wS3Tq56h3XSlR9P2Lz86c5ZJL4gntujXeFYWAQtMRHYFfjdcb38RiH3JvJr7Gu0sN+nnbUFYQz6jYw9AQ0PiXKNgPwQTMxh1T/AxjuuRKEUV9jXb5rqvwC9ad0ej759q9BmM+yJX+7u6tt11BzBSyvSOsdy64OGblV95/Q4cZtg+3LuViLL1iT6FGycJtWnpR0Ye05WyEMw63Zt2HgAL99p1s0alJ7doSvX43PpBuQ+W2QgQRtyJb9Uaxim/vw32XH8nkZv2HmRXXmETjBuTv5I5Snm/7brzXuKqIO3hTBtj/XmTMZpiwS8tWnvdp+GJfY8eAp2NgjO5lWjaCFHvvZjjW3n9qDAinmnkMlyM8ogggh35OExypBLfth1y7PUGv5Ttw==; 5:3si08r7SgYQJrYnde4RB+uCPgKhu3hlYzEhR74pRNk7MdxwOj4rC5umSo0vg8wQrjdNAkrDKrhD+QB3o+S8D47fU5q7XCMRaXkADZorKxw70AW8WNGv3qF7uZ+06gHLwPQHjNR9pZLwETWmqAlDCcsY/yMHtQN45ccl/ScjVPtX7dtMPbahvAz47dLomnqiihUPtNUPj46ynhETItZbypw==; 7:LM3Qj2/yn91hYPDd3Eqq1hug3Zpu5k7bnwchuoFO6HzboTra76vgsC1IO8yCv0gUXSBz9xaUquZLT4Ab4qTBEu8I6QDw3VWI749QYzn1wXqSrj5S0UtYQsPW3744SzXPb8V0wu8qa5Ukti6I8xgwww== x-ms-office365-filtering-correlation-id: c677ab65-2fa7-48e5-930a-08d68f6a13c8 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR0502MB3953; x-ms-traffictypediagnostic: AM0PR0502MB3953: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-forefront-prvs: 09443CAA7E x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(376002)(136003)(366004)(39860400002)(189003)(199004)(256004)(4326008)(71190400001)(71200400001)(11346002)(476003)(486006)(446003)(6246003)(106356001)(25786009)(97736004)(102836004)(6506007)(186003)(26005)(2906002)(105586002)(33656002)(74316002)(4744005)(3846002)(6116002)(7736002)(53936002)(229853002)(305945005)(9686003)(316002)(55016002)(76176011)(14454004)(478600001)(6436002)(99286004)(7696005)(68736007)(6636002)(81156014)(81166006)(110136005)(8936002)(8676002)(66066001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3953; H:AM0PR0502MB3795.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 7wNN6UZ6vC3MpjwS1o4a2RmVTVJuIBASKKtQJLdXVhXVlgHGYoDh8guTJEasw1d5oZ5w0BXir1DA3UCNd2wgRojzMhNq8B5yXDbPA8lzSQeb/zyIr0o+KIUVW8GosEeJts0l0FTWyQAun8Ea9j0sv8SrzJ30tDJKDqbKpRtfMvx0CsHaXCqxLPFmPCMGWQXDB4FL5ucN/fQAceICVMcmTH3xfM7hIFaJxVyVz5sELnPk+PbELfIit+Wna/D1fe/zt8VEJV2F6fcBjhMdnHNNCclDHyRwFSVwfaaciRBpCCeJ4M6SiaKr4jTumrXaCHDcwbjwN0zOBqZGBuFt9E21TEN4Km+Gto3t/3wF2tJzaIp7a1b4AFhKuQAa4+t2R5Y1vmEyYDZdSro6QDl1pv0zex+CndK98dNFW7vPGdHZiyA= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: c677ab65-2fa7-48e5-930a-08d68f6a13c8 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Feb 2019 15:11:47.9410 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3953 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx: support firmware version query 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: , X-List-Received-Date: Sun, 10 Feb 2019 15:11:49 -0000 Thursday, February 7, 2019 12:25 AM, Thomas Monjalon: > Cc: dev@dpdk.org > Subject: [PATCH v2] net/mlx: support firmware version query >=20 > The API function rte_eth_dev_fw_version_get() is querying drivers via the > operation callback fw_version_get(). > The implementation of this operation is added for mlx4 and mlx5. > Both functions are copying the same ibverbs field fw_ver which is retriev= ed > when calling ibv_query_device[_ex]() during the port probing. >=20 > It is tested with command "drvinfo" of examples/ethtool/. >=20 > Signed-off-by: Thomas Monjalon Acked-by: Shahaf Shuler Applied to next-net-mlx, thanks.=20